Decompile currentPlayerTickExplode

This commit is contained in:
Ryan Dwyer
2020-12-21 22:06:19 +10:00
parent 776df89329
commit 448f3ce82d
4 changed files with 33 additions and 201 deletions
+1
View File
@@ -610,6 +610,7 @@
#define EXPLOSIONTYPE_8 8
#define EXPLOSIONTYPE_12 12
#define EXPLOSIONTYPE_14 14
#define EXPLOSIONTYPE_18 18
#define EXPLOSIONTYPE_23 23
#define EXPLOSIONTYPE_25 25
+1 -1
View File
@@ -46,7 +46,7 @@ void func0f0bb814(void);
u32 func0f0bbf14(void);
Gfx *hudRenderHealthBar(Gfx *gdl);
void currentPlayerSurroundWithExplosions(s32 arg0);
void func0f0bc120(void);
void currentPlayerTickExplode(void);
void func0f0bc3f0(void);
s16 func0f0bc44c(void);
s16 func0f0bc478(void);
+3 -3
View File
@@ -2763,9 +2763,9 @@ struct player {
/*0x1be4*/ u16 lookaheadframe;
/*0x1be6*/ u8 numaibuddies;
/*0x1be7*/ u8 aibuddynums[MAX_SIMULANTS];
/*0x1bf0*/ u32 bondexploding;
/*0x1bf4*/ u32 bondnextexplode;
/*0x1bf8*/ u32 bondcurexplode;
/*0x1bf0*/ bool bondexploding;
/*0x1bf4*/ s32 bondnextexplode; // lvframe60 of next explosion
/*0x1bf8*/ s32 bondcurexplode; // Increases by 1 on each tick even when not exploding
/*0x1bfc*/ u8 teleportstate;
/*0x1bfd*/ u8 teleporttime;
/*0x1bfe*/ s16 teleportpad;