mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-09-03 18:03:34 -04:00
Decompile playerInit
This commit is contained in:
@@ -5479,7 +5479,7 @@ bool aiEnableObj(void)
|
||||
struct weaponobj *weapon = (struct weaponobj *) obj;
|
||||
|
||||
if (weapon->weaponnum == WEAPON_EYESPY) {
|
||||
currentPlayerInitEyespy();
|
||||
playerInitEyespy();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+368
-2809
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -436,7 +436,7 @@ void lvInit(s32 stagenum)
|
||||
invInitGunsHeld();
|
||||
func0f010bb0();
|
||||
playerLoadDefaults();
|
||||
currentPlayerInit();
|
||||
playerInit();
|
||||
playerSpawn();
|
||||
currentPlayerInitAnimation();
|
||||
|
||||
|
||||
+4
-4
@@ -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];
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user