Decompile playerInit

This commit is contained in:
Ryan Dwyer
2022-02-10 17:21:12 +10:00
parent 5592205da4
commit a44a5356b5
5 changed files with 376 additions and 2817 deletions
+1 -1
View File
@@ -5479,7 +5479,7 @@ bool aiEnableObj(void)
struct weaponobj *weapon = (struct weaponobj *) obj;
if (weapon->weaponnum == WEAPON_EYESPY) {
currentPlayerInitEyespy();
playerInitEyespy();
}
}
}
+368 -2809
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -436,7 +436,7 @@ void lvInit(s32 stagenum)
invInitGunsHeld();
func0f010bb0();
playerLoadDefaults();
currentPlayerInit();
playerInit();
playerSpawn();
currentPlayerInitAnimation();
+4 -4
View File
@@ -62945,7 +62945,7 @@ glabel var7f1aae70
/* f088db4: 8d2a0480 */ lw $t2,0x480($t1)
/* f088db8: 15400003 */ bnez $t2,.L0f088dc8
/* f088dbc: 00000000 */ nop
/* f088dc0: 0fc0458c */ jal currentPlayerInitEyespy
/* f088dc0: 0fc0458c */ jal playerInitEyespy
/* f088dc4: 00000000 */ nop
.L0f088dc8:
/* f088dc8: 10000076 */ b .L0f088fa4
@@ -63592,7 +63592,7 @@ glabel var7f1aae70
/* f088db4: 8d2a0480 */ lw $t2,0x480($t1)
/* f088db8: 15400003 */ bnez $t2,.L0f088dc8
/* f088dbc: 00000000 */ nop
/* f088dc0: 0fc0458c */ jal currentPlayerInitEyespy
/* f088dc0: 0fc0458c */ jal playerInitEyespy
/* f088dc4: 00000000 */ nop
.L0f088dc8:
/* f088dc8: 10000076 */ b .L0f088fa4
@@ -64239,7 +64239,7 @@ glabel var7f1aae70
/* f088db4: 8d2a0480 */ lw $t2,0x480($t1)
/* f088db8: 15400003 */ bnez $t2,.L0f088dc8
/* f088dbc: 00000000 */ nop
/* f088dc0: 0fc0458c */ jal currentPlayerInitEyespy
/* f088dc0: 0fc0458c */ jal playerInitEyespy
/* f088dc4: 00000000 */ nop
.L0f088dc8:
/* f088dc8: 10000076 */ b .L0f088fa4
@@ -64607,7 +64607,7 @@ glabel var7f1aae70
// }
//
// if (weapon->weaponnum == WEAPON_EYESPY && g_Vars.currentplayer->eyespy == NULL) {
// currentPlayerInitEyespy();
// playerInitEyespy();
// }
//
// result = sp94[1];
+2 -2
View File
@@ -8,7 +8,7 @@ void func0f011110(void);
void func0f011124(bool value);
void func0f011130(s32 arg0, s32 numchrs);
bool weaponLoadProjectileModels(s32 weaponnum);
void currentPlayerInitEyespy(void);
void currentPlayerInit(void);
void playerInitEyespy(void);
void playerInit(void);
#endif