mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-11 03:25:52 -04:00
dummy data should be static
This commit is contained in:
@@ -169,7 +169,7 @@ void daGhostship_c::modeProcCall() {
|
||||
}
|
||||
|
||||
// probably unused/debug colors or something
|
||||
const u32 dummy[] = {
|
||||
static const u32 dummy[] = {
|
||||
0x0000FF80,
|
||||
0xFF000080,
|
||||
0xFF000080,
|
||||
@@ -179,7 +179,7 @@ const u32 dummy[] = {
|
||||
0x0000FF80,
|
||||
0x0000FF80,
|
||||
};
|
||||
u32 dummyFunc() {
|
||||
static u32 dummyFunc() {
|
||||
return dummy[0];
|
||||
}
|
||||
|
||||
|
||||
@@ -1051,7 +1051,7 @@ void daNpc_kam_c::initialDescendEvent(int evtStaffId) {
|
||||
}
|
||||
|
||||
// Needed for the .rodata section to match.
|
||||
const f32 dummy5[] = {40.0f};
|
||||
static const f32 dummy5[] = {40.0f};
|
||||
|
||||
/* 00003730-00003864 .text actionDescendEvent__11daNpc_kam_cFi */
|
||||
BOOL daNpc_kam_c::actionDescendEvent(int evtStaffId) {
|
||||
|
||||
@@ -119,7 +119,7 @@ void daObj_Hole_c::modeWait() {
|
||||
}
|
||||
|
||||
// Required to make rodata match
|
||||
const u8 dummy5[] = { 0x00, 0xFF, 0x00, 0x80};
|
||||
static const u8 dummy5[] = { 0x00, 0xFF, 0x00, 0x80};
|
||||
|
||||
/* 000004F0-000004F4 .text modeEventInit__12daObj_Hole_cFv */
|
||||
void daObj_Hole_c::modeEventInit() {
|
||||
|
||||
@@ -10,7 +10,7 @@ static f32 dummy1[3] = {1.0f, 1.0f, 1.0f};
|
||||
static f32 dummy2[3] = {1.0f, 1.0f, 1.0f};
|
||||
static u8 dummy3[4] = {0x02, 0x00, 0x02, 0x01};
|
||||
static f64 dummy4[2] = {3.0, 0.5};
|
||||
u8 dummy5[0x4C];
|
||||
static u8 dummy5[0x4C];
|
||||
|
||||
#include "d/actor/d_a_obj_movebox.h"
|
||||
#include "d/d_cc_d.h"
|
||||
|
||||
@@ -15,7 +15,7 @@ static f32 dummy1[3] = {1.0f, 1.0f, 1.0f};
|
||||
static f32 dummy2[3] = {1.0f, 1.0f, 1.0f};
|
||||
static u8 dummy3[4] = {0x02, 0x00, 0x02, 0x01};
|
||||
static f64 dummy4[2] = {3.0, 0.5};
|
||||
u8 dummy5[0x4C];
|
||||
static u8 dummy5[0x4C];
|
||||
|
||||
char* daObjMtest::Act_c::M_arcname[Type_Max] = {
|
||||
"Mtest",
|
||||
|
||||
+1
-1
@@ -38,7 +38,7 @@ void dStage_SetErrorRoom() {}
|
||||
/* 8004093C-80040940 .text dStage_SetErrorStage__Fv */
|
||||
void dStage_SetErrorStage() {}
|
||||
|
||||
Vec dummy;
|
||||
static Vec dummy;
|
||||
|
||||
dStage_KeepTresureInfo TresureInfo;
|
||||
dStage_KeepDoorInfo DoorInfo;
|
||||
|
||||
Reference in New Issue
Block a user