mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-09-12 20:16:02 -04:00
Attempt to decompile frExecuteTargetScript
This commit is contained in:
@@ -581,6 +581,10 @@
|
||||
#define FLOORTYPE_DIRT 7
|
||||
#define FLOORTYPE_SNOW 8
|
||||
|
||||
#define FRCMD_0C 0x0c
|
||||
#define FRCMD_RESTART 0x0d
|
||||
#define FRCMD_0E 0x0e
|
||||
#define FRCMD_ROTATE 0x0f
|
||||
#define FRCMD_HUDMSG 0x10
|
||||
#define FRCMD_WAITUNTILSHOOT 0x11
|
||||
#define FRCMD_WAITSECONDS 0x12
|
||||
|
||||
@@ -30,14 +30,14 @@ void frSetDifficulty(s32 difficulty);
|
||||
u32 frGetDifficulty(void);
|
||||
void func0f19d5f4(void);
|
||||
struct frdata *getFiringRangeData(void);
|
||||
u32 func0f19d7d8(u32 arg0);
|
||||
u32 frResolveFrPad(u32 arg0);
|
||||
bool frIsDifficulty(u32 difficulties);
|
||||
void func0f19d90c(u32 weaponindex);
|
||||
void func0f19de24(void);
|
||||
bool func0f19def4(s32 index);
|
||||
bool frTargetIsAtScriptStart(s32 targetnum);
|
||||
char *frGetInstructionalText(u32 index);
|
||||
void func0f19df58(void);
|
||||
void func0f19e090(s32 frtargetnum);
|
||||
void frExecuteMainScript(void);
|
||||
bool frExecuteTargetScript(s32 targetnum);
|
||||
void frHideAllTargets(void);
|
||||
void frInitTargets(void);
|
||||
void frCloseAndLockDoor(void);
|
||||
|
||||
+4
-3
@@ -5298,13 +5298,14 @@ struct frtarget {
|
||||
/*0x00*/ u8 unk00_06 : 1;
|
||||
/*0x00*/ u8 frpadindex : 2;
|
||||
/*0x01*/ u8 unk01;
|
||||
/*0x02*/ u8 unk02;
|
||||
/*0x04*/ struct prop *prop;
|
||||
/*0x08*/ struct coord unk08;
|
||||
/*0x14*/ u32 unk14;
|
||||
/*0x14*/ s32 unk14; // scriptsleep?
|
||||
/*0x18*/ u32 unk18;
|
||||
/*0x1c*/ f32 unk1c;
|
||||
/*0x20*/ u8 damage;
|
||||
/*0x21*/ u8 unk21;
|
||||
/*0x21*/ u8 scriptoffset;
|
||||
/*0x24*/ f32 unk24;
|
||||
/*0x28*/ f32 angle;
|
||||
/*0x2c*/ f32 unk2c;
|
||||
@@ -5312,7 +5313,7 @@ struct frtarget {
|
||||
/*0x31*/ u8 unk31;
|
||||
/*0x32*/ u8 unk32;
|
||||
/*0x33*/ u8 unk33;
|
||||
/*0x34*/ s8 unk34;
|
||||
/*0x34*/ s8 frpadnum;
|
||||
/*0x38*/ s32 unk38;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user