Remove assets.h from global.h, some other header adjustments (#174)

* splits

* torch

* torch again

* headers

* merges

* format
This commit is contained in:
petrie911
2024-03-21 15:19:38 -05:00
committed by GitHub
parent df268e3bad
commit 4a572e7e30
65 changed files with 594 additions and 685 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
#include "global.h"
#include "PR/ultratypes.h"
#include "PR/gbi.h"
#include "PR/gu.h"
+1 -1
View File
@@ -1,4 +1,4 @@
#include "global.h"
#include "PR/ultratypes.h"
#include "PR/gu.h"
void guOrthoF(float mf[4][4], float l, float r, float b, float t, float n, float f, float scale) {
+2 -1
View File
@@ -1,4 +1,5 @@
#include "global.h"
#include "PR/ultratypes.h"
#include "libc/math.h"
f32 guSqrtf(f32 value) {
return sqrtf(value);
+1 -1
View File
@@ -1,4 +1,4 @@
#include "global.h"
#include "libc/stdbool.h"
#include "PR/rcp.h"
s32 __osAiDeviceBusy(void) {
+1 -1
View File
@@ -1,4 +1,4 @@
#include "global.h"
#include "PR/rcp.h"
u32 osAiGetLength() {
return IO_READ(AI_LEN_REG);
+1 -1
View File
@@ -1,4 +1,4 @@
#include "global.h"
#include "PR/rcp.h"
extern s32 osViClock;
-1
View File
@@ -1,4 +1,3 @@
#include "global.h"
#include "PR/controller.h"
#include "siint.h"
+1 -1
View File
@@ -1,4 +1,4 @@
#include "global.h"
#include "PR/controller.h"
#include "siint.h"
OSPifRam _MotorStopData[MAXCONTROLLERS] ALIGNED(8);
-1
View File
@@ -1,4 +1,3 @@
#include "global.h"
#include "piint.h"
s32 osPiStartDma(OSIoMesg* mb, s32 pri, s32 rw, u32 devAddr, void* dramAddr, u32 size, OSMesgQueue* piHandle) {
+1 -1
View File
@@ -1,4 +1,4 @@
#include "global.h"
#include "macros.h"
#include "piint.h"
#include "PR/rdb.h"
-1
View File
@@ -1,4 +1,3 @@
#include "global.h"
#include "libc/stdlib.h"
lldiv_t lldiv(long long numer, long long denom) {
+1 -1
View File
@@ -1,4 +1,4 @@
#include "global.h"
#include "PR/ultratypes.h"
void* memcpy(void* s1, const void* s2, size_t n) {
unsigned char* su1 = (unsigned char*) s1;
+1 -1
View File
@@ -1,4 +1,4 @@
#include "global.h"
#include "PR/xstdio.h"
#include "libc/string.h"
#include "libc/stdlib.h"
-1
View File
@@ -1,4 +1,3 @@
#include "global.h"
#include "osint.h"
void osStopThread(OSThread* t) {
+2 -1
View File
@@ -1,5 +1,6 @@
#include "prevent_bss_reordering.h"
#include "global.h"
#include "assets.h"
#include "assets/ast_star_wolf.h"
#include "assets/ast_allies.h"
#include "assets/ast_vs_player.h"
@@ -2279,7 +2280,7 @@ void func_80035448(Actor* actor) {
Matrix_Translate(gGfxMatrix, 0.0f, 0.0f, -60.0f, 1);
func_8005B1E8(actor, 3);
} else {
gSPDisplayList(gMasterDisp++, D_40068F0);
gSPDisplayList(gMasterDisp++, D_ENMY_PLANET_40068F0);
Matrix_Translate(gGfxMatrix, 0.0f, 0.0f, -60.0f, 1);
func_8005B1E8(actor, 2);
}
+3 -1
View File
@@ -1,5 +1,6 @@
#include "global.h"
#include "prevent_bss_reordering.h"
#include "assets.h"
// #include "prevent_bss_reordering.h"
extern f32 D_i3_801C4188;
@@ -23,6 +24,7 @@ f32 D_80161394; // can be static
#include "assets/ast_aquas.h"
#include "assets/ast_andross.h"
#include "assets/ast_warp_zone.h"
#include "assets/ast_area_6.h"
f32 D_800C9C30 = 0.0f;
u16 D_800C9C34 = 1;
+4 -3
View File
@@ -5,14 +5,15 @@
*/
#include "global.h"
#include "assets.h"
#include "assets/ast_sector_x.h"
#include "assets/ast_aquas.h"
#include "assets/ast_great_fox.h"
#include "assets/ast_enmy_space.h"
#include "assets/ast_enmy_planet.h"
#include "assets/ast_ending.h"
extern Gfx D_60320E0[];
extern Gfx D_7010970[];
extern s32 D_800C9E90[];
@@ -2561,7 +2562,7 @@ void func_8004FEC0(Actor* actor) {
case 1000:
RCP_SetupDL(&gMasterDisp, 0x2D);
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 255, 255, actor->unk_046);
gSPDisplayList(gMasterDisp++, D_40018A0);
gSPDisplayList(gMasterDisp++, D_ENMY_PLANET_40018A0);
if (actor->unk_046 >= 0x33) {
func_8005ADAC(actor);
@@ -2932,7 +2933,7 @@ void func_800515C4(void) {
if (gGameState == GSTATE_TITLE) {
var_fp = D_60320E0;
} else if (gGameState == GSTATE_CREDITS) {
var_fp = D_7010970;
var_fp = D_END_7010970;
} else {
var_fp = D_1024AC0;
}
+1
View File
@@ -1,5 +1,6 @@
#include "prevent_bss_reordering.h"
#include "global.h"
#include "assets.h"
s16 D_80161410;
Vec3f D_801613B0[4];
+1
View File
@@ -1,4 +1,5 @@
#include "global.h"
#include "assets.h"
#include "fox_edata_1C.c"
+2
View File
@@ -1,4 +1,5 @@
#include "global.h"
#include "assets.h"
#include "assets/ast_vs_player.h"
#include "assets/ast_arwing.h"
@@ -8,6 +9,7 @@
#include "assets/ast_7_ti_1.h"
#include "assets/ast_andross.h"
#include "assets/ast_ve1_boss.h"
#include "assets/ast_area_6.h"
f32 D_800CBE70[] = {
1.0f, 0.0f, 50.0f, 0.0f, 25.0f, 0.0f, 25.0f,
+5 -4
View File
@@ -1,6 +1,7 @@
#include "global.h"
#include "prevent_bss_reordering.h"
#include "assets.h"
// #include "prevent_bss_reordering.h"
Vec3f D_801615D0;
Vec3f D_801615E0;
s32 D_801615EC;
@@ -309,7 +310,7 @@ void func_8005A094(Actor* actor) {
gSPDisplayList(gMasterDisp++, D_800CFB28[actor->unk_048]);
break;
case 45:
gSPDisplayList(gMasterDisp++, D_40018A0);
gSPDisplayList(gMasterDisp++, D_ENMY_PLANET_40018A0);
break;
case 46:
if ((actor->unk_048 == 2) || (actor->unk_048 == 3) || (actor->unk_048 == 4)) {
@@ -535,7 +536,7 @@ void func_8005B388(Actor* actor) {
}
func_80053658(&D_80161630);
} else if (gLevelType == LEVELTYPE_PLANET) {
gSPDisplayList(gMasterDisp++, D_40018A0);
gSPDisplayList(gMasterDisp++, D_ENMY_PLANET_40018A0);
} else if (gPlayer[0].unk_204 == 2) {
gSPDisplayList(gMasterDisp++, D_ENMY_SPACE_4003BD0);
} else {
@@ -573,7 +574,7 @@ void func_8005B848(Actor* actor) {
if (gCurrentLevel == LEVEL_AREA_6) {
gSPDisplayList(gMasterDisp++, D_ENMY_SPACE_400B390);
} else {
gSPDisplayList(gMasterDisp++, D_4007AF0);
gSPDisplayList(gMasterDisp++, D_ENMY_PLANET_4007AF0);
}
break;
}
+4 -5
View File
@@ -1,5 +1,5 @@
#include "global.h"
#include "hud.h"
#include "assets.h"
// rodata
const char D_800D7230[] = "Enm->wrk3=<%d>\n";
@@ -12,8 +12,6 @@ extern Gfx D_6003580[];
extern Gfx D_6003620[];
extern Gfx D_60036C0[];
extern Gfx D_6004900[];
extern Gfx D_A6_6012550[];
extern u16 D_A6_6012840[];
extern Gfx D_6016880[];
extern Gfx D_6018AF0[];
extern Gfx D_601BAD0[];
@@ -25,6 +23,7 @@ extern Gfx D_601BAD0[];
#include "assets/ast_training.h"
#include "assets/ast_sector_x.h"
#include "assets/ast_aquas.h"
#include "assets/ast_area_6.h"
#include "assets/ast_A_ti.h"
#include "assets/ast_ve1_boss.h"
#include "assets/ast_enmy_planet.h"
@@ -2229,7 +2228,7 @@ void func_8007DED4(Effect* effect) {
case 0:
Graphics_SetScaleMtx(effect->scale2);
RCP_SetupDL_60(gFogRed, gFogGreen, gFogBlue, gFogAlpha, gFogNear, gFogFar);
gSPDisplayList(gMasterDisp++, D_4008CE0);
gSPDisplayList(gMasterDisp++, D_ENMY_PLANET_4008CE0);
RCP_SetupDL(&gMasterDisp, 0x40);
break;
@@ -2238,7 +2237,7 @@ void func_8007DED4(Effect* effect) {
Matrix_SetGfxMtx(&gMasterDisp);
RCP_SetupDL_40();
gSPClearGeometryMode(gMasterDisp++, G_CULL_BACK);
gSPDisplayList(gMasterDisp++, D_4008F70);
gSPDisplayList(gMasterDisp++, D_ENMY_PLANET_4008F70);
RCP_SetupDL(&gMasterDisp, 0x40);
break;
}
+1
View File
@@ -1,5 +1,6 @@
#include "prevent_bss_reordering.h"
#include "global.h"
#include "assets.h"
#include "assets/ast_sector_x.h"
#include "assets/ast_aquas.h"
#include "assets/ast_andross.h"
+14 -13
View File
@@ -1,4 +1,5 @@
#include "global.h"
#include "assets.h"
s32 D_800CFF80[4] = { 0, 0, 0, 0 };
s32 D_800CFF90 = 0;
@@ -863,15 +864,15 @@ void func_8006D350(Object_80* obj80) {
}
UnkStruct_D003C D_800D003C[108] = {
{ D_40068F0, D_800CBE8C, 1.0f, 100.0f, 3000.0f, 1, 0, 1, 0, 1.0f, 1 },
{ D_4006E90, D_800CBE8C, 1.0f, 100.0f, 3000.0f, 1, 0, 1, 0, 1.0f, 1 },
{ D_ENMY_PLANET_40068F0, D_800CBE8C, 1.0f, 100.0f, 3000.0f, 1, 0, 1, 0, 1.0f, 1 },
{ D_ENMY_PLANET_4006E90, D_800CBE8C, 1.0f, 100.0f, 3000.0f, 1, 0, 1, 0, 1.0f, 1 },
{ NULL, D_800CBE8C, 1.0f, 20000.0f, 3000.0f, 1, 0, 2, 0, 0.0f, 0 },
{ D_4009800, D_800CBE8C, 1.5f, 100.0f, 3000.0f, 1, 0, 0, 0, 1.0f, 1 },
{ D_40073C0, D_800CBE8C, 1.0f, 100.0f, 3000.0f, 1, 0, 1, 0, 1.0f, 1 },
{ D_4007AF0, D_800CBE8C, 1.0f, 100.0f, 3000.0f, 1, 0, 1, 0, 1.0f, 1 },
{ D_ENMY_PLANET_4009800, D_800CBE8C, 1.5f, 100.0f, 3000.0f, 1, 0, 0, 0, 1.0f, 1 },
{ D_ENMY_PLANET_40073C0, D_800CBE8C, 1.0f, 100.0f, 3000.0f, 1, 0, 1, 0, 1.0f, 1 },
{ D_ENMY_PLANET_4007AF0, D_800CBE8C, 1.0f, 100.0f, 3000.0f, 1, 0, 1, 0, 1.0f, 1 },
{ NULL, D_800CBE8C, 1.0f, 100.0f, 3000.0f, 1, 0, 0, 0, 1.0f, 1 },
{ D_6011F90, D_800CBE8C, 1.0f, 100.0f, 3000.0f, 1, 0, 1, 0, 0.0f, 1 },
{ D_4000710, D_800CBE8C, 1.0f, 100.0f, 3000.0f, 2, 0, 1, 1, 1.0f, 1 },
{ D_ENMY_PLANET_4000710, D_800CBE8C, 1.0f, 100.0f, 3000.0f, 2, 0, 1, 1, 1.0f, 1 },
{ NULL, D_800CBE8C, 1.5f, 100.0f, 3000.0f, 1, 0, 6, 0, 1.0f, 1 },
{ D_ENMY_SPACE_400BD20, D_800CBEC4, 2.0f, 100.0f, 3000.0f, 1, 0, 1, 0, 1.0f, 1 },
{ D_ENMY_SPACE_4001310, D_800CBE8C, 1.5f, 100.0f, 3000.0f, 1, 0, 6, 0, 1.0f, 1 },
@@ -3453,14 +3454,14 @@ void func_80072594(Actor* actor) {
func_i3_8019E9F4(actor->obj.pos.x, actor->obj.pos.y - 20, actor->obj.pos.z - 180.0f, 0.0f,
RAND_FLOAT(20.0f) * -1.0f, 0.0f, 4.0f, 2);
}
} else if (actor->unk_0B6 >= Animation_GetFrameCount(&D_40057AC)) {
} else if (actor->unk_0B6 >= Animation_GetFrameCount(&D_ENMY_PLANET_40057AC)) {
actor->unk_0B6 = 0;
}
break;
case 9:
actor->unk_0B6++;
if (actor->unk_0B6 >= Animation_GetFrameCount(&D_40001A4)) {
if (actor->unk_0B6 >= Animation_GetFrameCount(&D_ENMY_PLANET_40001A4)) {
actor->unk_0B6 = 0;
}
if (actor->iwork[6] == 0) {
@@ -3850,7 +3851,7 @@ void func_80074FF0(Actor* actor) {
case 43:
if (gLevelType == LEVELTYPE_PLANET) {
gSPDisplayList(gMasterDisp++, D_40018A0);
gSPDisplayList(gMasterDisp++, D_ENMY_PLANET_40018A0);
} else {
gSPDisplayList(gMasterDisp++, D_ENMY_SPACE_4007870);
}
@@ -3869,8 +3870,8 @@ void func_80074FF0(Actor* actor) {
Animation_DrawSkeleton(1, D_6006558, sp114, NULL, NULL, actor, &gIdentityMatrix);
gSPSetGeometryMode(gMasterDisp++, G_CULL_BACK);
} else {
Animation_GetFrameData(&D_40057AC, actor->unk_0B6, sp114);
Animation_DrawSkeleton(1, D_40058B8, sp114, NULL, NULL, actor, &gIdentityMatrix);
Animation_GetFrameData(&D_ENMY_PLANET_40057AC, actor->unk_0B6, sp114);
Animation_DrawSkeleton(1, D_ENMY_PLANET_40058B8, sp114, NULL, NULL, actor, &gIdentityMatrix);
}
break;
@@ -3881,8 +3882,8 @@ void func_80074FF0(Actor* actor) {
case 9:
Matrix_Translate(gGfxMatrix, 0.0f, -30.0f, 0.0f, 1);
Animation_GetFrameData(&D_40001A4, actor->unk_0B6, sp114);
Animation_DrawSkeleton(1, D_4000270, sp114, NULL, NULL, actor, &gIdentityMatrix);
Animation_GetFrameData(&D_ENMY_PLANET_40001A4, actor->unk_0B6, sp114);
Animation_DrawSkeleton(1, D_ENMY_PLANET_4000270, sp114, NULL, NULL, actor, &gIdentityMatrix);
break;
case 18:
-1
View File
@@ -2,7 +2,6 @@
#include "global.h"
#include "sf64dma.h"
#include "assets/ast_logo.h"
#include "audioseq_cmd.h"
f32 D_80161A10;
f32 D_80161A14;
+10 -1
View File
@@ -19,6 +19,15 @@
// placed before global.h for reordering reasons
typedef struct {
/* 0x00 */ u8* unk_00;
/* 0x04 */ s32 width;
/* 0x08 */ s32 height;
/* 0x0C */ u8* unk_0C;
/* 0x10 */ s32 unk_10;
/* 0x14 */ s32 unk_14;
} UnkStruct_D_800D1AEC;
Vec3f D_801616A0;
Vec3f D_801616B0;
f32 D_801616BC;
@@ -73,7 +82,7 @@ s32 D_80161900[20];
// BSS SECTION END
#include "global.h"
#include "hud.h"
#include "assets.h"
void func_80087788(void);
+2
View File
@@ -1,5 +1,6 @@
#include "prevent_bss_reordering2.h"
#include "global.h"
#include "assets.h"
#include "fox_map.h"
#include "assets/ast_training.h"
#include "assets/ast_sector_x.h"
@@ -7,6 +8,7 @@
#include "assets/ast_andross.h"
#include "assets/ast_arwing.h"
#include "assets/ast_vs_player.h"
#include "assets/ast_area_6.h"
UNK_TYPE D_800D2F50 = 0;
s32 D_800D2F54 = 0;
+2
View File
@@ -1,4 +1,5 @@
#include "global.h"
#include "assets.h"
u16** D_80178720;
s32 D_80178724;
@@ -18,6 +19,7 @@ s32 D_80178748;
#include "assets/ast_aquas.h"
#include "assets/ast_star_wolf.h"
#include "assets/ast_great_fox.h"
#include "assets/ast_area_6.h"
s32 gCurrentMsgPri = 0;
+1
View File
@@ -1,4 +1,5 @@
#include "global.h"
#include "assets.h"
#include "assets/ast_landmaster.h"
void func_80047754(Player* player);
+2 -1
View File
@@ -1,4 +1,5 @@
// #include "prevent_bss_reordering.h"
#include "prevent_bss_reordering2.h"
#include "prevent_bss_reordering.h"
#include "global.h"
#include "fox_option.h"
#include "assets/ast_versus.h"
+1 -1
View File
@@ -1,4 +1,4 @@
#include "global.h"
#include "sys.h"
// clang-format off
s16 gSawtoothWaveSample[] = {
+22 -35
View File
@@ -1,44 +1,31 @@
#include "prevent_bss_reordering.h"
#include "global.h"
#include "assets/ast_title.h"
#include "assets/ast_ending_award_front.h"
#include "assets/ast_ending_award_back.h"
#include "assets/ast_allies.h"
#include "assets/ast_great_fox.h"
#include "assets/ast_ending.h"
void func_ending_8018CE20(s32);
void func_ending_801926D4(void);
extern u32 D_ending_80192E70;
extern Gfx D_6041070[];
extern Animation D_601E424;
extern Animation D_601F8E0;
extern Animation D_6020058;
extern Animation D_60246F8;
extern Animation D_6029BE4;
extern Animation D_602A710;
extern Animation D_70111D0;
extern Animation D_70143C0;
extern Animation D_7018708;
extern Limb* D_602FBAC[];
extern Limb* D_603088C[];
extern Limb* D_60313AC[];
extern Limb* D_6032084[];
extern Limb* D_70187B4[];
extern Animation D_60338DC;
extern Animation D_603531C;
extern Animation D_6036278;
extern Gfx D_700C620[];
extern Gfx D_700C8B0[];
extern Gfx D_700F240[];
extern Gfx D_700F320[];
extern Gfx D_7010970[];
extern u8 D_7010E10[];
extern u16 D_7010EE0[];
extern u8 D_7010F00[];
extern u16 D_7010FD0[];
extern u8 D_7010FF0[];
extern u16 D_70110C0[];
extern u8 D_70110E0[];
extern u16 D_70111B0[];
bool func_ending_80189C64(s32 limbIndex, Gfx** dList, Vec3f* pos, Vec3f* rot, void* data);
void func_ending_8018ABE8(void);
@@ -370,7 +357,7 @@ void func_ending_80188030(s32 arg0) {
s32 func_ending_80188394(void) {
s32 i;
UnkStruct_196D08 sp14[2] = {
{ &D_70143C0,
{ &D_END_70143C0,
NULL,
17,
{ 0.0f, -3830.0f, -7000.0f },
@@ -380,8 +367,8 @@ s32 func_ending_80188394(void) {
0,
0,
{ 0, 0, 0, 0 } },
{ &D_7018708,
D_70187B4,
{ &D_END_7018708,
D_END_70187B4,
23,
{ 0.0f, -310.0f, -370.0f },
{ 0.0f, 0.0f, 0.0f },
@@ -461,16 +448,16 @@ void func_ending_801886F4(void) {
switch ((D_ending_80196F90 % 8) / 2) {
case 3:
TextureRect_4bCI(&gMasterDisp, D_70110E0, D_70111B0, 16, 26, temp + 31.0f, 18.0f, 1.0f, 1.0f);
TextureRect_4bCI(&gMasterDisp, D_END_70110E0, D_END_70111B0, 16, 26, temp + 31.0f, 18.0f, 1.0f, 1.0f);
/* fallthrough */
case 2:
TextureRect_4bCI(&gMasterDisp, D_7010FF0, D_70110C0, 16, 26, temp + 24.0f, 18.0f, 1.0f, 1.0f);
TextureRect_4bCI(&gMasterDisp, D_END_7010FF0, D_END_70110C0, 16, 26, temp + 24.0f, 18.0f, 1.0f, 1.0f);
/* fallthrough */
case 1:
TextureRect_4bCI(&gMasterDisp, D_7010F00, D_7010FD0, 16, 26, temp + 18.0f, 18.0f, 1.0f, 1.0f);
TextureRect_4bCI(&gMasterDisp, D_END_7010F00, D_END_7010FD0, 16, 26, temp + 18.0f, 18.0f, 1.0f, 1.0f);
/* fallthrough */
case 0:
TextureRect_4bCI(&gMasterDisp, D_7010E10, D_7010EE0, 16, 26, temp, 18.0f, 1.0f, 1.0f);
TextureRect_4bCI(&gMasterDisp, D_END_7010E10, D_END_7010EE0, 16, 26, temp, 18.0f, 1.0f, 1.0f);
}
}
@@ -525,7 +512,7 @@ void func_ending_80188DB4(void) {
s32 j;
Vec3f sp1B4 = { 0.0f, 0.0f, 0.0f };
UnkStruct_196D08 sp74[5] = {
{ &D_70111D0,
{ &D_END_70111D0,
NULL,
17,
{ 0.0f, -2960.0f, -6600.0f },
@@ -1768,7 +1755,7 @@ void func_ending_8018C21C(void) {
RCP_SetupDL(&gMasterDisp, 0x11);
Matrix_Translate(gGfxMatrix, 0.0f, -1200.0f, -6000.0f, 1);
Matrix_SetGfxMtx(&gMasterDisp);
gSPDisplayList(gMasterDisp++, D_700C8B0);
gSPDisplayList(gMasterDisp++, D_END_700C8B0);
Matrix_Pop(&gGfxMatrix);
} else {
Matrix_Push(&gGfxMatrix);
@@ -1776,7 +1763,7 @@ void func_ending_8018C21C(void) {
Matrix_Translate(gGfxMatrix, -2000.0f, -3000.0f, 3000.0f, 1);
Matrix_RotateY(gGfxMatrix, 110.0f * M_DTOR, 1);
Matrix_SetGfxMtx(&gMasterDisp);
gSPDisplayList(gMasterDisp++, D_700C8B0);
gSPDisplayList(gMasterDisp++, D_END_700C8B0);
Matrix_Pop(&gGfxMatrix);
}
@@ -1817,7 +1804,7 @@ void func_ending_8018C21C(void) {
Matrix_Scale(gGfxMatrix, scale->x, scale->y, scale->z, 1);
Matrix_RotateX(gGfxMatrix, M_PI / 2, 1);
Matrix_SetGfxMtx(&gMasterDisp);
gSPDisplayList(gMasterDisp++, D_7010970);
gSPDisplayList(gMasterDisp++, D_END_7010970);
Matrix_Pop(&gGfxMatrix);
Matrix_Push(&gGfxMatrix);
scale = &spF4[gGameFrameCount % 2];
@@ -1825,7 +1812,7 @@ void func_ending_8018C21C(void) {
Matrix_Scale(gGfxMatrix, scale->x, scale->y, scale->z, 1);
Matrix_RotateX(gGfxMatrix, M_PI / 2, 1);
Matrix_SetGfxMtx(&gMasterDisp);
gSPDisplayList(gMasterDisp++, D_7010970);
gSPDisplayList(gMasterDisp++, D_END_7010970);
Matrix_Pop(&gGfxMatrix);
}
} else {
@@ -1849,7 +1836,7 @@ void func_ending_8018C21C(void) {
Matrix_RotateX(gGfxMatrix, gActors[i].obj.rot.x * M_DTOR, 1);
Matrix_RotateZ(gGfxMatrix, gActors[i].obj.rot.z * M_DTOR, 1);
Matrix_SetGfxMtx(&gMasterDisp);
gSPDisplayList(gMasterDisp++, D_700F240);
gSPDisplayList(gMasterDisp++, D_END_700F240);
break;
case 2:
@@ -1860,7 +1847,7 @@ void func_ending_8018C21C(void) {
Matrix_RotateX(gGfxMatrix, gActors[i].obj.rot.x * M_DTOR, 1);
Matrix_RotateZ(gGfxMatrix, gActors[i].obj.rot.z * M_DTOR, 1);
Matrix_SetGfxMtx(&gMasterDisp);
gSPDisplayList(gMasterDisp++, D_700F320);
gSPDisplayList(gMasterDisp++, D_END_700F320);
break;
case 3:
@@ -1880,7 +1867,7 @@ void func_ending_8018C21C(void) {
Matrix_Scale(gGfxMatrix, 1.0f, 1.0f, 1.0f, 1);
Matrix_RotateX(gGfxMatrix, M_PI / 2, 1);
Matrix_SetGfxMtx(&gMasterDisp);
gSPDisplayList(gMasterDisp++, D_7010970);
gSPDisplayList(gMasterDisp++, D_END_7010970);
Matrix_Pop(&gGfxMatrix);
spE4 = gActors[i].fwork[1];
RCP_SetupDL(&gMasterDisp, 0x29);
@@ -1911,7 +1898,7 @@ void func_ending_8018C21C(void) {
Matrix_Translate(gGfxMatrix, 0.0f, 0.0f, -17.5f, 1);
Matrix_RotateX(gGfxMatrix, M_PI / 2, 1);
Matrix_SetGfxMtx(&gMasterDisp);
gSPDisplayList(gMasterDisp++, D_700C620);
gSPDisplayList(gMasterDisp++, D_END_700C620);
Matrix_Pop(&gGfxMatrix);
Matrix_Push(&gGfxMatrix);
Matrix_Translate(gGfxMatrix, -70.0f, 0.0f, -100.0f, 1);
@@ -1919,7 +1906,7 @@ void func_ending_8018C21C(void) {
Matrix_Translate(gGfxMatrix, 0.0f, 0.0f, -17.5f, 1);
Matrix_RotateX(gGfxMatrix, M_PI / 2, 1);
Matrix_SetGfxMtx(&gMasterDisp);
gSPDisplayList(gMasterDisp++, D_700C620);
gSPDisplayList(gMasterDisp++, D_END_700C620);
Matrix_Pop(&gGfxMatrix);
break;
}
+15 -8
View File
@@ -2,6 +2,13 @@
#include "assets/ast_arwing.h"
#include "assets/ast_ending_expert.h"
#include "assets/ast_allies.h"
WingInfo D_ending_80198590;
Vec3f D_ending_801985D0;
Vec3f D_ending_801985E0;
Vec3f D_ending_801985F0;
Vec3f D_ending_80198600[300];
#include "fox_end2_data.c"
void func_ending_8018CE20(u32 arg0) {
@@ -352,7 +359,7 @@ void func_ending_8018E1B8(u32 arg0, AssetInfo* asset) {
}
Matrix_SetGfxMtx(&gMasterDisp);
gSPDisplayList(gMasterDisp++, D_7010970);
gSPDisplayList(gMasterDisp++, D_END_7010970);
}
void func_ending_8018E7B8(u32 arg0, AssetInfo* asset) {
@@ -409,7 +416,7 @@ void func_ending_8018E7B8(u32 arg0, AssetInfo* asset) {
Matrix_SetGfxMtx(&gMasterDisp);
gSPDisplayList(gMasterDisp++, D_7010970);
gSPDisplayList(gMasterDisp++, D_END_7010970);
}
void func_ending_8018EDB8(u32 arg0, AssetInfo* asset) {
@@ -440,7 +447,7 @@ void func_ending_8018EDB8(u32 arg0, AssetInfo* asset) {
Matrix_SetGfxMtx(&gMasterDisp);
gDPLoadTextureBlock(gMasterDisp++, D_700EA38, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, G_TX_WRAP | G_TX_NOMIRROR,
gDPLoadTextureBlock(gMasterDisp++, D_END_700EA38, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, G_TX_WRAP | G_TX_NOMIRROR,
G_TX_WRAP | G_TX_NOMIRROR, 5, 5, G_TX_NOLOD, G_TX_NOLOD);
gDPTileSync(gMasterDisp++);
@@ -448,7 +455,7 @@ void func_ending_8018EDB8(u32 arg0, AssetInfo* asset) {
G_TX_WRAP, 5, 0, G_TX_WRAP, 5, 0);
gDPSetTileSize(gMasterDisp++, 0, arg0 * 14, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC);
gSPDisplayList(gMasterDisp++, D_700E9E0);
gSPDisplayList(gMasterDisp++, D_END_700E9E0);
}
void func_ending_8018F2A8(u32 arg0, AssetInfo* asset) {
@@ -542,7 +549,7 @@ void func_ending_8018F64C(u32 arg0, AssetInfo* asset) {
Matrix_Scale(gGfxMatrix, 0.8f + (arg0 % 3) * 0.01f, 0.3f + (arg0 % 3) * 0.01f, 0.8f + (arg0 % 3) * 0.01f, 1);
Matrix_SetGfxMtx(&gMasterDisp);
gSPDisplayList(gMasterDisp++, D_7010970);
gSPDisplayList(gMasterDisp++, D_END_7010970);
}
void func_ending_8018FC60(u32 arg0, AssetInfo* asset) {
@@ -605,7 +612,7 @@ void func_ending_8018FC60(u32 arg0, AssetInfo* asset) {
Matrix_Scale(gGfxMatrix, 0.5f + (arg0 % 3) * 0.01f, 0.3f + (arg0 % 3) * 0.01f, 0.5f + (arg0 % 3) * 0.01f, 1);
Matrix_SetGfxMtx(&gMasterDisp);
gSPDisplayList(gMasterDisp++, D_7010970);
gSPDisplayList(gMasterDisp++, D_END_7010970);
}
void func_ending_80190274(u32 arg0, AssetInfo* asset) {
@@ -634,7 +641,7 @@ void func_ending_80190274(u32 arg0, AssetInfo* asset) {
Matrix_SetGfxMtx(&gMasterDisp);
gSPDisplayList(gMasterDisp++, D_7004240);
gSPDisplayList(gMasterDisp++, D_END_7004240);
}
void func_ending_80190648(s32 arg0, AssetInfo* asset) {
@@ -648,7 +655,7 @@ void func_ending_80190648(s32 arg0, AssetInfo* asset) {
Matrix_Scale(gGfxMatrix, asset->unk_30.x, asset->unk_30.y, asset->unk_30.z, 1);
Matrix_SetGfxMtx(&gMasterDisp);
gSPDisplayList(gMasterDisp++, D_7002120);
gSPDisplayList(gMasterDisp++, D_END_7002120);
}
void func_ending_80190778(u32 arg0, AssetInfo* asset) {
+9 -20
View File
@@ -4,6 +4,8 @@
#include "global.h"
#include "assets/ast_arwing.h"
#include "assets/ast_font.h"
#include "assets/ast_title.h"
#include "assets/ast_ending.h"
typedef struct {
/* 0x00 */ u8* unk_00;
@@ -81,12 +83,6 @@ void func_ending_80190CF0(u32 arg0, AssetInfo* asset);
void func_ending_80191234(s32 arg0, s32 arg1);
void func_ending_80191294(u32 arg0, AssetInfo* asset);
WingInfo D_ending_80198590;
Vec3f D_ending_801985D0;
Vec3f D_ending_801985E0;
Vec3f D_ending_801985F0;
Vec3f D_ending_80198600[300];
extern Animation D_602F8E0;
extern Limb* D_602FBAC[];
extern Animation D_60305C0;
@@ -95,13 +91,6 @@ extern Animation D_6031120;
extern Limb* D_60313AC[];
extern Animation D_6031DB8;
extern Limb* D_6032084[];
extern Gfx D_END_7000000[];
extern Gfx D_7002120[];
extern Gfx D_7004240[];
extern Gfx D_700E9E0[];
extern u16 D_700EA38[];
extern Gfx D_7010970[];
extern Gfx D_7016540[];
// clang-format off
@@ -270,7 +259,7 @@ AssetInfo D_ending_801934B4[] = {
{ NULL, func_ending_8018D2C8, 36, 1310, 20, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0, 0, 0, 10, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
{ NULL, func_ending_8018D250, 4, 3000, 2000, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0, 0, 0, 995, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0 },
{ NULL, func_ending_8018D4BC, 0, 3100, 1800, 0.0f, 0.0f, 13.0f, -32.0f, 200.0f, 70.0f, 10.0f, 10.0f, 6.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0, 0, 0, 995, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
{ D_7016540, NULL, 17, 3100, 1800, 1.0f, 0.0f, -2700.0f, -6900.0f, 0.0f, 0.0f, 0.0f, 1.0f, 1.0f, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0, 0, 0, 995, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
{ D_END_7016540, NULL, 17, 3100, 1800, 1.0f, 0.0f, -2700.0f, -6900.0f, 0.0f, 0.0f, 0.0f, 1.0f, 1.0f, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0, 0, 0, 995, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
{ NULL, func_ending_8018F2A8, 23, 3800, 950, 1.0f, 8000.0f, -5500.0f, -10000.0f, -10.0f, -90.0f, 0.0f, 3.0f, 3.0f, 3.0f, -22.0f, 12.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0, 0, 0, 995, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
{ NULL, func_ending_8018E7B8, 67, 3800, 950, 1.0f, 12330.0f, -6500.0f, -9200.0f, 0.0f, 0.0f, -10.0f, 35.0f, 10.0f, 20.0f, -22.0f, 12.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 240, 176, 64, 996, 1000, 255, 255, 0, 0, 255, 255, 255, 164, 0, 0 },
{ NULL, func_ending_8018E7B8, 67, 3800, 950, 1.0f, 15600.0f, -6710.0f, -9960.0f, 0.0f, 0.0f, -10.0f, 35.0f, 10.0f, 20.0f, -22.0f, 12.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 240, 176, 64, 996, 1000, 255, 255, 0, 0, 255, 255, 255, 164, 0, 0 },
@@ -286,17 +275,17 @@ AssetInfo D_ending_801934B4[] = {
{ &D_6031120, D_60313AC, 23, 3100, 1800, 7.0f, 300.0f, -300.0f, -1300.0f, -15.0f, -90.0f, 0.0f, 0.6f, 0.6f, 0.6f, 0.1f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.1f, 0.0f, 0.0f, 0, 0, 0, 995, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
{ NULL, func_ending_8018D250, 5, 5000, 2000, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0, 0, 0, 995, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0 },
{ NULL, func_ending_8018D4BC, 0, 5100, 1800, 0.0f, 0.0f, 32.0f, -32.0f, 200.0f, 70.0f, 10.0f, 10.0f, 6.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0, 0, 0, 995, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
{ D_7016540, NULL, 17, 5100, 310, 1.0f, 0.0f, -2800.0f, -6900.0f, 0.0f, 0.0f, 0.0f, 1.0f, 1.0f, 1.0f, 0.0f, -4.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0, 0, 0, 995, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
{ D_7016540, NULL, 17, 5410, 1490, 1.0f, 0.0f, -4040.0f, -6900.0f, 0.0f, 0.0f, 0.0f, 1.0f, 1.0f, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0, 0, 0, 995, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
{ D_END_7016540, NULL, 17, 5100, 310, 1.0f, 0.0f, -2800.0f, -6900.0f, 0.0f, 0.0f, 0.0f, 1.0f, 1.0f, 1.0f, 0.0f, -4.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0, 0, 0, 995, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
{ D_END_7016540, NULL, 17, 5410, 1490, 1.0f, 0.0f, -4040.0f, -6900.0f, 0.0f, 0.0f, 0.0f, 1.0f, 1.0f, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0, 0, 0, 995, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
{ NULL, func_ending_80190CF0, 62, 6520, 380, 1.0f, 0.0f, 0.0f, -7000.0f, 0.0f, 0.0f, 0.0f, 12.0f, 12.0f, 12.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0, 0, 0, 200, 0, 0, 0, 0, 0, 255, 255, 255, 0, 0, 0 },
{ &D_arwing_3015AF4, D_arwing_3016610, 29, 5100, 1800, 1.0f, 100.0f, 100.0f, -230.0f, 0.0f, 180.0f, 0.0f, 0.5f, 0.5f, 0.5f, 0.0f, 0.0f, -7.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 3.0f, 240, 176, 64, 996, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0 },
{ D_7010970, NULL, 38, 5100, 1800, 1.0f, 100.0f, 95.0f, -200.0f, 0.0f, 0.0f, 0.0f, 0.4f, 0.3f, 0.4f, 0.0f, 0.0f, -7.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 3.0f, 240, 176, 64, 996, 1000, 255, 0, 0, 0, 255, 255, 255, 255, 0, 0 },
{ D_END_7010970, NULL, 38, 5100, 1800, 1.0f, 100.0f, 95.0f, -200.0f, 0.0f, 0.0f, 0.0f, 0.4f, 0.3f, 0.4f, 0.0f, 0.0f, -7.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 3.0f, 240, 176, 64, 996, 1000, 255, 0, 0, 0, 255, 255, 255, 255, 0, 0 },
{ &D_arwing_3015AF4, D_arwing_3016610, 29, 5100, 1800, 1.0f, 100.0f, -100.0f, -230.0f, 0.0f, 180.0f, 0.0f, 0.5f, 0.5f, 0.5f, 0.0f, 0.0f, -7.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 3.0f, 240, 176, 64, 996, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0 },
{ D_7010970, NULL, 38, 5100, 1800, 1.0f, 100.0f, -105.0f, -200.0f, 0.0f, 0.0f, 0.0f, 0.4f, 0.3f, 0.4f, 0.0f, 0.0f, -7.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 3.0f, 240, 176, 64, 996, 1000, 255, 0, 0, 0, 255, 255, 255, 255, 5, 0 },
{ D_END_7010970, NULL, 38, 5100, 1800, 1.0f, 100.0f, -105.0f, -200.0f, 0.0f, 0.0f, 0.0f, 0.4f, 0.3f, 0.4f, 0.0f, 0.0f, -7.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 3.0f, 240, 176, 64, 996, 1000, 255, 0, 0, 0, 255, 255, 255, 255, 5, 0 },
{ &D_arwing_3015AF4, D_arwing_3016610, 29, 5100, 1800, 1.0f, -100.0f, 100.0f, -230.0f, 0.0f, 180.0f, 0.0f, 0.5f, 0.5f, 0.5f, 0.0f, 0.0f, -7.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 3.0f, 240, 176, 64, 996, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0 },
{ D_7010970, NULL, 38, 5100, 1800, 1.0f, -100.0f, 95.0f, -200.0f, 0.0f, 0.0f, 0.0f, 0.4f, 0.3f, 0.4f, 0.0f, 0.0f, -7.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 3.0f, 240, 176, 64, 996, 1000, 255, 0, 0, 0, 255, 255, 255, 255, 7, 0 },
{ D_END_7010970, NULL, 38, 5100, 1800, 1.0f, -100.0f, 95.0f, -200.0f, 0.0f, 0.0f, 0.0f, 0.4f, 0.3f, 0.4f, 0.0f, 0.0f, -7.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 3.0f, 240, 176, 64, 996, 1000, 255, 0, 0, 0, 255, 255, 255, 255, 7, 0 },
{ &D_arwing_3015AF4, D_arwing_3016610, 29, 5100, 1800, 1.0f, -100.0f, -100.0f, -230.0f, 0.0f, 180.0f, 0.0f, 0.5f, 0.5f, 0.5f, 0.0f, 0.0f, -7.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 3.0f, 240, 176, 64, 996, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0 },
{ D_7010970, NULL, 38, 5100, 1800, 1.0f, -100.0f, -105.0f, -200.0f, 0.0f, 0.0f, 0.0f, 0.4f, 0.3f, 0.4f, 0.0f, 0.0f, -7.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 3.0f, 240, 176, 64, 996, 1000, 255, 0, 0, 0, 255, 255, 255, 255, 11, 0 },
{ D_END_7010970, NULL, 38, 5100, 1800, 1.0f, -100.0f, -105.0f, -200.0f, 0.0f, 0.0f, 0.0f, 0.4f, 0.3f, 0.4f, 0.0f, 0.0f, -7.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 3.0f, 240, 176, 64, 996, 1000, 255, 0, 0, 0, 255, 255, 255, 255, 11, 0 },
{ NULL, func_ending_8018F2A8, 29, 5100, 1800, 1.0f, 0.0f, 0.0f, -220.0f, 0.0f, 180.0f, 0.0f, 0.1f, 0.1f, 0.1f, 0.0f, 0.0f, -7.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, 240, 176, 64, 996, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
{ NULL, func_ending_8018DA0C, 76, 6520, 380, 1.0f, 224.0f, 164.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, 1.0f, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0, 0, 0, 20, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0 },
{ NULL, func_ending_8018D638, 36, 6900, 300, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
+1
View File
@@ -1,4 +1,5 @@
#include "global.h"
#include "assets.h"
#include "assets/ast_arwing.h"
// bss
+1
View File
@@ -1,4 +1,5 @@
#include "global.h"
#include "assets/ast_training.h"
void func_i1_801988E0(void) {
if (D_80177E80 != 0) {
+1 -2
View File
@@ -1,6 +1,5 @@
#include "global.h"
extern ObjectInit D_TR_6008EF8[];
#include "assets/ast_training.h"
void func_i1_80198C50(void) {
Object_58* obj58;
+1
View File
@@ -1,4 +1,5 @@
#include "global.h"
#include "assets.h"
#include "assets/ast_ve1_boss.h"
typedef struct {
+1
View File
@@ -1,4 +1,5 @@
#include "global.h"
#include "assets.h"
extern s32 D_800C9E90[];
+1
View File
@@ -1,4 +1,5 @@
#include "global.h"
#include "assets/ast_area_6.h"
void func_i3_8018A1B0(Boss* bossA6, s32 arg1);
void func_i3_8018A2C4(Boss* bossA6);
+1
View File
@@ -1,4 +1,5 @@
#include "global.h"
#include "assets.h"
typedef void (*BossSOfunc)(Boss*);
+4 -3
View File
@@ -1,5 +1,6 @@
#include "prevent_bss_reordering.h"
#include "global.h"
#include "assets.h"
#include "assets/ast_enmy_planet.h"
// f32 temp[] = {
@@ -1034,7 +1035,7 @@ void func_i3_80191680(Actor* actor) {
}
}
actor->unk_0B6++;
if (actor->unk_0B6 >= Animation_GetFrameCount(&D_40057AC)) {
if (actor->unk_0B6 >= Animation_GetFrameCount(&D_ENMY_PLANET_40057AC)) {
actor->unk_0B6 = 0;
}
if (actor->timer_0BC == 0) {
@@ -1095,8 +1096,8 @@ void func_i3_80191680(Actor* actor) {
}
void func_i3_80191B4C(Actor* actor) {
Animation_GetFrameData(&D_40057AC, actor->unk_0B6, actor->vwork);
Animation_DrawSkeleton(1, D_40058B8, actor->vwork, NULL, NULL, &actor->index, &gIdentityMatrix);
Animation_GetFrameData(&D_ENMY_PLANET_40057AC, actor->unk_0B6, actor->vwork);
Animation_DrawSkeleton(1, D_ENMY_PLANET_40058B8, actor->vwork, NULL, NULL, &actor->index, &gIdentityMatrix);
}
void func_i3_80191BB8(Actor* actor) {
+1
View File
@@ -1,6 +1,7 @@
#include "prevent_bss_reordering.h"
// #include "prevent_bss_reordering2.h"
#include "global.h"
#include "assets.h"
typedef struct UnkStruct_D_i4_801A03E0 {
f32 unk_00;
+1
View File
@@ -1,4 +1,5 @@
#include "global.h"
#include "assets.h"
extern Animation D_6007854;
extern Limb* D_6007980[];
+1
View File
@@ -1,5 +1,6 @@
#include "prevent_bss_reordering.h"
#include "global.h"
#include "assets.h"
Vec3f D_i4_8019F0F0[] = { { 7000.0f, 500.0f, -50 }, { 7700.0f, 550.0f, -50.0f }, { 6000.0f, 300.0f, 1950.0f } };
Vec3f D_i4_8019F114[] = { { -30.0f, 0.0f, 0.0f }, { -30.0f, 0.0f, 0.0f }, { 0.0f, 5.0f, -40.0f } };
+1
View File
@@ -1,4 +1,5 @@
#include "global.h"
#include "assets.h"
s32 D_i4_801A0560;
s32 D_i4_801A0564;
+4 -3
View File
@@ -1,5 +1,6 @@
// #include "prevent_bss_reordering.h"
#include "prevent_bss_reordering.h"
#include "global.h"
#include "assets.h"
#include "assets/ast_landmaster.h"
#include "assets/ast_enmy_planet.h"
@@ -5327,7 +5328,7 @@ void func_i5_801ADAC8(Actor* actor) {
case 0:
Graphics_SetScaleMtx(actor->scale);
RCP_SetupDL_60(gFogRed, gFogGreen, gFogBlue, gFogAlpha, gFogNear, gFogFar);
gSPDisplayList(gMasterDisp++, D_4008CE0);
gSPDisplayList(gMasterDisp++, D_ENMY_PLANET_4008CE0);
RCP_SetupDL(&gMasterDisp, 0x40);
break;
case 1:
@@ -5335,7 +5336,7 @@ void func_i5_801ADAC8(Actor* actor) {
Matrix_SetGfxMtx(&gMasterDisp);
RCP_SetupDL_40();
gSPClearGeometryMode(gMasterDisp++, G_CULL_BACK);
gSPDisplayList(gMasterDisp++, D_4008F70);
gSPDisplayList(gMasterDisp++, D_ENMY_PLANET_4008F70);
RCP_SetupDL(&gMasterDisp, 0x40);
break;
}
+4 -3
View File
@@ -1,5 +1,6 @@
#include "prevent_bss_reordering.h"
// #include "prevent_bss_reordering.h"
#include "global.h"
#include "assets.h"
#include "assets/ast_bg_planet.h"
#include "assets/ast_7_ti_1.h"
#include "assets/ast_7_ti_2.h"
@@ -2486,7 +2487,7 @@ void func_i5_8019002C(s32 limbIndex, Vec3f* rot, void* data) {
Matrix_RotateX(gGfxMatrix, -(M_DTOR * 90.0f), 1);
Matrix_RotateZ(gGfxMatrix, -(M_DTOR * 90.0f), 1);
Matrix_SetGfxMtx(&gMasterDisp);
gSPDisplayList(gMasterDisp++, D_40018A0);
gSPDisplayList(gMasterDisp++, D_ENMY_PLANET_40018A0);
Matrix_Translate(gGfxMatrix, 0.0f, 0.0f, -47.0f, 1);
Matrix_GetYRPAngles(gGfxMatrix, &sp64);
Matrix_RotateZ(gGfxMatrix, -sp64.z * M_DTOR, 1);
@@ -2998,7 +2999,7 @@ void func_i5_80191AE8(s32 limbIndex, Vec3f* rot, void* data) {
Matrix_RotateX(gGfxMatrix, -(M_DTOR * 90.0f), 1);
Matrix_RotateZ(gGfxMatrix, -(M_DTOR * 90.0f), 1);
Matrix_SetGfxMtx(&gMasterDisp);
gSPDisplayList(gMasterDisp++, D_40018A0);
gSPDisplayList(gMasterDisp++, D_ENMY_PLANET_40018A0);
Matrix_Translate(gGfxMatrix, 0.0f, 0.0f, -47.0f, 1);
Matrix_GetYRPAngles(gGfxMatrix, &sp78);
Matrix_RotateZ(gGfxMatrix, -sp78.z * M_DTOR, 1);
+1
View File
@@ -1,6 +1,7 @@
#include "prevent_bss_reordering2.h"
#include "prevent_bss_reordering.h"
#include "global.h"
#include "assets.h"
#include "assets/ast_andross.h"
#include "assets/ast_arwing.h"
#include "assets/ast_vs_player.h"
+1
View File
@@ -1,4 +1,5 @@
#include "global.h"
#include "assets.h"
extern Animation D_6003348;
extern Animation D_60034C4;
+1
View File
@@ -1,4 +1,5 @@
#include "global.h"
#include "assets.h"
void func_i6_80196210(Boss* boss) {
Math_SmoothStepToF(&boss->fwork[0], boss->fwork[1], 0.5f, 5.0f, 0.0f);
+84 -84
View File
@@ -9,7 +9,8 @@
#include "fox_map.h"
#include "fox_option.h"
#include "prevent_bss_reordering.h"
#include "prevent_bss_reordering2.h"
// #include "prevent_bss_reordering2.h"
#include "assets/ast_map.h"
// BSS STARTS HERE
u8 D_menu_801B9410[96 * 96];
@@ -188,8 +189,6 @@ s32 D_menu_801CF11C;
s32 D_menu_801CF120;
f32 D_menu_801CF124;
extern u16 D_6000000[];
#include "assets/ast_font.h"
#include "assets/ast_font_3d.h"
@@ -396,22 +395,22 @@ PlanetId sPlanetList[] = {
PLANET_SECTOR_Z, PLANET_ZONESS, PLANET_KATINA, PLANET_SECTOR_Y, PLANET_SOLAR,
};
Gfx* D_menu_801AF824[4] = { D_604A710, D_604A400, D_604A190, D_6049F80 };
Gfx* D_menu_801AF824[4] = { D_MAP_604A710, D_MAP_604A400, D_MAP_604A190, D_MAP_6049F80 };
TitleCard D_menu_801AF834[14] = {
{ D_6007B90, 128, 28, 95.0f }, { D_60030D0, 96, 28, 110.0f }, { D_60131A0, 176, 12, 73.0f },
{ D_6009AD0, 168, 28, 77.0f }, { D_600B9B0, 168, 28, 74.0f }, { D_6001C80, 96, 13, 106.0f },
{ D_TEX_6011660, 176, 12, 75.0f }, { D_6010010, 112, 13, 109.0f }, { D_6017640, 112, 28, 101.0f },
{ D_6015CE0, 96, 28, 108.0f }, { D_600E210, 160, 28, 78.0f }, { D_6014360, 176, 12, 73.0f },
{ D_6004AC0, 168, 19, 72.0f }, { D_6006320, 104, 28, 105.0f },
{ D_MAP_6007B90, 128, 28, 95.0f }, { D_MAP_60030D0, 96, 28, 110.0f }, { D_MAP_60131A0, 176, 12, 73.0f },
{ D_MAP_6009AD0, 168, 28, 77.0f }, { D_MAP_600B9B0, 168, 28, 74.0f }, { D_MAP_6001C80, 96, 13, 106.0f },
{ D_MAP_6011660, 176, 12, 75.0f }, { D_MAP_6010010, 112, 13, 109.0f }, { D_MAP_6017640, 112, 28, 101.0f },
{ D_MAP_6015CE0, 96, 28, 108.0f }, { D_MAP_600E210, 160, 28, 78.0f }, { D_MAP_6014360, 176, 12, 73.0f },
{ D_MAP_6004AC0, 168, 19, 72.0f }, { D_MAP_6006320, 104, 28, 105.0f },
};
TitleCard D_menu_801AF914[] = {
{ D_6008990, 232, 19, 46.0f }, { D_6003B50, 208, 19, 56.0f }, { D_60139E0, 128, 19, 98.0f },
{ D_600AD30, 168, 19, 77.0f }, { D_600CC10, 128, 19, 95.0f }, { D_6002160, 208, 19, 57.0f },
{ D_6011EA0, 256, 19, 40.0f }, { D_60105C0, 224, 19, 49.0f }, { D_6018280, 184, 19, 70.0f },
{ D_6016760, 200, 18, 61.0f }, { D_600F390, 168, 19, 75.0f }, { D_6014BA0, 232, 19, 43.0f },
{ D_6005740, 160, 19, 81.0f }, { D_6006E80, 176, 19, 70.0f },
{ D_MAP_6008990, 232, 19, 46.0f }, { D_MAP_6003B50, 208, 19, 56.0f }, { D_MAP_60139E0, 128, 19, 98.0f },
{ D_MAP_600AD30, 168, 19, 77.0f }, { D_MAP_600CC10, 128, 19, 95.0f }, { D_MAP_6002160, 208, 19, 57.0f },
{ D_MAP_6011EA0, 256, 19, 40.0f }, { D_MAP_60105C0, 224, 19, 49.0f }, { D_MAP_6018280, 184, 19, 70.0f },
{ D_MAP_6016760, 200, 18, 61.0f }, { D_MAP_600F390, 168, 19, 75.0f }, { D_MAP_6014BA0, 232, 19, 43.0f },
{ D_MAP_6005740, 160, 19, 81.0f }, { D_MAP_6006E80, 176, 19, 70.0f },
};
char* sPlanetNames[] = {
@@ -419,8 +418,8 @@ char* sPlanetNames[] = {
};
Gfx* D_menu_801AFA30[2] = {
D_6055F20,
D_6051D20,
D_MAP_6055F20,
D_MAP_6051D20,
};
ObjPosition D_menu_801AFA38[] = {
@@ -719,7 +718,7 @@ Gfx D_menu_801B4A40[] = {
};
Gfx D_menu_801B4D70[] = {
gsDPLoadTLUT_pal256(D_6026C90),
gsDPLoadTLUT_pal256(D_MAP_6026C90),
gsSPVertex(D_menu_801B4740, 16, 0),
gsDPLoadTextureBlock(D_menu_801BB810, G_IM_FMT_CI, G_IM_SIZ_8b, 96, 9, 0, G_TX_NOMIRROR | G_TX_WRAP,
G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMASK, G_TX_NOMASK, G_TX_NOLOD, G_TX_NOLOD),
@@ -766,7 +765,7 @@ Gfx D_menu_801B4D70[] = {
};
Gfx D_menu_801B50D8[] = {
gsDPLoadTLUT_pal256(D_6029170),
gsDPLoadTLUT_pal256(D_MAP_6029170),
gsSPVertex(D_menu_801B4740, 16, 0),
gsDPLoadTextureBlock(&D_menu_801BDC10, G_IM_FMT_CI, G_IM_SIZ_8b, 96, 9, 0, G_TX_NOMIRROR | G_TX_WRAP,
G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMASK, G_TX_NOMASK, G_TX_NOLOD, G_TX_NOLOD),
@@ -813,7 +812,7 @@ Gfx D_menu_801B50D8[] = {
};
Gfx D_menu_801B5440[] = {
gsDPLoadTLUT_pal256(D_6022340),
gsDPLoadTLUT_pal256(D_MAP_6022340),
gsSPVertex(D_menu_801B4740, 16, 0),
gsDPLoadTextureBlock(D_menu_801C0010, G_IM_FMT_CI, G_IM_SIZ_8b, 96, 9, 0, G_TX_NOMIRROR | G_TX_WRAP,
G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMASK, G_TX_NOMASK, G_TX_NOLOD, G_TX_NOLOD),
@@ -860,7 +859,7 @@ Gfx D_menu_801B5440[] = {
};
Gfx D_menu_801B57A8[] = {
gsDPLoadTLUT_pal256(D_60247E0),
gsDPLoadTLUT_pal256(D_MAP_60247E0),
gsSPVertex(D_menu_801B4740, 16, 0),
gsDPLoadTextureBlock(D_menu_801C2410, G_IM_FMT_CI, G_IM_SIZ_8b, 96, 9, 0, G_TX_NOMIRROR | G_TX_WRAP,
G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMASK, G_TX_NOMASK, G_TX_NOLOD, G_TX_NOLOD),
@@ -907,7 +906,7 @@ Gfx D_menu_801B57A8[] = {
};
Gfx D_menu_801B5B10[] = {
gsDPLoadTLUT_pal256(D_602FF60),
gsDPLoadTLUT_pal256(D_MAP_602FF60),
gsSPVertex(D_menu_801B4740, 16, 0),
gsDPLoadTextureBlock(D_menu_801C4810, G_IM_FMT_CI, G_IM_SIZ_8b, 96, 9, 0, G_TX_NOMIRROR | G_TX_WRAP,
G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMASK, G_TX_NOMASK, G_TX_NOLOD, G_TX_NOLOD),
@@ -954,7 +953,7 @@ Gfx D_menu_801B5B10[] = {
};
Gfx D_menu_801B5E78[] = {
gsDPLoadTLUT_pal256(D_602B620),
gsDPLoadTLUT_pal256(D_MAP_602B620),
gsSPVertex(D_menu_801B4740, 16, 0),
gsDPLoadTextureBlock(D_menu_801C6C10, G_IM_FMT_CI, G_IM_SIZ_8b, 96, 9, 0, G_TX_NOMIRROR | G_TX_WRAP,
G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMASK, G_TX_NOMASK, G_TX_NOLOD, G_TX_NOLOD),
@@ -1001,7 +1000,7 @@ Gfx D_menu_801B5E78[] = {
};
Gfx D_menu_801B61E0[] = {
gsDPLoadTLUT_pal256(D_602DAD0),
gsDPLoadTLUT_pal256(D_MAP_602DAD0),
gsSPVertex(D_menu_801B4740, 16, 0),
gsDPLoadTextureBlock(D_menu_801C9010, G_IM_FMT_CI, G_IM_SIZ_8b, 96, 9, 0, G_TX_NOMIRROR | G_TX_WRAP,
G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMASK, G_TX_NOMASK, G_TX_NOLOD, G_TX_NOLOD),
@@ -1048,7 +1047,7 @@ Gfx D_menu_801B61E0[] = {
};
Gfx D_menu_801B6548[] = {
gsDPLoadTLUT_pal256(D_60323D0),
gsDPLoadTLUT_pal256(D_MAP_60323D0),
gsSPVertex(D_menu_801B4740, 16, 0),
gsDPLoadTextureBlock(D_menu_801CB410, G_IM_FMT_CI, G_IM_SIZ_8b, 96, 9, 0, G_TX_NOMIRROR | G_TX_WRAP,
G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMASK, G_TX_NOMASK, G_TX_NOLOD, G_TX_NOLOD),
@@ -1100,39 +1099,40 @@ void* D_menu_801B68B0[] = {
};
u8* D_menu_801B68D4[] = {
D_6029220, D_602B6D0, D_602FFD0, D_6024890, D_602DB60, D_601FF40, D_6026D70, D_60223E0, D_60190B0,
D_MAP_6029220, D_MAP_602B6D0, D_MAP_602FFD0, D_MAP_6024890, D_MAP_602DB60,
D_MAP_601FF40, D_MAP_6026D70, D_MAP_60223E0, D_MAP_60190B0,
};
Gfx* D_menu_801B68F8[] = {
D_6060610, D_601DE80, D_604B750, D_601F6B0, D_601C0D0,
D_601C960, D_menu_801B5E78, D_menu_801B61E0, D_menu_801B6548, D_menu_801B4D70,
D_menu_801B5B10, D_menu_801B5440, D_menu_801B50D8, D_menu_801B57A8, D_604DB10,
D_MAP_6060610, D_MAP_601DE80, D_MAP_604B750, D_MAP_601F6B0, D_MAP_601C0D0,
D_MAP_601C960, D_menu_801B5E78, D_menu_801B61E0, D_menu_801B6548, D_menu_801B4D70,
D_menu_801B5B10, D_menu_801B5440, D_menu_801B50D8, D_menu_801B57A8, D_MAP_604DB10,
};
extern u8 D_6000840[]; // ast_map
extern u8 D_6001080[]; // ast_map
extern u8 D_60018C0[];
extern u8 D_600D590[];
extern u8 D_6019030[];
extern Gfx D_601D1F0[];
extern u8 D_MAP_6000840[]; // ast_map
extern u8 D_MAP_6001080[]; // ast_map
extern u8 D_MAP_60018C0[];
extern u8 D_MAP_600D590[];
extern u8 D_MAP_6019030[];
extern Gfx D_MAP_601D1F0[];
extern u8 D_601DC10[];
extern u16 D_601DC90[];
extern Gfx D_601DCF0[];
extern Gfx D_MAP_601DCF0[];
extern u8 D_601DCA0[];
extern u16 D_601DCD8[];
extern Gfx D_601E9A0[];
extern u16 D_6044820[];
extern Gfx D_MAP_601E9A0[];
extern u16 D_MAP_6044820[];
extern u16 D_6046AA0[];
extern u16 D_6046CD0[];
extern Gfx D_60479D0[];
extern Gfx D_6047E70[];
extern u8 D_6047F80[];
extern u8 D_6048F80[];
extern Gfx D_604C350[];
extern Gfx D_604C540[];
extern Gfx D_604CDE0[];
extern Gfx D_604D680[];
extern Gfx D_605A120[];
extern u16 D_MAP_6046CD0[];
extern Gfx D_MAP_60479D0[];
extern Gfx D_MAP_6047E70[];
extern u8 D_MAP_6047F80[];
extern u8 D_MAP_6048F80[];
extern Gfx D_MAP_604C350[];
extern Gfx D_MAP_604C540[];
extern Gfx D_MAP_604CDE0[];
extern Gfx D_MAP_604D680[];
extern Gfx D_MAP_605A120[];
void func_menu_8019E800(void);
void func_menu_8019E99C(void);
@@ -1999,7 +1999,7 @@ void func_menu_801A01A8(void) {
D_menu_801CEEC4 = 0;
}
Texture_Mottle((u16*) D_6047F80, (u16*) D_6048F80, 5);
Texture_Mottle((u16*) D_MAP_6047F80, (u16*) D_MAP_6048F80, 5);
}
s32 func_menu_801A05B4(void) {
@@ -2188,7 +2188,7 @@ void func_menu_801A0D14(void) {
static f32 D_menu_801B694C = 71.0f;
static f32 D_menu_801B6950 = 205.0f;
static u16* D_menu_801B6954[] = {
D_6041A80, D_6035780, D_6033080, D_603A580, D_603F380, D_6037E80, D_603CC80,
D_MAP_6041A80, D_MAP_6035780, D_MAP_6033080, D_MAP_603A580, D_MAP_603F380, D_MAP_6037E80, D_MAP_603CC80,
};
func_menu_801A116C();
@@ -2204,8 +2204,8 @@ void func_menu_801A0D14(void) {
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 255, 255, 255);
TextureRect_8bIA(&gMasterDisp, D_6019030, 8, 16, 0.0f, D_menu_801B694C, 40.0f, 1.66f);
TextureRect_8bIA_MirY(&gMasterDisp, D_6019030, 8, 16, 0.0f, D_menu_801B6950, 40.0f, 1.68f);
TextureRect_8bIA(&gMasterDisp, D_MAP_6019030, 8, 16, 0.0f, D_menu_801B694C, 40.0f, 1.66f);
TextureRect_8bIA_MirY(&gMasterDisp, D_MAP_6019030, 8, 16, 0.0f, D_menu_801B6950, 40.0f, 1.68f);
func_8003DE68(0x47, 0x76);
func_8003DE68(0xCD, 0xEF);
@@ -2406,9 +2406,9 @@ void func_menu_801A19A8(void) {
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 255, 255, (s32) D_menu_801CEA9C);
for (i = 0; i < 4; i++) {
TextureRect_8bIA(&gMasterDisp, D_600D590 + (i * 168 * 4), 168, 4, 72.0f, 104.0f + (4.0f * i), 1.0f, 1.0f);
TextureRect_8bIA(&gMasterDisp, D_MAP_600D590 + (i * 168 * 4), 168, 4, 72.0f, 104.0f + (4.0f * i), 1.0f, 1.0f);
}
TextureRect_8bIA(&gMasterDisp, D_600D590 + (168 * 16), 168, 3, 72.0f, 104.0f + 16.0f, 1.0f, 1.0f);
TextureRect_8bIA(&gMasterDisp, D_MAP_600D590 + (168 * 16), 168, 3, 72.0f, 104.0f + 16.0f, 1.0f, 1.0f);
}
void func_menu_801A1AE8(void) {
@@ -3852,16 +3852,16 @@ void func_menu_801A5834(void) {
}
if (gLifeCount[gPlayerNum]) {
texture = D_6001080;
texture = D_MAP_6001080;
} else {
texture = (u8*) D_6000000;
texture = D_MAP_6000000;
}
RCP_SetupDL(&gMasterDisp, 0x4C);
gDPSetPrimColor(gMasterDisp++, 0, 0, 60, 60, 255, 170);
TextureRect_8bIA(&gMasterDisp, D_601B4B0, 24, 17, x, y, 4.6f, D_menu_801B6A6C[var_t0]);
TextureRect_8bIA(&gMasterDisp, D_MAP_601B4B0, 24, 17, x, y, 4.6f, D_menu_801B6A6C[var_t0]);
mask = 0xFFFFFFFF;
if (D_menu_801CF000[colorIndex] != 0) {
@@ -3872,7 +3872,7 @@ void func_menu_801A5834(void) {
if (gGameFrameCount & mask) {
RCP_SetupDL(&gMasterDisp, 0x53);
gDPSetPrimColor(gMasterDisp++, 0, 0, r[colorIndex], g[colorIndex], b[colorIndex], 255);
TextureRect_8bIA(&gMasterDisp, D_6000840, 96, 22, x + 11.0f, y + 3.0f, 1.0f, 1.0f);
TextureRect_8bIA(&gMasterDisp, D_MAP_6000840, 96, 22, x + 11.0f, y + 3.0f, 1.0f, 1.0f);
}
z = 24.0f;
colorIndex++;
@@ -3886,7 +3886,7 @@ void func_menu_801A5834(void) {
if (gGameFrameCount & mask) {
gDPSetPrimColor(gMasterDisp++, 0, 0, r[colorIndex], g[colorIndex], b[colorIndex], 255);
TextureRect_8bIA(&gMasterDisp, D_60018C0, 96, 10, x + 10.0f, y + z + 8.0f, 1.0f, 1.0f);
TextureRect_8bIA(&gMasterDisp, D_MAP_60018C0, 96, 10, x + 10.0f, y + z + 8.0f, 1.0f, 1.0f);
}
z += 18.0f;
colorIndex++;
@@ -4702,7 +4702,7 @@ void func_menu_801A77B0(PlanetId planetId) {
Matrix_SetGfxMtx(&gMasterDisp);
gSPDisplayList(gMasterDisp++, D_605C230);
gSPDisplayList(gMasterDisp++, D_MAP_605C230);
Matrix_Pop(&gGfxMatrix);
}
@@ -4724,7 +4724,7 @@ void func_menu_801A791C(PlanetId planetId) {
Matrix_SetGfxMtx(&gMasterDisp);
gSPDisplayList(gMasterDisp++, D_604C540);
gSPDisplayList(gMasterDisp++, D_MAP_604C540);
Matrix_Pop(&gGfxMatrix);
}
@@ -4744,7 +4744,7 @@ void func_menu_801A7A84(PlanetId planetId) {
Matrix_SetGfxMtx(&gMasterDisp);
gSPDisplayList(gMasterDisp++, D_604CDE0);
gSPDisplayList(gMasterDisp++, D_MAP_604CDE0);
Matrix_Pop(&gGfxMatrix);
}
@@ -4769,7 +4769,7 @@ void func_menu_801A7BEC(f32* zAngle, f32 next, f32 scale) {
Matrix_SetGfxMtx(&gMasterDisp);
gSPDisplayList(gMasterDisp++, D_6047E70);
gSPDisplayList(gMasterDisp++, D_MAP_6047E70);
Matrix_Pop(&gGfxMatrix);
@@ -4831,7 +4831,7 @@ void func_menu_801A7F1C(PlanetId planetId) {
Matrix_Copy(gGfxMatrix, &D_menu_801CE1E0[planetId]);
Matrix_SetGfxMtx(&gMasterDisp);
gSPDisplayList(gMasterDisp++, D_604D680);
gSPDisplayList(gMasterDisp++, D_MAP_604D680);
Matrix_Pop(&gGfxMatrix);
@@ -4874,7 +4874,7 @@ void func_menu_801A809C(PlanetId planetId) {
Matrix_SetGfxMtx(&gMasterDisp);
gSPDisplayList(gMasterDisp++, D_604D680);
gSPDisplayList(gMasterDisp++, D_MAP_604D680);
Matrix_Pop(&gGfxMatrix);
@@ -4910,7 +4910,7 @@ void func_menu_801A809C(PlanetId planetId) {
Matrix_SetGfxMtx(&gMasterDisp);
gSPDisplayList(gMasterDisp++, D_604D680);
gSPDisplayList(gMasterDisp++, D_MAP_604D680);
Matrix_Pop(&gGfxMatrix);
}
@@ -4935,7 +4935,7 @@ void func_menu_801A809C(PlanetId planetId) {
Matrix_SetGfxMtx(&gMasterDisp);
gSPDisplayList(gMasterDisp++, D_601D1F0);
gSPDisplayList(gMasterDisp++, D_MAP_601D1F0);
Matrix_Pop(&gGfxMatrix);
@@ -4973,7 +4973,7 @@ void func_menu_801A809C(PlanetId planetId) {
Matrix_SetGfxMtx(&gMasterDisp);
gSPDisplayList(gMasterDisp++, D_601D1F0);
gSPDisplayList(gMasterDisp++, D_MAP_601D1F0);
Matrix_Pop(&gGfxMatrix);
@@ -5030,7 +5030,7 @@ void func_menu_801A8738(void) {
Matrix_SetGfxMtx(&gMasterDisp);
gSPDisplayList(gMasterDisp++, D_60479D0);
gSPDisplayList(gMasterDisp++, D_MAP_60479D0);
Matrix_Pop(&gGfxMatrix);
}
@@ -5115,7 +5115,7 @@ void func_menu_801A89BC(PlanetId planetId, s32 arg1) {
Matrix_SetGfxMtx(&gMasterDisp);
gSPDisplayList(gMasterDisp++, D_60479D0);
gSPDisplayList(gMasterDisp++, D_MAP_60479D0);
Matrix_Pop(&gGfxMatrix);
}
@@ -5147,7 +5147,7 @@ void func_menu_801A8F40(void) {
Matrix_SetGfxMtx(&gMasterDisp);
gSPDisplayList(gMasterDisp++, D_601DCF0);
gSPDisplayList(gMasterDisp++, D_MAP_601DCF0);
Matrix_Pop(&gGfxMatrix);
@@ -5298,7 +5298,7 @@ void func_menu_801A9448(void) {
Matrix_MultVec3f(gCalcMatrix, &dest, &src);
Lights_SetOneLight(&gMasterDisp, src.x, src.y, src.z, 80, 80, 60, 0, 0, 0);
gSPDisplayList(gMasterDisp++, D_601E9A0);
gSPDisplayList(gMasterDisp++, D_MAP_601E9A0);
Matrix_Pop(&gGfxMatrix);
}
@@ -5556,10 +5556,10 @@ void func_menu_801AA1CC(s32 arg0) {
} else {
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 255, 255, 255);
}
TextureRect_16bRGBA(&gMasterDisp, D_60447A0, 8, 8, 28.0f + x + 24.0f, y + 11.0f, 2.0f, 0.2f);
TextureRect_16bRGBA(&gMasterDisp, D_MAP_60447A0, 8, 8, 28.0f + x + 24.0f, y + 11.0f, 2.0f, 0.2f);
}
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 255, 255, 255);
TextureRect_16bRGBA(&gMasterDisp, D_6047550, 24, 24, 28.0f + x, y, 1.0f, 1.0f);
TextureRect_16bRGBA(&gMasterDisp, D_MAP_6047550, 24, 24, 28.0f + x, y, 1.0f, 1.0f);
}
}
@@ -5759,7 +5759,7 @@ void func_menu_801AA778(s32 arg0, f32 x, f32 y, PlanetId planetId) {
}
Matrix_Scale(gGfxMatrix, 1.6f, 1.6f, 1.6f, 1);
Matrix_SetGfxMtx(&gMasterDisp);
gSPDisplayList(gMasterDisp++, D_605C230);
gSPDisplayList(gMasterDisp++, D_MAP_605C230);
}
Matrix_Pop(&gGfxMatrix);
}
@@ -5785,7 +5785,7 @@ void func_menu_801AB17C(f32 x, f32 y, f32 z) {
Matrix_Scale(gGfxMatrix, scale, scale, scale, 1);
Matrix_SetGfxMtx(&gMasterDisp);
gSPDisplayList(gMasterDisp++, D_601D1F0);
gSPDisplayList(gMasterDisp++, D_MAP_601D1F0);
Matrix_Pop(&gGfxMatrix);
}
@@ -5962,7 +5962,7 @@ void func_menu_801AB978(s32 arg0) {
f32 yPos;
s32 sp90[3];
static f32 D_menu_801B6B0C[3] = { 205.0f, 237.0f, 269.0f };
static u16* D_menu_801B6B18[3] = { D_6032A60, D_6044180, D_6032440 };
static u16* D_menu_801B6B18[3] = { D_MAP_6032A60, D_MAP_6044180, D_MAP_6032440 };
switch (arg0) {
case 10:
@@ -5979,13 +5979,13 @@ void func_menu_801AB978(s32 arg0) {
yPos = 77.0f;
for (i = 0; i < 12; i++) {
TextureRect_16bRGBA(&gMasterDisp, D_6044820 + (i * 92 * 4), 92, 4, xPos, yPos + (i * 4.0f), 1.0f,
1.0f);
TextureRect_16bRGBA(&gMasterDisp, D_MAP_6044820 + (i * 92 * 4), 92, 4, xPos, yPos + (i * 4.0f),
1.0f, 1.0f);
}
TextureRect_16bRGBA(&gMasterDisp, D_6044820 + (92 * 12 * 4), 92, 3, xPos, yPos + 48.0f, 1.0f, 1.0f);
TextureRect_16bRGBA(&gMasterDisp, D_MAP_6044820 + (92 * 12 * 4), 92, 3, xPos, yPos + 48.0f, 1.0f, 1.0f);
if (arg0 == 21) {
TextureRect_16bRGBA(&gMasterDisp, D_6046CD0, 32, 34, xPos + 47.0, yPos, 1.0f, 1.0f);
TextureRect_16bRGBA(&gMasterDisp, D_MAP_6046CD0, 32, 34, xPos + 47.0, yPos, 1.0f, 1.0f);
}
for (i = 0; i < 3; i++) {
@@ -6089,7 +6089,7 @@ void func_menu_801ABF1C(void) {
Matrix_SetGfxMtx(&gMasterDisp);
gSPDisplayList(gMasterDisp++, D_605A120);
gSPDisplayList(gMasterDisp++, D_MAP_605A120);
}
Matrix_Pop(&gGfxMatrix);
@@ -6110,7 +6110,7 @@ void func_menu_801ABF1C(void) {
Matrix_SetGfxMtx(&gMasterDisp);
gSPClearGeometryMode(gMasterDisp++, G_CULL_BACK);
gSPDisplayList(gMasterDisp++, D_604C350);
gSPDisplayList(gMasterDisp++, D_MAP_604C350);
gSPSetGeometryMode(gMasterDisp++, G_CULL_BACK);
}
Matrix_Pop(&gGfxMatrix);
@@ -6267,7 +6267,7 @@ void func_menu_801AC530(s32 index) {
Lights_SetOneLight(&gMasterDisp, dirX, dirY, dirZ, 50, 50, 40, 0, 0, 0);
gSPDisplayList(gMasterDisp++, D_604A9F0);
gSPDisplayList(gMasterDisp++, D_MAP_604A9F0);
Matrix_Pop(&gGfxMatrix);
}
@@ -6304,7 +6304,7 @@ void func_menu_801AC80C(PathType pathType) {
Matrix_SetGfxMtx(&gMasterDisp);
gSPDisplayList(gMasterDisp++, D_604D680);
gSPDisplayList(gMasterDisp++, D_MAP_604D680);
Matrix_Pop(&gGfxMatrix);
+95 -89
View File
@@ -25,6 +25,7 @@ extern Gfx D_menu_801B57A8[];
#include "assets/ast_font_3d.h"
#include "assets/ast_option.h"
#include "assets/ast_versus.h"
#include "assets/ast_map.h"
extern f32 D_menu_801CD818[];
@@ -172,42 +173,42 @@ static f32 D_menu_801AE620[] = { 1.9f, 2.4f, 0.9f, 1.9f, 1.8f, 2.4f };
// D_menu_801AE638
static OptionEntry sOptionCardList[] = {
{
{ 0, 0, D_8003B50, 0, 72, 12, 126.0f, 46.0f, 1.0f, 1.0f, 20, 0, 75, 255 },
{ 0, 0, D_OPT_8003B50, 0, 72, 12, 126.0f, 46.0f, 1.0f, 1.0f, 20, 0, 75, 255 },
{ 0.0f, 30.0f, -130.0f, 0.2f, 0.11f },
{ -40.0f, 27.0f, 80.0f },
1,
1,
},
{
{ 0, 0, D_8003EB0, 0, 80, 12, 126.0f, 184.0f, 1.0f, 1.0f, 20, 0, 75, 255 },
{ 0, 0, D_OPT_8003EB0, 0, 80, 12, 126.0f, 184.0f, 1.0f, 1.0f, 20, 0, 75, 255 },
{ 0.0f, 18.0f, -130.0f, 0.2f, 0.11f },
{ -40.0f, 16.0f, 80.0f },
1,
1,
},
{
{ 0, 0, D_8004270, 0, 32, 10, 126.0f, 184.0f, 1.0f, 1.0f, 20, 0, 75, 255 },
{ 0, 0, D_OPT_8004270, 0, 32, 10, 126.0f, 184.0f, 1.0f, 1.0f, 20, 0, 75, 255 },
{ 0.0f, 6.0f, -130.0f, 0.2f, 0.11f },
{ -40.0f, 6.0f, 80.0f },
1,
1,
},
{
{ 0, 0, D_80043B0, 0, 64, 12, 110.0f, 91.0f, 1.0f, 1.0f, 20, 0, 75, 255 },
{ 0, 0, D_OPT_80043B0, 0, 64, 12, 110.0f, 91.0f, 1.0f, 1.0f, 20, 0, 75, 255 },
{ 0.0f, -6.0f, -130.0f, 0.2f, 0.11f },
{ -40.0f, -5.0f, 80.0f },
1,
1,
},
{
{ 0, 0, D_80046B0, 0, 64, 10, 110.0f, 116.0f, 1.0f, 1.0f, 20, 0, 75, 255 },
{ 0, 0, D_OPT_80046B0, 0, 64, 10, 110.0f, 116.0f, 1.0f, 1.0f, 20, 0, 75, 255 },
{ 0.0f, -18.0f, -130.0f, 0.2f, 0.11f },
{ -40.0f, -16.0f, 80.0f },
1,
1,
},
{
{ 0, 0, D_8004930, 0, 80, 10, 126.0f, 184.0f, 1.0f, 1.0f, 20, 0, 75, 255 },
{ 0, 0, D_OPT_8004930, 0, 80, 10, 126.0f, 184.0f, 1.0f, 1.0f, 20, 0, 75, 255 },
{ 0.0f, -30.0f, -130.0f, 0.2f, 0.11f },
{ -40.0f, -27.0f, 80.0f },
1,
@@ -218,21 +219,21 @@ static OptionEntry sOptionCardList[] = {
// D_menu_801AE878
static OptionEntry sOptionVSCardList[] = {
{
{ 0, 0, D_8005010, 0, 96, 13, 110.0f, 91.0f, 1.0f, 1.0f, 20, 0, 75, 255 },
{ 0, 0, D_OPT_8005010, 0, 96, 13, 110.0f, 91.0f, 1.0f, 1.0f, 20, 0, 75, 255 },
{ 0.0f, 11.0f, -130.0f, 0.2f, 0.11f },
{ -40.0f, 11.0f, 80.0f },
1,
1,
},
{
{ 0, 0, D_80054F0, 0, 96, 10, 110.0f, 116.0f, 1.0f, 1.0f, 20, 0, 75, 255 },
{ 0, 0, D_OPT_80054F0, 0, 96, 10, 110.0f, 116.0f, 1.0f, 1.0f, 20, 0, 75, 255 },
{ 0.0f, 0.0f, -130.0f, 0.2f, 0.11f },
{ -40.0f, 0.0f, 80.0f },
1,
1,
},
{
{ 0, 0, D_8005910, 0, 96, 10, 110.0f, 138.0f, 1.0f, 1.0f, 20, 0, 75, 255 },
{ 0, 0, D_OPT_8005910, 0, 96, 10, 110.0f, 138.0f, 1.0f, 1.0f, 20, 0, 75, 255 },
{ 0.0f, -11.0f, -130.0f, 0.2f, 0.11f },
{ -40.0f, -11.0f, 80.0f },
1,
@@ -248,22 +249,22 @@ static f32 D_menu_801AE9A0[4] = { 62.0f, 222.0f, 75.0f, 235.0f };
static f32 D_menu_801AE9B0[4] = { 43.0f, 43.0f, 46.0f, 46.0f };
static OptionTexture D_menu_801AE9C0[4] = {
{ 2, 0, D_80143B0, D_80147B0, 32, 32, 56.0f, 175.0f, 1.0f, 1.0f, 255, 255, 255, 255 },
{ 2, 0, D_80143B0, D_80147B0, 32, 32, 216.0f, 175.0f, 1.0f, 1.0f, 255, 255, 255, 255 },
{ 1, 0, D_80039D0, D_8003A50, 16, 16, 69.0f, 178.0f, 1.0f, 1.0f, 255, 255, 255, 255 },
{ 1, 0, D_80039D0, D_8003A50, 16, 16, 229.0f, 178.0f, 1.0f, 1.0f, 255, 255, 255, 255 },
{ 2, 0, D_OPT_80143B0, D_OPT_80147B0, 32, 32, 56.0f, 175.0f, 1.0f, 1.0f, 255, 255, 255, 255 },
{ 2, 0, D_OPT_80143B0, D_OPT_80147B0, 32, 32, 216.0f, 175.0f, 1.0f, 1.0f, 255, 255, 255, 255 },
{ 1, 0, D_OPT_80039D0, D_OPT_8003A50, 16, 16, 69.0f, 178.0f, 1.0f, 1.0f, 255, 255, 255, 255 },
{ 1, 0, D_OPT_80039D0, D_OPT_8003A50, 16, 16, 229.0f, 178.0f, 1.0f, 1.0f, 255, 255, 255, 255 },
};
static OptionTexture D_menu_801AEAA0[3] = {
{ 3, 0, D_8013990, 0, 104, 10, 151.0f, 135.0f, 1.05f, 1.0f, 255, 255, 255, 255 },
{ 3, 0, D_8013990, 0, 104, 10, 151.0f, 161.0f, 1.05f, 1.0f, 255, 255, 255, 255 },
{ 3, 0, D_8013990, 0, 104, 10, 151.0f, 188.0f, 1.05f, 1.0f, 255, 255, 255, 255 },
{ 3, 0, D_OPT_8013990, 0, 104, 10, 151.0f, 135.0f, 1.05f, 1.0f, 255, 255, 255, 255 },
{ 3, 0, D_OPT_8013990, 0, 104, 10, 151.0f, 161.0f, 1.05f, 1.0f, 255, 255, 255, 255 },
{ 3, 0, D_OPT_8013990, 0, 104, 10, 151.0f, 188.0f, 1.05f, 1.0f, 255, 255, 255, 255 },
};
static OptionTexture D_menu_801AEB48[3] = {
{ 3, 0, D_80141B0, 0, 16, 16, 245.0f, 132.0f, 1.0f, 1.0f, 255, 255, 255, 255 },
{ 3, 0, D_80141B0, 0, 16, 16, 245.0f, 158.0f, 1.0f, 1.0f, 255, 255, 255, 255 },
{ 3, 0, D_80141B0, 0, 16, 16, 245.0f, 185.0f, 1.0f, 1.0f, 255, 255, 255, 255 },
{ 3, 0, D_OPT_80141B0, 0, 16, 16, 245.0f, 132.0f, 1.0f, 1.0f, 255, 255, 255, 255 },
{ 3, 0, D_OPT_80141B0, 0, 16, 16, 245.0f, 158.0f, 1.0f, 1.0f, 255, 255, 255, 255 },
{ 3, 0, D_OPT_80141B0, 0, 16, 16, 245.0f, 185.0f, 1.0f, 1.0f, 255, 255, 255, 255 },
};
static Vtx D_menu_801AEBF0[] = {
@@ -328,9 +329,9 @@ static UnkStruct_D_menu_801AED4C D_menu_801AED4C[24] = {
};
static Gfx* D_menu_801AEE6C[16] = {
D_6060610, D_601DE80, D_604B750, D_601F6B0, D_601C0D0, D_601C960,
D_MAP_6060610, D_MAP_601DE80, D_MAP_604B750, D_MAP_601F6B0, D_MAP_601C0D0, D_MAP_601C960,
D_menu_801B5E78, D_menu_801B61E0, D_menu_801B6548, D_menu_801B4D70, D_menu_801B5B10, D_menu_801B5440,
D_menu_801B50D8, D_604DB10, D_menu_801B57A8, D_menu_801B57A8,
D_menu_801B50D8, D_MAP_604DB10, D_menu_801B57A8, D_menu_801B57A8,
};
static char* D_menu_801AEEAC[] = {
@@ -368,10 +369,10 @@ void Option_Setup(void) {
D_80137E78 = 2;
sOptionCardList[0].unk_00.unk_08 = D_8003B50;
sOptionCardList[0].unk_00.unk_08 = D_OPT_8003B50;
sOptionCardList[0].unk_00.unk_10 = 72;
sOptionCardList[0].unk_00.unk_14 = 12;
sOptionCardList[4].unk_00.unk_08 = D_80046B0;
sOptionCardList[4].unk_00.unk_08 = D_OPT_80046B0;
sOptionCardList[4].unk_00.unk_10 = 64;
sOptionCardList[4].unk_00.unk_14 = 10;
@@ -922,13 +923,13 @@ void Option_MainMenuUpdate(void) {
if (temp2 != 0) {
AUDIO_PLAY_SFX(0x49000022, gDefaultSfxSource, 4);
if (D_menu_801B91B0) {
sOptionCardList[0].unk_00.unk_08 = D_8004C50;
sOptionCardList[0].unk_00.unk_08 = D_OPT_8004C50;
sOptionCardList[0].unk_00.unk_10 = 80;
sOptionCardList[0].unk_00.unk_14 = 12;
sOptionCardList[0].unk_00.unk_18 = 125.0f;
sOptionCardList[0].unk_00.unk_1C = 55.0f;
} else {
sOptionCardList[0].unk_00.unk_08 = D_8003B50;
sOptionCardList[0].unk_00.unk_08 = D_OPT_8003B50;
sOptionCardList[0].unk_00.unk_10 = 72;
sOptionCardList[0].unk_00.unk_14 = 12;
sOptionCardList[0].unk_00.unk_18 = 124.0f;
@@ -942,13 +943,13 @@ void Option_MainMenuUpdate(void) {
if (temp2 != 0) {
AUDIO_PLAY_SFX(0x49000022, gDefaultSfxSource, 4);
if (D_menu_801B91AC) {
sOptionCardList[4].unk_00.unk_08 = D_8004C50;
sOptionCardList[4].unk_00.unk_08 = D_OPT_8004C50;
sOptionCardList[4].unk_00.unk_10 = 80;
sOptionCardList[4].unk_00.unk_14 = 12;
sOptionCardList[4].unk_00.unk_18 = 125.0f;
sOptionCardList[4].unk_00.unk_1C = 151.0f;
} else {
sOptionCardList[4].unk_00.unk_08 = D_80046B0;
sOptionCardList[4].unk_00.unk_08 = D_OPT_80046B0;
sOptionCardList[4].unk_00.unk_10 = 64;
sOptionCardList[4].unk_00.unk_14 = 10;
sOptionCardList[4].unk_00.unk_18 = 133.0f;
@@ -1460,11 +1461,12 @@ void Option_SoundDraw(void) {
RCP_SetupDL(&gMasterDisp, 0x4C);
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 255, 255, 255);
TextureRect_16bRGBA(&gMasterDisp, D_60447A0, 8, 8, D_menu_801AEFA8[0], D_menu_801AEFD4[0], D_menu_801AF000, 0.2f);
TextureRect_16bRGBA(&gMasterDisp, D_MAP_60447A0, 8, 8, D_menu_801AEFA8[0], D_menu_801AEFD4[0], D_menu_801AF000,
0.2f);
RCP_SetupDL(&gMasterDisp, 0x53);
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 255, 255, 255);
TextureRect_8bIA(&gMasterDisp, D_8005CD0, 112, 13, D_menu_801AEFA8[1], D_menu_801AEFD4[1], 1.0f, 1.0f);
TextureRect_8bIA(&gMasterDisp, D_OPT_8005CD0, 112, 13, D_menu_801AEFA8[1], D_menu_801AEFD4[1], 1.0f, 1.0f);
for (i = 0; i < 4; i++) {
if (D_menu_801B9288 == i) {
@@ -1476,43 +1478,43 @@ void Option_SoundDraw(void) {
colorGB = D_menu_801B9270[0];
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, colorGB, colorGB, 255);
TextureRect_8bIA(&gMasterDisp, D_8006280, 48, 13, D_menu_801AEFA8[2], D_menu_801AEFD4[2], 1.0f, 1.0f);
TextureRect_8bIA(&gMasterDisp, D_OPT_8006280, 48, 13, D_menu_801AEFA8[2], D_menu_801AEFD4[2], 1.0f, 1.0f);
colorGB = D_menu_801B9270[1];
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, colorGB, colorGB, 255);
TextureRect_8bIA(&gMasterDisp, D_80064F0, 88, 14, D_menu_801AEFA8[3], D_menu_801AEFD4[3], 1.0f, 1.0f);
TextureRect_8bIA(&gMasterDisp, D_OPT_80064F0, 88, 14, D_menu_801AEFA8[3], D_menu_801AEFD4[3], 1.0f, 1.0f);
colorGB = D_menu_801B9270[2];
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, colorGB, colorGB, 255);
TextureRect_8bIA(&gMasterDisp, D_80069C0, 56, 15, D_menu_801AEFA8[4], D_menu_801AEFD4[4], 1.0f, 1.0f);
TextureRect_8bIA(&gMasterDisp, D_OPT_80069C0, 56, 15, D_menu_801AEFA8[4], D_menu_801AEFD4[4], 1.0f, 1.0f);
colorGB = D_menu_801B9270[3];
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, colorGB, colorGB, 255);
TextureRect_8bIA(&gMasterDisp, D_8006D10, 24, 13, D_menu_801AEFA8[5], D_menu_801AEFD4[5], 1.0f, 1.0f);
TextureRect_8bIA(&gMasterDisp, D_OPT_8006D10, 24, 13, D_menu_801AEFA8[5], D_menu_801AEFD4[5], 1.0f, 1.0f);
if (D_menu_801B9288 == 0) {
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 255, 255, 255);
TextureRect_8bIA_MirX(&gMasterDisp, D_800E130, 8, 8, D_menu_801AEFA8[6], D_menu_801AEFD4[6], 1.0f, 1.0f);
TextureRect_8bIA(&gMasterDisp, D_800E130, 8, 8, D_menu_801AEFA8[7], D_menu_801AEFD4[7], 1.0f, 1.0f);
TextureRect_8bIA_MirX(&gMasterDisp, D_OPT_800E130, 8, 8, D_menu_801AEFA8[6], D_menu_801AEFD4[6], 1.0f, 1.0f);
TextureRect_8bIA(&gMasterDisp, D_OPT_800E130, 8, 8, D_menu_801AEFA8[7], D_menu_801AEFD4[7], 1.0f, 1.0f);
}
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 255, 255, 255);
switch (gSoundMode) {
case OPTIONSOUND_STEREO:
TextureRect_8bIA(&gMasterDisp, D_800CD90, 56, 13, D_menu_801AEFA8[8], D_menu_801AEFD4[8], 1.0f, 1.0f);
TextureRect_8bIA(&gMasterDisp, D_OPT_800CD90, 56, 13, D_menu_801AEFA8[8], D_menu_801AEFD4[8], 1.0f, 1.0f);
break;
case OPTIONSOUND_MONO:
TextureRect_8bIA(&gMasterDisp, D_80076E0, 56, 14, D_menu_801AEFA8[9], D_menu_801AEFD4[9], 1.0f, 1.0f);
TextureRect_8bIA(&gMasterDisp, D_OPT_80076E0, 56, 14, D_menu_801AEFA8[9], D_menu_801AEFD4[9], 1.0f, 1.0f);
break;
case OPTIONSOUND_HEADSET:
TextureRect_8bIA(&gMasterDisp, D_8007210, 88, 14, D_menu_801AEFA8[10], D_menu_801AEFD4[10], 1.0f, 1.0f);
TextureRect_8bIA(&gMasterDisp, D_OPT_8007210, 88, 14, D_menu_801AEFA8[10], D_menu_801AEFD4[10], 1.0f, 1.0f);
break;
}
TextureRect_8bIA(&gMasterDisp, D_8006E50, 96, 10, 166.0f, 213.0f, 1.0f, 1.0f);
TextureRect_8bIA(&gMasterDisp, D_OPT_8006E50, 96, 10, 166.0f, 213.0f, 1.0f, 1.0f);
for (i = 0; i < 3; i++) {
Option_DrawCardLabel(D_menu_801AEAA0[i]);
@@ -1724,7 +1726,7 @@ void Option_ExpertSoundDraw(void) {
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 255, 255, 255);
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 255, 255, 255);
TextureRect_8bIA(&gMasterDisp, D_80079F0, 128, 14, 49.0f, 81.0f, 1.0f, 1.0f);
TextureRect_8bIA(&gMasterDisp, D_OPT_80079F0, 128, 14, 49.0f, 81.0f, 1.0f, 1.0f);
TextureRect_8bIA(&gMasterDisp, D_menu_801AECF8[D_menu_801B931C / 10], 16, 15, 230.0f, 82.0f, 1.0f, 1.0f);
@@ -1737,8 +1739,8 @@ void Option_ExpertSoundDraw(void) {
gDPSetPrimColor(gMasterDisp++, 0, 0, 50, 50, 200, 255);
for (i = 0; i < 4; i++) {
TextureRect_16bRGBA(&gMasterDisp, D_60447A0, 8, 8, D_menu_801AF014[i], D_menu_801AF024[i], D_menu_801AF034[i],
D_menu_801AF044[i]);
TextureRect_16bRGBA(&gMasterDisp, D_MAP_60447A0, 8, 8, D_menu_801AF014[i], D_menu_801AF024[i],
D_menu_801AF034[i], D_menu_801AF044[i]);
}
if (D_menu_801B9320 != 0) {
@@ -1869,10 +1871,10 @@ void Option_DataUpdate(void) {
gExpertMode = false;
sOptionCardList[0].unk_00.unk_08 = D_8003B50;
sOptionCardList[0].unk_00.unk_08 = D_OPT_8003B50;
sOptionCardList[0].unk_00.unk_10 = 72;
sOptionCardList[0].unk_00.unk_14 = 12;
sOptionCardList[4].unk_00.unk_08 = D_80046B0;
sOptionCardList[4].unk_00.unk_08 = D_OPT_80046B0;
sOptionCardList[4].unk_00.unk_10 = 64;
sOptionCardList[4].unk_00.unk_14 = 10;
@@ -1947,14 +1949,15 @@ void Option_DataDraw(void) {
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 255, 255, 255);
for (i = 0; i < 2; i++) {
TextureRect_8bIA(&gMasterDisp, D_80084B0 + (i * 176 * 4), 176, 4, D_menu_801AF094[0],
TextureRect_8bIA(&gMasterDisp, D_OPT_80084B0 + (i * 176 * 4), 176, 4, D_menu_801AF094[0],
D_menu_801AF0AC[0] + (4.0f * i), 1.0f, 1.0f);
}
TextureRect_8bIA(&gMasterDisp, D_80084B0 + 1408, 176, 5, D_menu_801AF094[0], D_menu_801AF0AC[0] + 8.0f, 1.0f, 1.0f);
TextureRect_8bIA(&gMasterDisp, D_OPT_80084B0 + 1408, 176, 5, D_menu_801AF094[0], D_menu_801AF0AC[0] + 8.0f, 1.0f,
1.0f);
if (D_menu_801B91CC < 2) {
TextureRect_8bIA_MirX(&gMasterDisp, D_800E130, 8, 8, D_menu_801AF084[D_menu_801B91C0], 140.0f, 1.0f, 1.0f);
TextureRect_8bIA(&gMasterDisp, D_800E130, 8, 8, D_menu_801AF08C[D_menu_801B91C0], 140.0f, 1.0f, 1.0f);
TextureRect_8bIA_MirX(&gMasterDisp, D_OPT_800E130, 8, 8, D_menu_801AF084[D_menu_801B91C0], 140.0f, 1.0f, 1.0f);
TextureRect_8bIA(&gMasterDisp, D_OPT_800E130, 8, 8, D_menu_801AF08C[D_menu_801B91C0], 140.0f, 1.0f, 1.0f);
func_menu_8019C824(&D_menu_801AED20[D_menu_801B91C0]);
D_menu_801AED20[!D_menu_801B91C0] = 255.0f;
@@ -1972,13 +1975,13 @@ void Option_DataDraw(void) {
if (gGameFrameCount & sp74[1]) {
sp7C[1] = D_menu_801AED20[1];
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, sp7C[1], sp7C[1], 255);
TextureRect_8bIA(&gMasterDisp, D_8009980, 32, 12, D_menu_801AF094[1], D_menu_801AF0AC[1], 1.0f, 1.0f);
TextureRect_8bIA(&gMasterDisp, D_OPT_8009980, 32, 12, D_menu_801AF094[1], D_menu_801AF0AC[1], 1.0f, 1.0f);
}
if (gGameFrameCount & sp74[0]) {
sp7C[0] = D_menu_801AED20[0];
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, sp7C[0], sp7C[0], 255);
TextureRect_8bIA(&gMasterDisp, D_8009B00, 40, 12, D_menu_801AF094[2], D_menu_801AF0AC[2], 1.0f, 1.0f);
TextureRect_8bIA(&gMasterDisp, D_OPT_8009B00, 40, 12, D_menu_801AF094[2], D_menu_801AF0AC[2], 1.0f, 1.0f);
}
}
@@ -1987,10 +1990,10 @@ void Option_DataDraw(void) {
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 255, 255, 255);
for (i = 0; i < 9; i++) {
TextureRect_8bIA(&gMasterDisp, D_8008DA0 + (160 * 2 * i), 160, 2, D_menu_801AF094[3],
TextureRect_8bIA(&gMasterDisp, D_OPT_8008DA0 + (160 * 2 * i), 160, 2, D_menu_801AF094[3],
D_menu_801AF0AC[3] + (2.0f * i), 1.0f, 1.0f);
}
TextureRect_8bIA(&gMasterDisp, D_8008DA0 + 2880, 160, 1, D_menu_801AF094[3], D_menu_801AF0AC[3] + 18.0f,
TextureRect_8bIA(&gMasterDisp, D_OPT_8008DA0 + 2880, 160, 1, D_menu_801AF094[3], D_menu_801AF0AC[3] + 18.0f,
1.0f, 1.0f);
break;
@@ -1999,19 +2002,19 @@ void Option_DataDraw(void) {
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 255, 255, 255);
for (i = 0; i < 20; i++) {
TextureRect_8bIA(&gMasterDisp, D_8009CE0 + (160 * 2 * i), 160, 2, D_menu_801AF094[4],
TextureRect_8bIA(&gMasterDisp, D_OPT_8009CE0 + (160 * 2 * i), 160, 2, D_menu_801AF094[4],
D_menu_801AF0AC[4] + (2.0f * i), 1.0f, 1.0f);
}
TextureRect_8bIA(&gMasterDisp, D_8009CE0 + 6400, 160, 1, D_menu_801AF094[4], D_menu_801AF0AC[4] + 40.0f,
TextureRect_8bIA(&gMasterDisp, D_OPT_8009CE0 + 6400, 160, 1, D_menu_801AF094[4], D_menu_801AF0AC[4] + 40.0f,
1.0f, 1.0f);
break;
case 3:
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 32, 32, 255);
TextureRect_8bIA(&gMasterDisp, D_800B680, 144, 28, D_menu_801AF094[5], D_menu_801AF0AC[5], 1.0f, 1.0f);
TextureRect_8bIA(&gMasterDisp, D_800B680 + 4032, 144, 13, D_menu_801AF094[5], D_menu_801AF0AC[5] + 28.0f,
1.0f, 1.0f);
TextureRect_8bIA(&gMasterDisp, D_OPT_800B680, 144, 28, D_menu_801AF094[5], D_menu_801AF0AC[5], 1.0f, 1.0f);
TextureRect_8bIA(&gMasterDisp, D_OPT_800B680 + 4032, 144, 13, D_menu_801AF094[5],
D_menu_801AF0AC[5] + 28.0f, 1.0f, 1.0f);
break;
}
@@ -2181,8 +2184,8 @@ void func_menu_8019752C(void) {
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 255, 255, 255);
TextureRect_8bIA(&gMasterDisp, D_800D170, 8, 16, 0.0f, D_menu_801AF0F8[0], 40.0f, 1.5f);
TextureRect_8bIA_MirY(&gMasterDisp, D_800D170, 8, 16, 0.0f, D_menu_801AF0F8[1], 40.0f, 1.5f);
TextureRect_8bIA(&gMasterDisp, D_OPT_800D170, 8, 16, 0.0f, D_menu_801AF0F8[0], 40.0f, 1.5f);
TextureRect_8bIA_MirY(&gMasterDisp, D_OPT_800D170, 8, 16, 0.0f, D_menu_801AF0F8[1], 40.0f, 1.5f);
func_8003DE68(0, 70);
func_8003DE68(170, 239);
@@ -2196,7 +2199,7 @@ void func_menu_8019752C(void) {
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, temp_a0, temp_a0, 255);
}
TextureRect_8bIA(&gMasterDisp, D_800D070, 16, 16, 150.0f, 44.0f, 1.0f, 1.0f);
TextureRect_8bIA(&gMasterDisp, D_OPT_800D070, 16, 16, 150.0f, 44.0f, 1.0f, 1.0f);
if (D_menu_801B91D4 <= -1055.0f) {
gDPSetPrimColor(gMasterDisp++, 0, 0, 32, 32, 32, 255);
@@ -2206,7 +2209,7 @@ void func_menu_8019752C(void) {
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, temp_a0, temp_a0, 255);
}
TextureRect_8bIA_MirY(&gMasterDisp, D_800D070, 16, 16, 150.0f, 200.0f, 1.0f, 1.0f);
TextureRect_8bIA_MirY(&gMasterDisp, D_OPT_800D070, 16, 16, 150.0f, 200.0f, 1.0f, 1.0f);
}
static Vec3f D_menu_801AF100[2] = { { 0.0f, 167.0f, 0.0f }, { 0.0f, -167.0f, 0.0f } };
@@ -2247,19 +2250,21 @@ void func_menu_80197A3C(s32 arg0, s32 arg1, s32 arg2) {
switch (arg0) {
case 0:
TextureRect_4bCI(&gMasterDisp, D_8003A70, D_8003AB8, 16, 9, arg1 + 17.0f, arg2 - 19.0f, 1.0f, 1.0f);
TextureRect_4bCI(&gMasterDisp, D_OPT_8003A70, D_OPT_8003AB8, 16, 9, arg1 + 17.0f, arg2 - 19.0f, 1.0f, 1.0f);
break;
case 1:
TextureRect_4bCI(&gMasterDisp, D_80038E0, D_8003930, 16, 10, arg1 + 17.0f, arg2 - 19.0f, 1.0f, 1.0f);
TextureRect_4bCI(&gMasterDisp, D_OPT_80038E0, D_OPT_8003930, 16, 10, arg1 + 17.0f, arg2 - 19.0f, 1.0f,
1.0f);
break;
case 2:
TextureRect_4bCI(&gMasterDisp, D_8003950, D_80039A8, 16, 11, arg1 + 17.0f, arg2 - 20.0f, 1.0f, 1.0f);
TextureRect_4bCI(&gMasterDisp, D_OPT_8003950, D_OPT_80039A8, 16, 11, arg1 + 17.0f, arg2 - 20.0f, 1.0f,
1.0f);
break;
default:
TextureRect_4bCI(&gMasterDisp, D_8003AE0, D_8003B28, 16, 9, arg1 + 17.0f, arg2 - 19.0f, 1.0f, 1.0f);
TextureRect_4bCI(&gMasterDisp, D_OPT_8003AE0, D_OPT_8003B28, 16, 9, arg1 + 17.0f, arg2 - 19.0f, 1.0f, 1.0f);
break;
}
}
@@ -2282,7 +2287,7 @@ void func_menu_80197D30(s32 arg0, s32 arg1, s32 arg2) {
void func_menu_80197DE4(s32 arg0, s32 arg1, s32 arg2) {
RCP_SetupDL(&gMasterDisp, 0x53);
gDPSetPrimColor(gMasterDisp++, 0, 0, 60, 60, 255, 170);
TextureRect_8bIA(&gMasterDisp, D_601B4B0, 24, 17, arg1, arg2, 3.17f, 1.05f);
TextureRect_8bIA(&gMasterDisp, D_MAP_601B4B0, 24, 17, arg1, arg2, 3.17f, 1.05f);
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 255, 0, 255);
Graphics_DisplaySmallText(arg1, arg2, 1.0f, 1.0f, "TOTAL HITS");
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 255, 255, 255);
@@ -2369,10 +2374,10 @@ void func_menu_801982B0(s32 arg0, s32 arg1, f32 arg2, f32 arg3, s32 arg4) {
}
}
gDPSetPrimColor(gMasterDisp++, 0, 0, r, g, b, 255);
TextureRect_16bRGBA(&gMasterDisp, D_60447A0, 8, 8, arg2 + 24.0f, arg3 + 11.0f, 2.0f, 0.2f);
TextureRect_16bRGBA(&gMasterDisp, D_MAP_60447A0, 8, 8, arg2 + 24.0f, arg3 + 11.0f, 2.0f, 0.2f);
}
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 255, 255, 255);
TextureRect_16bRGBA(&gMasterDisp, D_6047550, 24, 24, arg2, arg3, 1.0f, 1.0f);
TextureRect_16bRGBA(&gMasterDisp, D_MAP_6047550, 24, 24, arg2, arg3, 1.0f, 1.0f);
}
}
@@ -2560,7 +2565,7 @@ void func_menu_8019896C(s32 arg0, f32 y, s32 arg2) {
Matrix_Scale(gGfxMatrix, 1.6f, 1.6f, 1.6f, 1);
Matrix_SetGfxMtx(&gMasterDisp);
gSPDisplayList(gMasterDisp++, D_605C230);
gSPDisplayList(gMasterDisp++, D_MAP_605C230);
Matrix_Pop(&gGfxMatrix);
break;
@@ -2591,7 +2596,7 @@ void func_menu_80199198(f32 arg0, f32 arg1, f32 arg2) {
Matrix_Translate(gGfxMatrix, arg0 - D_menu_801AF140, arg1 + D_menu_801AF144, arg2, 1);
Matrix_Scale(gGfxMatrix, D_menu_801AF13C, D_menu_801AF13C, D_menu_801AF13C, 1);
Matrix_SetGfxMtx(&gMasterDisp);
gSPDisplayList(gMasterDisp++, D_601D1F0);
gSPDisplayList(gMasterDisp++, D_MAP_601D1F0);
Matrix_Pop(&gGfxMatrix);
}
@@ -2820,10 +2825,10 @@ void func_menu_80199820(s32 arg0) {
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 255, 255, 255);
TextureRect_8bIA_MirX(&gMasterDisp, D_800E130, 8, 8, D_menu_801AF148[arg0] + D_menu_801AF1D4,
TextureRect_8bIA_MirX(&gMasterDisp, D_OPT_800E130, 8, 8, D_menu_801AF148[arg0] + D_menu_801AF1D4,
D_menu_801AF158[arg0] + D_menu_801AF1DC, 1.0f, 1.0f);
TextureRect_8bIA(&gMasterDisp, D_800E130, 8, 8, D_menu_801AF148[arg0] + D_menu_801AF1D8,
TextureRect_8bIA(&gMasterDisp, D_OPT_800E130, 8, 8, D_menu_801AF148[arg0] + D_menu_801AF1D8,
D_menu_801AF158[arg0] + D_menu_801AF1DC, 1.0f, 1.0f);
TextureRect_8bIA(&gMasterDisp, D_VS_7000F10, 40, 7, D_menu_801AF148[arg0] + D_menu_801AF1CC,
@@ -3180,7 +3185,7 @@ void func_menu_8019AB30(void) {
gDPSetPrimColor(gMasterDisp++, 0, 0, 60, 60, 255, 190);
TextureRect_8bIA(&gMasterDisp, D_601B4B0, 24, 17, 94.0f, 43.0f, 5.0f, 1.1f);
TextureRect_8bIA(&gMasterDisp, D_MAP_601B4B0, 24, 17, 94.0f, 43.0f, 5.0f, 1.1f);
if (D_menu_801B912C == 0) {
func_menu_8019B6D8(97.0f, 50.0f, 107.0f, 255, 255, 255);
@@ -3231,7 +3236,7 @@ void func_menu_8019AD84(void) {
gDPSetPrimColor(gMasterDisp++, 0, 0, 60, 60, 255, 190);
TextureRect_8bIA(&gMasterDisp, D_601B4B0, 24, 17, 93.0f, 42.0f, 5.1f, 1.1f);
TextureRect_8bIA(&gMasterDisp, D_MAP_601B4B0, 24, 17, 93.0f, 42.0f, 5.1f, 1.1f);
if (D_menu_801B912C == 0) {
D_menu_801B9324 = 97.0f;
@@ -3437,8 +3442,8 @@ void func_menu_8019B6D8(f32 xPos, f32 yPos, f32 offset, s32 r, s32 g, s32 b) {
void func_menu_8019B7D4(void) {
RCP_SetupDL(&gMasterDisp, 0x53);
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 255, 255, 255);
TextureRect_8bIA(&gMasterDisp, D_80080F0, 96, 10, 62.0f, 213.0f, 1.0f, 1.0f);
TextureRect_8bIA(&gMasterDisp, D_8006E50, 96, 10, 166.0f, 213.0f, 1.0f, 1.0f);
TextureRect_8bIA(&gMasterDisp, D_OPT_80080F0, 96, 10, 62.0f, 213.0f, 1.0f, 1.0f);
TextureRect_8bIA(&gMasterDisp, D_OPT_8006E50, 96, 10, 166.0f, 213.0f, 1.0f, 1.0f);
}
void func_menu_8019B8A0(s32 arg0) {
@@ -3475,7 +3480,7 @@ void Option_DrawMenuCard(MenuContext_38 arg0) {
Matrix_SetGfxMtx(&gMasterDisp);
gSPDisplayList(gMasterDisp++, D_8015550);
gSPDisplayList(gMasterDisp++, D_OPT_8015550);
Matrix_Pop(&gGfxMatrix);
@@ -3512,7 +3517,7 @@ void func_menu_8019BC44(f32 x, f32 y, f32 arg2, f32 arg3, f32 arg4, f32 arg5) {
RCP_SetupDL_55();
gSPDisplayList(gMasterDisp++, D_604A9F0);
gSPDisplayList(gMasterDisp++, D_MAP_604A9F0);
Matrix_Pop(&gGfxMatrix);
}
@@ -3578,7 +3583,7 @@ void func_menu_8019C04C(void) {
Matrix_SetGfxMtx(&gMasterDisp);
gSPDisplayList(gMasterDisp++, D_8015DF0);
gSPDisplayList(gMasterDisp++, D_OPT_8015DF0);
Matrix_Pop(&gGfxMatrix);
@@ -4411,33 +4416,34 @@ void Option_InvoiceDraw(void) {
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 255, 255, 255);
TextureRect_4bCI(&gMasterDisp, D_8000000, D_8000680, 128, 16, D_menu_801AF3D0[0], D_menu_801AF3F0[0], 1.0f, 1.0f);
TextureRect_4bCI(&gMasterDisp, D_OPT_8000000, D_OPT_8000680, 128, 16, D_menu_801AF3D0[0], D_menu_801AF3F0[0], 1.0f,
1.0f);
TextureRect_4bCI(&gMasterDisp, D_8000000 + 1024, D_8000680, 128, 10, D_menu_801AF3D0[0], D_menu_801AF3F0[0] + 16.0f,
1.0f, 1.0f);
TextureRect_4bCI(&gMasterDisp, D_OPT_8000000 + 1024, D_OPT_8000680, 128, 10, D_menu_801AF3D0[0],
D_menu_801AF3F0[0] + 16.0f, 1.0f, 1.0f);
for (i = 0; i < 2; i++) {
TextureRect_4bCI(&gMasterDisp, D_80006A0 + (256 * 16 * i) / 2, D_80017A0, 256, 16, D_menu_801AF3D0[1],
TextureRect_4bCI(&gMasterDisp, D_OPT_80006A0 + (256 * 16 * i) / 2, D_OPT_80017A0, 256, 16, D_menu_801AF3D0[1],
D_menu_801AF3F0[1] + (16 * i), 1.0f, 1.0f);
}
TextureRect_4bCI(&gMasterDisp, D_80006A0 + 256 * 16, D_80017A0, 256, 2, D_menu_801AF3D0[1],
TextureRect_4bCI(&gMasterDisp, D_OPT_80006A0 + 256 * 16, D_OPT_80017A0, 256, 2, D_menu_801AF3D0[1],
D_menu_801AF3F0[1] + 32.0f, 1.0f, 1.0f);
for (i = 0; i < 4; i++) {
TextureRect_4bCI(&gMasterDisp, D_80017C0 + (256 * 16 * i) / 2, D_80038C0, 256, 16, D_menu_801AF3D0[2],
TextureRect_4bCI(&gMasterDisp, D_OPT_80017C0 + (256 * 16 * i) / 2, D_OPT_80038C0, 256, 16, D_menu_801AF3D0[2],
D_menu_801AF3F0[2] + (16 * i), 1.0f, 1.0f);
}
TextureRect_4bCI(&gMasterDisp, D_80017C0 + 8192, D_80038C0, 256, 2, D_menu_801AF3D0[2], D_menu_801AF3F0[2] + 64.0f,
1.0f, 1.0f);
TextureRect_4bCI(&gMasterDisp, D_OPT_80017C0 + 8192, D_OPT_80038C0, 256, 2, D_menu_801AF3D0[2],
D_menu_801AF3F0[2] + 64.0f, 1.0f, 1.0f);
RCP_SetupDL(&gMasterDisp, 0x4C);
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 255, 255, 255);
for (i = 0; i < 30; i++) {
TextureRect_16bRGBA(&gMasterDisp, D_800E170 + (188 * 2 * i), 188, 2, D_menu_801AF3D0[3],
TextureRect_16bRGBA(&gMasterDisp, D_OPT_800E170 + (188 * 2 * i), 188, 2, D_menu_801AF3D0[3],
D_menu_801AF3F0[3] + (2.0f * i), 1.0f, 1.0f);
}
@@ -4453,7 +4459,7 @@ void Option_InvoiceDraw(void) {
if (D_menu_801B9090) {
gDPSetPrimColor(gMasterDisp++, 0, 0, 120, 0, 0, 192);
for (i = 0; i < 3; i++) {
TextureRect_8bIA(&gMasterDisp, D_800D1F0 + (80 * 16 * i), 80, 16, D_menu_801AF3D0[5],
TextureRect_8bIA(&gMasterDisp, D_OPT_800D1F0 + (80 * 16 * i), 80, 16, D_menu_801AF3D0[5],
D_menu_801AF3F0[5] + (16.0f * i), 1.0f, 1.0f);
}
}
+3 -1
View File
@@ -3,10 +3,12 @@
* System: Title
* Description: Starfox Title Handler
*/
// #include "prevent_bss_reordering.h"
#include "prevent_bss_reordering.h"
// #include "prevent_bss_reordering2.h"
#include "global.h"
#include "assets.h"
#include "fox_title.h"
#include "assets/ast_title.h"
extern Animation D_602F8E0;
extern Animation D_60305C0;