mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-07-27 22:59:11 -04:00
Decompile currentPlayerUpdateHead
This commit is contained in:
@@ -37,7 +37,7 @@ extern struct filelist *g_FileLists[4];
|
||||
extern bool var80075bd0[4];
|
||||
extern u32 var80075be0;
|
||||
extern struct var80075c00 var80075c00[];
|
||||
extern u32 var80075c30;
|
||||
extern struct coord var80075c30;
|
||||
extern u32 var80075c3c;
|
||||
extern u32 var80075c48;
|
||||
extern u32 var80075c54;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include <ultra64.h>
|
||||
#include "types.h"
|
||||
|
||||
u32 func0f096b20(void);
|
||||
void func0f096b20(struct coord *arg0, struct coord *arg1, f32 standfrac, struct coord *vel);
|
||||
u32 func0f096b70(void);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -8,7 +8,7 @@ void currentPlayerUpdateIdleHeadRoll(void);
|
||||
void currentPlayerUpdateHeadPos(struct coord *vel);
|
||||
void currentPlayerUpdateHeadRot(struct coord *lookvel, struct coord *upvel);
|
||||
void currentPlayerSetHeadDamp(f32 headdamp);
|
||||
void func0f1138a4(f32 arg0, f32 arg1);
|
||||
void currentPlayerUpdateHead(f32 arg0, f32 arg1);
|
||||
void currentPlayerAdjustHeadAnimation(f32 speed);
|
||||
void currentPlayerStartDeathAnimation(s16 animnum, u32 flip, f32 fstarttime, f32 speed);
|
||||
void currentPlayerSetAnimSpeed(f32 speed);
|
||||
|
||||
@@ -73,8 +73,8 @@ void modelSetAnimPlaySpeed(struct model *model, f32 speed, f32 frame);
|
||||
void modelSetAnim70(struct model *model, void *callback);
|
||||
u32 func0001e018(void);
|
||||
u32 func0001e14c(void);
|
||||
u32 func0001e29c(void);
|
||||
u32 func0001e2a8(void);
|
||||
void func0001e29c(bool arg0);
|
||||
bool func0001e2a8(void);
|
||||
u32 func0001e2b4(void);
|
||||
void func0001ee18(struct model *model, s32 lvupdate240, bool arg2);
|
||||
u32 func0001f314(void);
|
||||
|
||||
@@ -7,7 +7,7 @@ void func000233c0(void);
|
||||
u32 func00023640(void);
|
||||
void func0002373c(void);
|
||||
s32 animGetNumFrames(s16 anim_id);
|
||||
u32 func00023794(void);
|
||||
bool func00023794(s16 animnum);
|
||||
u32 func000237dc(void);
|
||||
u32 func000237e8(void);
|
||||
s32 func0002384c(s32 animnum, s32 frame);
|
||||
|
||||
+14
-28
@@ -280,17 +280,18 @@ struct model0c { // matrix
|
||||
/*0x04*/ u32 unk04;
|
||||
/*0x08*/ u32 unk08;
|
||||
/*0x0c*/ u32 unk0c;
|
||||
/*0x10*/ u32 unk10;
|
||||
/*0x14*/ u32 unk14;
|
||||
/*0x18*/ u32 unk18;
|
||||
/*0x10*/ f32 unk10;
|
||||
/*0x14*/ f32 unk14;
|
||||
/*0x18*/ f32 unk18;
|
||||
/*0x1c*/ u32 unk1c;
|
||||
/*0x20*/ u32 unk20;
|
||||
/*0x24*/ u32 unk24;
|
||||
/*0x28*/ u32 unk28;
|
||||
/*0x20*/ f32 unk20;
|
||||
/*0x24*/ f32 unk24;
|
||||
/*0x28*/ f32 unk28;
|
||||
/*0x2c*/ u32 unk2c;
|
||||
/*0x30*/ u32 unk30;
|
||||
/*0x34*/ u32 unk34;
|
||||
/*0x30*/ f32 unk30;
|
||||
/*0x34*/ f32 unk34;
|
||||
/*0x38*/ f32 unk38;
|
||||
/*0x3c*/ u32 unk3c;
|
||||
};
|
||||
|
||||
struct model {
|
||||
@@ -2364,12 +2365,12 @@ struct player {
|
||||
/*0x036c*/ struct playerbond bond2;
|
||||
/*0x03a0*/ bool resetheadpos;
|
||||
/*0x03a4*/ bool resetheadrot;
|
||||
/*0x03a8*/ u32 unk03a8;
|
||||
/*0x03a8*/ bool unk03a8;
|
||||
/*0x03ac*/ s32 headanim;
|
||||
/*0x03b0*/ f32 headdamp;
|
||||
/*0x03b4*/ u32 unk03b4;
|
||||
/*0x03b8*/ u32 unk03b8;
|
||||
/*0x03bc*/ u32 unk03bc;
|
||||
/*0x03b4*/ s32 headwalkingtime60;
|
||||
/*0x03b8*/ f32 headamplitude;
|
||||
/*0x03bc*/ f32 sideamplitude;
|
||||
/*0x03c0*/ struct coord headpos;
|
||||
/*0x03cc*/ struct coord headlook;
|
||||
/*0x03d8*/ struct coord headup;
|
||||
@@ -2420,22 +2421,7 @@ struct player {
|
||||
/*0x0504*/ u32 unk0504;
|
||||
/*0x0508*/ u32 unk0508;
|
||||
/*0x050c*/ u32 unk050c;
|
||||
/*0x0510*/ u32 unk0510;
|
||||
/*0x0514*/ u32 unk0514;
|
||||
/*0x0518*/ u32 unk0518;
|
||||
/*0x051c*/ u32 unk051c;
|
||||
/*0x0520*/ u32 unk0520;
|
||||
/*0x0524*/ u32 unk0524;
|
||||
/*0x0528*/ u32 unk0528;
|
||||
/*0x052c*/ u32 unk052c;
|
||||
/*0x0530*/ u32 unk0530;
|
||||
/*0x0534*/ u32 unk0534;
|
||||
/*0x0538*/ u32 unk0538;
|
||||
/*0x053c*/ u32 unk053c;
|
||||
/*0x0540*/ u32 unk0540;
|
||||
/*0x0544*/ u32 unk0544;
|
||||
/*0x0548*/ u32 unk0548;
|
||||
/*0x054c*/ u32 unk054c;
|
||||
/*0x0510*/ struct model0c unk0510;
|
||||
/*0x0550*/ u32 unk0550;
|
||||
/*0x0554*/ u32 unk0554;
|
||||
/*0x0558*/ u32 unk0558;
|
||||
|
||||
Reference in New Issue
Block a user