mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-08-01 08:07:35 -04:00
Attempt to decompile scenarioPacCallback10
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
#define PLAYERCOUNT() ((g_Vars.players[0] ? 1 : 0) + (g_Vars.players[1] ? 1 : 0) + (g_Vars.players[2] ? 1 : 0) + (g_Vars.players[3] ? 1 : 0))
|
||||
#define PLAYERCOUNT3012() ((g_Vars.players[3] ? 1 : 0) + (g_Vars.players[0] ? 1 : 0) + (g_Vars.players[1] ? 1 : 0) + (g_Vars.players[2] ? 1 : 0))
|
||||
|
||||
#define SECSTOFRAMES240(secs) (secs * 240)
|
||||
|
||||
// These actions are assigned to chr->actiontype
|
||||
#define ACT_INIT 0
|
||||
#define ACT_STAND 1
|
||||
|
||||
@@ -135,7 +135,7 @@ void scenarioPacChooseVictims(void);
|
||||
void scenarioPacInit(void);
|
||||
void scenarioPacReset(void);
|
||||
u32 scenarioPacCallback28(void);
|
||||
u32 func0f1845bc(void);
|
||||
void func0f1845bc(void);
|
||||
u32 func0f1847b8(void);
|
||||
void scenarioPacCallback10(void);
|
||||
u32 scenarioPacCallback18(void);
|
||||
@@ -162,7 +162,7 @@ u32 func0f18620c(void);
|
||||
s32 scenarioCallback30(void);
|
||||
void scenarioCallback38(s16 arg0, s32 *arg1, s32 *arg2, s32 *arg3);
|
||||
u32 func0f186508(void);
|
||||
u32 func0f1866b8(void);
|
||||
void func0f1866b8(s32 playernum, char *message);
|
||||
u32 func0f186780(void);
|
||||
u32 func0f186898(void);
|
||||
u32 func0f187288(void);
|
||||
|
||||
+3
-3
@@ -4459,11 +4459,11 @@ struct scenariodata_htm {
|
||||
|
||||
struct scenariodata_pac {
|
||||
s16 unk00;
|
||||
s16 unk02;
|
||||
s32 unk04;
|
||||
u16 age240;
|
||||
s32 victimindex;
|
||||
s16 victims[12]; // shuffled list of player numbers
|
||||
s16 unk20[12];
|
||||
s16 unk34[12];
|
||||
s16 wincounts[12]; // indexed by player num
|
||||
};
|
||||
|
||||
struct scenariodata_koh {
|
||||
|
||||
Reference in New Issue
Block a user