Attempt to decompile scenarioPacCallback10

This commit is contained in:
Ryan Dwyer
2020-01-09 23:40:44 +10:00
parent 6653f8ffe4
commit 7bdacca556
4 changed files with 27 additions and 5 deletions
+2
View File
@@ -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
+2 -2
View File
@@ -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
View File
@@ -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 {