WingInfo -> ArwingInfo

This commit is contained in:
Alejandro Javier Asenjo Nitti 2024-08-15 02:05:53 -03:00
parent e291a588e5
commit 8d3d4cd2d0
7 changed files with 10 additions and 10 deletions

View File

@ -86,7 +86,7 @@ void ActorCutscene_Draw(Actor*);
void Cutscene_DrawGreatFox(void); void Cutscene_DrawGreatFox(void);
// fox_display // fox_display
void Display_ArwingWings(WingInfo*); void Display_ArwingWings(ArwingInfo*);
void Display_DrawEngineGlow(s32); void Display_DrawEngineGlow(s32);
void Display_SetupPlayerSfxPos(Player*); void Display_SetupPlayerSfxPos(Player*);
void Display_Update(void); void Display_Update(void);

View File

@ -127,7 +127,7 @@ typedef struct PlayerShot {
/* 0x6C */ u8 bonus; /* 0x6C */ u8 bonus;
} PlayerShot; // size = 0x70 } PlayerShot; // size = 0x70
typedef struct WingInfo { // ArwingInfo typedef struct ArwingInfo { // ArArwingInfo
/* 0x00 */ u8 rightState; // rightWingState /* 0x00 */ u8 rightState; // rightWingState
/* 0x01 */ u8 leftState; // leftWingState /* 0x01 */ u8 leftState; // leftWingState
/* 0x04 */ f32 unk_04; // upperRightFlapYrot /* 0x04 */ f32 unk_04; // upperRightFlapYrot
@ -144,7 +144,7 @@ typedef struct WingInfo { // ArwingInfo
/* 0x30 */ f32 unk_30; // teamFaceXrot /* 0x30 */ f32 unk_30; // teamFaceXrot
/* 0x34 */ f32 unk_34; // teamFaceYrot /* 0x34 */ f32 unk_34; // teamFaceYrot
/* 0x38 */ f32 unk_38; // windshieldXrot /* 0x38 */ f32 unk_38; // windshieldXrot
} WingInfo; // size = 0x3C } ArwingInfo; // size = 0x3C
typedef struct PlayerSfx { typedef struct PlayerSfx {
/* 0x00 */ u8 levelType; /* 0x00 */ u8 levelType;
@ -316,7 +316,7 @@ typedef struct Player {
/* 0x46C */ f32 sfxVel[3]; /* 0x46C */ f32 sfxVel[3];
/* 0x478 */ PlayerSfx sfx; /* 0x478 */ PlayerSfx sfx;
/* 0x498 */ s32 mercyTimer; /* 0x498 */ s32 mercyTimer;
/* 0x49C */ WingInfo wings; /* 0x49C */ ArwingInfo wings;
/* 0x4D8 */ f32 aerobaticPitch; /* 0x4D8 */ f32 aerobaticPitch;
/* 0x4DC */ bool somersault; /* 0x4DC */ bool somersault;
} Player; // size = 0x4E0 } Player; // size = 0x4E0

View File

@ -450,7 +450,7 @@ void Display_SetCullingMode(void) {
} }
bool Display_ArwingWingsOverrideLimbDraw(s32 limbIndex, Gfx** gfxPtr, Vec3f* pos, Vec3f* rot, void* wingData) { bool Display_ArwingWingsOverrideLimbDraw(s32 limbIndex, Gfx** gfxPtr, Vec3f* pos, Vec3f* rot, void* wingData) {
WingInfo* wings = (WingInfo*) wingData; ArwingInfo* wings = (ArwingInfo*) wingData;
if (D_display_800CA22C && (gPlayer[0].dmgEffect == 0)) { if (D_display_800CA22C && (gPlayer[0].dmgEffect == 0)) {
RCP_SetupDL(&gMasterDisp, SETUPDL_29); RCP_SetupDL(&gMasterDisp, SETUPDL_29);
@ -558,7 +558,7 @@ bool Display_ArwingWingsOverrideLimbDraw(s32 limbIndex, Gfx** gfxPtr, Vec3f* pos
return false; return false;
} }
void Display_ArwingWings(WingInfo* wings) { void Display_ArwingWings(ArwingInfo* wings) {
Vec3f sp68[30]; Vec3f sp68[30];
s32 modelId; s32 modelId;

View File

@ -26,7 +26,7 @@ Vec3f D_edisplay_801615D0;
Vec3f sViewPos; Vec3f sViewPos;
bool sDrewActor; bool sDrewActor;
Matrix D_edisplay_801615F0; Matrix D_edisplay_801615F0;
WingInfo D_edisplay_80161630; ArwingInfo D_edisplay_80161630;
char D_edisplay_800CF970[] = "$Id: fox_edisplay.c,v 1.196 1997/05/08 08:31:50 morita Exp $"; char D_edisplay_800CF970[] = "$Id: fox_edisplay.c,v 1.196 1997/05/08 08:31:50 morita Exp $";

View File

@ -3,7 +3,7 @@
#include "assets/ast_ending_expert.h" #include "assets/ast_ending_expert.h"
#include "assets/ast_allies.h" #include "assets/ast_allies.h"
WingInfo D_ending_80198590; ArwingInfo D_ending_80198590;
Vec3f D_ending_801985D0; Vec3f D_ending_801985D0;
Vec3f D_ending_801985E0; Vec3f D_ending_801985E0;
Vec3f D_ending_801985F0; Vec3f D_ending_801985F0;

View File

@ -2215,7 +2215,7 @@ void Map_801A0D14(void) {
void Map_801A116C(void) { void Map_801A116C(void) {
static f32 D_menu_801B6970 = 35.0f; static f32 D_menu_801B6970 = 35.0f;
WingInfo wings; ArwingInfo wings;
Vec3f dest; Vec3f dest;
Vec3f src; Vec3f src;
s32 colR = 30, colG = 9, colB = 5; s32 colR = 30, colG = 9, colB = 5;

View File

@ -2232,7 +2232,7 @@ void Title_8018CD9C(CameraPoint* pos, CameraPoint* arg1, f32 weight, s32 arg3) {
} }
void Title_8018D2B8(s32 arg0) { void Title_8018D2B8(s32 arg0) {
WingInfo wings; ArwingInfo wings;
Lights_SetOneLight(&gMasterDisp, D_menu_801B82E0, D_menu_801B82E4, D_menu_801B82E8, gLight1R, gLight1G, gLight1B, Lights_SetOneLight(&gMasterDisp, D_menu_801B82E0, D_menu_801B82E4, D_menu_801B82E8, gLight1R, gLight1G, gLight1B,
gAmbientR, gAmbientG, gAmbientB); gAmbientR, gAmbientG, gAmbientB);