mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-08-03 16:42:16 -04:00
Attempt to decompile func0f048398
This commit is contained in:
@@ -2375,8 +2375,7 @@
|
||||
/**
|
||||
* Compares the current chr's chrpreset's team with our own.
|
||||
*
|
||||
* checktype 1 = if friendly
|
||||
* checktype 2 = if enemies
|
||||
* Checktype is expected to be COMPARE_FRIENDS or COMPARE_ENEMIES.
|
||||
*/
|
||||
#define if_compare_chrpresets_team(checktype, label) \
|
||||
mkshort(0x010c), \
|
||||
|
||||
@@ -436,6 +436,7 @@
|
||||
// chr->hidden2
|
||||
#define CHRH2FLAG_0001 0x0001
|
||||
#define CHRH2FLAG_0002 0x0002 // Equivalent to OBJFLAG3_00020000
|
||||
#define CHRH2FLAG_0010 0x0010
|
||||
#define CHRH2FLAG_0040 0x0040
|
||||
#define CHRH2FLAG_0080 0x0080
|
||||
#define CHRH2FLAG_HEADSHOTTED 0x1000
|
||||
@@ -498,6 +499,9 @@
|
||||
#define COLOR_08_RED 0x08
|
||||
#define COLOR_09_BLUE 0x09
|
||||
|
||||
#define COMPARE_FRIENDS 1
|
||||
#define COMPARE_ENEMIES 2
|
||||
|
||||
// Control styles - 1.1, 1.2 etc
|
||||
#define CONTROLMODE_11 0
|
||||
#define CONTROLMODE_12 1
|
||||
|
||||
@@ -168,7 +168,7 @@ bool chrStartSkJump(struct chrdata *chr, u8 arg1, u8 arg2, s32 arg3, u8 arg4);
|
||||
void chrTickSkJump(struct chrdata *chr);
|
||||
void chrTick(struct chrdata *chr);
|
||||
void func0f0482cc(u32 ailistid);
|
||||
u32 func0f048398(void);
|
||||
void func0f048398(void);
|
||||
f32 chrGetAngleToPos(struct chrdata *chr, struct coord *pos);
|
||||
u32 func0f048b78(void);
|
||||
f32 func0f048cc0(struct chrdata *chr);
|
||||
|
||||
Reference in New Issue
Block a user