mirror of
https://github.com/zeldaret/tww.git
synced 2024-11-26 23:01:24 +00:00
Add fake headers for unsolved weak objects to reduce manual copy-pasting
This commit is contained in:
parent
cb75b2dad4
commit
329d94a301
@ -1,10 +1,8 @@
|
||||
#ifndef F_F_OP_CAMERA_H_
|
||||
#define F_F_OP_CAMERA_H_
|
||||
|
||||
#include "d/d_cam_param.h"
|
||||
#include "d/d_camera.h"
|
||||
#include "f_op/f_op_view.h"
|
||||
#include "global.h"
|
||||
|
||||
typedef struct leafdraw_method_class leafdraw_method_class;
|
||||
|
||||
|
12
include/weak_bss_3569.h
Normal file
12
include/weak_bss_3569.h
Normal file
@ -0,0 +1,12 @@
|
||||
#ifndef WEAK_BSS_3569_H
|
||||
#define WEAK_BSS_3569_H
|
||||
|
||||
// Fake header.
|
||||
// This is some kind of weak objects that get included in the .bss sections of several TUs.
|
||||
// Its true source is currently unknown, so include this header in TUs that need it to match for now.
|
||||
|
||||
#include "dolphin/mtx/vec.h"
|
||||
|
||||
static Vec bss_3569;
|
||||
|
||||
#endif /* WEAK_BSS_3569_H */
|
30
include/weak_bss_936_to_1036.h
Normal file
30
include/weak_bss_936_to_1036.h
Normal file
@ -0,0 +1,30 @@
|
||||
#ifndef WEAK_BSS_936_TO_1036_H
|
||||
#define WEAK_BSS_936_TO_1036_H
|
||||
|
||||
// Fake header.
|
||||
// These are some kind of weak objects that get included in the .bss sections of several TUs.
|
||||
// Their true source is currently unknown, so include this header in TUs that need them to match for now.
|
||||
|
||||
#include "global.h"
|
||||
|
||||
#include "weak_bss_3569.h" // IWYU pragma: keep
|
||||
|
||||
// They each have size 1, and alignment 1 in the debug maps, but alignment 4 in the non-debug maps.
|
||||
static u8 bss_1036 ALIGN_DECL(4);
|
||||
static u8 bss_1034 ALIGN_DECL(4);
|
||||
static u8 bss_1032 ALIGN_DECL(4);
|
||||
static u8 bss_1031 ALIGN_DECL(4);
|
||||
static u8 bss_1026 ALIGN_DECL(4);
|
||||
static u8 bss_1024 ALIGN_DECL(4);
|
||||
static u8 bss_1022 ALIGN_DECL(4);
|
||||
static u8 bss_1021 ALIGN_DECL(4);
|
||||
static u8 bss_984 ALIGN_DECL(4);
|
||||
static u8 bss_982 ALIGN_DECL(4);
|
||||
static u8 bss_980 ALIGN_DECL(4);
|
||||
static u8 bss_979 ALIGN_DECL(4);
|
||||
static u8 bss_941 ALIGN_DECL(4);
|
||||
static u8 bss_939 ALIGN_DECL(4);
|
||||
static u8 bss_937 ALIGN_DECL(4);
|
||||
static u8 bss_936 ALIGN_DECL(4);
|
||||
|
||||
#endif /* WEAK_BSS_936_TO_1036_H */
|
22
include/weak_data_1811.h
Normal file
22
include/weak_data_1811.h
Normal file
@ -0,0 +1,22 @@
|
||||
#ifndef WEAK_DATA_1811_H
|
||||
#define WEAK_DATA_1811_H
|
||||
|
||||
// Fake header.
|
||||
// @1811 is a weak object that gets included in the .data sections of several TUs.
|
||||
// Its true source is this line:
|
||||
// u8 attnFnTbl[] = { GX_AF_NONE, GX_AF_SPEC, GX_AF_NONE, GX_AF_SPOT };
|
||||
// Which appears in the weak function J3DColorChan::getAttnFn, which is supposed to go in a header.
|
||||
// But for some reason, that line causes the weak objects to appear in .rodata.
|
||||
// So for now, that function is moved to the .cpp file, and TUs that need this object should include this header.
|
||||
|
||||
#include "weak_data_2100_2080.h" // IWYU pragma: keep
|
||||
|
||||
static u8 data_1811[] = {0x02, 0x00, 0x02, 0x01};
|
||||
|
||||
// This object is strange, as it has no symbol associated with it.
|
||||
// It always seems to come after @1811 ends at offset 0x1C, getting padded to start at 0x20 and ending at 0x30.
|
||||
// It being an array of two doubles is guessed based on how it looks and its apparently 0x8 byte alignment.
|
||||
// Its actual purpose is unknown since it's never used.
|
||||
static f64 data_no_symbol_3_5[2] = {3.0, 0.5};
|
||||
|
||||
#endif /* WEAK_DATA_1811_H */
|
17
include/weak_data_2100_2080.h
Normal file
17
include/weak_data_2100_2080.h
Normal file
@ -0,0 +1,17 @@
|
||||
#ifndef WEAK_DATA_2100_2080_H
|
||||
#define WEAK_DATA_2100_2080_H
|
||||
|
||||
// Fake header.
|
||||
// These are weak objects that get included in the .data sections of several TUs.
|
||||
// Their true source is likely this line of code that appears twice in J3DJoint.h:
|
||||
// J3DSys::mParentS = (Vec){1.0f, 1.0f, 1.0f};
|
||||
// But for some reason, that line causes the weak objects to appear in .rodata.
|
||||
// So for now, the line is commented out, and TUs that need these objects should include this header.
|
||||
// Note: For d_snap and J3DUClipper, these objects *are* supposed to appear in .rodata, but those are the only ones.
|
||||
|
||||
#include "dolphin/mtx/vec.h"
|
||||
|
||||
static Vec data_2100 = {1.0f, 1.0f, 1.0f};
|
||||
static Vec data_2080 = {1.0f, 1.0f, 1.0f};
|
||||
|
||||
#endif /* WEAK_DATA_2100_2080_H */
|
@ -5,9 +5,7 @@
|
||||
|
||||
#include "JSystem/J3DGraphBase/J3DSys.h"
|
||||
#include "JSystem/J3DGraphBase/J3DGD.h"
|
||||
#include "JSystem/J3DGraphBase/J3DTexture.h"
|
||||
#include "JSystem/J3DGraphBase/J3DTevs.h"
|
||||
#include "JSystem/J3DGraphBase/J3DShape.h"
|
||||
#include "dolphin/os/OS.h"
|
||||
#include "global.h"
|
||||
|
||||
|
@ -24,11 +24,8 @@
|
||||
#include "d/actor/d_a_bomb.h"
|
||||
#include "stdio.h"
|
||||
|
||||
static u8 dummy_3569[0xC];
|
||||
|
||||
// Needed for the .data section to match.
|
||||
static Vec dummy_2100 = {1.0f, 1.0f, 1.0f};
|
||||
static Vec dummy_2080 = {1.0f, 1.0f, 1.0f};
|
||||
#include "weak_bss_3569.h" // IWYU pragma: keep
|
||||
#include "weak_data_2100_2080.h" // IWYU pragma: keep
|
||||
|
||||
static mDoDvdThd_toMainRam_c* l_gbaCommand;
|
||||
|
||||
|
@ -6,11 +6,7 @@
|
||||
#include "global.h"
|
||||
#include "d/d_procname.h"
|
||||
|
||||
// need to figure out what's putting this data in front of a bunch of rels with the compiler-generated symbol names
|
||||
static f32 dummy[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};
|
||||
#include "weak_data_1811.h" // IWYU pragma: keep
|
||||
|
||||
#include "d/actor/d_a_agbsw0.h"
|
||||
#include "f_op/f_op_actor_mng.h"
|
||||
|
@ -25,11 +25,7 @@
|
||||
#include "d/actor/d_a_bomb.h"
|
||||
#include "d/actor/d_a_bomb2.h"
|
||||
|
||||
// Needed for the .data section to match.
|
||||
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};
|
||||
#include "weak_data_1811.h" // IWYU pragma: keep
|
||||
|
||||
enum Action {
|
||||
ACTION_DOUSA = 0x0,
|
||||
|
@ -19,14 +19,10 @@
|
||||
#include "d/d_jnt_hit.h"
|
||||
#include "d/d_cc_uty.h"
|
||||
#include "SSystem/SComponent/c_lib.h"
|
||||
#include "f_op/f_op_camera_mng.h"
|
||||
#include "f_op/f_op_camera.h"
|
||||
#include "f_op/f_op_kankyo_mng.h"
|
||||
|
||||
// Needed for the .data section to match.
|
||||
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};
|
||||
#include "weak_data_1811.h" // IWYU pragma: keep
|
||||
|
||||
enum Action {
|
||||
ACTION_DOUSA = 0x0,
|
||||
|
@ -23,9 +23,7 @@ u32 daPy_py_c::checkPlayerFly() const { return 0; }
|
||||
#include "d/d_s_play.h"
|
||||
#include "d/res/res_link.h"
|
||||
|
||||
// Needed for the .data section to match.
|
||||
static f32 dummy1[3] = {1.0f, 1.0f, 1.0f};
|
||||
static f32 dummy2[3] = {1.0f, 1.0f, 1.0f};
|
||||
#include "weak_data_2100_2080.h" // IWYU pragma: keep
|
||||
|
||||
s16 daArrow_c::m_count;
|
||||
|
||||
|
@ -10,11 +10,7 @@
|
||||
#include "d/actor/d_a_bgn.h"
|
||||
|
||||
#if VERSION == VERSION_USA
|
||||
// Needed for the .data section to match.
|
||||
static Vec dummy_2100 = {1.0f, 1.0f, 1.0f};
|
||||
static Vec dummy_2080 = {1.0f, 1.0f, 1.0f};
|
||||
static u8 dummy_1811[] = {0x02, 0x00, 0x02, 0x01};
|
||||
static f64 dummy4[2] = {3.0, 0.5};
|
||||
#include "weak_data_1811.h" // IWYU pragma: keep
|
||||
#endif
|
||||
|
||||
static bgn_class* boss;
|
||||
|
@ -11,6 +11,9 @@
|
||||
#include "d/d_procname.h"
|
||||
#include "m_Do/m_Do_controller_pad.h"
|
||||
|
||||
#include "weak_bss_936_to_1036.h" // IWYU pragma: keep
|
||||
#include "weak_data_1811.h" // IWYU pragma: keep
|
||||
|
||||
struct NpcDatStruct {
|
||||
/* 0x00 */ f32 field_0x00;
|
||||
/* 0x04 */ f32 field_0x04;
|
||||
@ -34,8 +37,6 @@ struct NpcCameraDatStruct {
|
||||
/* 0x0A */ s16 field_0x0A;
|
||||
};
|
||||
|
||||
static u8 dummy_bss[0x4C];
|
||||
|
||||
static cXyz l_camera_pos[3][2] = {
|
||||
cXyz(-265.0f, 48.0f, -631.0f),
|
||||
cXyz(332.0f, 232.0f, 286.0f),
|
||||
@ -51,12 +52,6 @@ static cXyz l_camera_pos[3][2] = {
|
||||
static daAuction_HIO_c l_HIO;
|
||||
#endif
|
||||
|
||||
// Needed for the .data section to match.
|
||||
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.0f, 0.5f};
|
||||
|
||||
|
||||
static daAuction_c::ItemData l_item_dat[] = {
|
||||
{dItem_JOY_PENDANT_e, 0x1D10, 40, 0x0F01},
|
||||
|
@ -10,12 +10,9 @@
|
||||
#include "d/actor/d_a_player_main.h"
|
||||
#include "d/actor/d_a_bomb2.h"
|
||||
|
||||
static cXyz bomb_offset(0.0f, 0.0f, 0.0f);
|
||||
#include "weak_data_1811.h" // IWYU pragma: keep
|
||||
|
||||
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.0f, 0.5f};
|
||||
static cXyz bomb_offset(0.0f, 0.0f, 0.0f);
|
||||
|
||||
static dCcD_SrcCyl l_cyl_src = {
|
||||
// dCcD_SrcGObjInf
|
||||
|
@ -15,16 +15,7 @@
|
||||
#include "m_Do/m_Do_ext.h"
|
||||
#include "m_Do/m_Do_mtx.h"
|
||||
|
||||
static Vec dummy1 = { 1.0f, 1.0f, 1.0f };
|
||||
static Vec dummy2 = { 1.0f, 1.0f, 1.0f };
|
||||
static struct {
|
||||
u32 m0;
|
||||
f32 m1;
|
||||
f32 m2;
|
||||
f32 m3;
|
||||
f32 m4;
|
||||
f32 m5;
|
||||
} dummy3 = { 0x02000201, 0.0f, 2.125f, 0.0f, 1.75f, 0.0f };
|
||||
#include "weak_data_1811.h" // IWYU pragma: keep
|
||||
|
||||
static btd_class* btd = NULL;
|
||||
|
||||
|
@ -26,7 +26,8 @@
|
||||
#include "d/d_snap.h"
|
||||
#include "JSystem/JUtility/JUTReport.h"
|
||||
|
||||
static u8 dummy[0x49];
|
||||
#include "weak_bss_936_to_1036.h" // IWYU pragma: keep
|
||||
#include "weak_data_1811.h" // IWYU pragma: keep
|
||||
|
||||
static u8 hio_set;
|
||||
static u8 another_hit;
|
||||
@ -34,12 +35,6 @@ static fopAc_ac_c* ken;
|
||||
static s8 search_sp;
|
||||
static bkHIO_c l_bkHIO;
|
||||
|
||||
// Needed for the .data section to match.
|
||||
static Vec dummy_2100 = {1.0f, 1.0f, 1.0f};
|
||||
static Vec dummy_2080 = {1.0f, 1.0f, 1.0f};
|
||||
static u8 dummy_1811[] = {0x02, 0x00, 0x02, 0x01};
|
||||
static f64 dummy4[2] = {3.0, 0.5};
|
||||
|
||||
static dCcG_At_Spl bk_at_kind[] = { dCcG_At_Spl_UNK0, dCcG_At_Spl_UNK1, dCcG_At_Spl_UNK0 };
|
||||
static int bk_attack_ready_SE[] = { JA_SE_CV_BK_KAMAE, JA_SE_CV_BK_KAMAE, -0xDCF }; // TODO what is -0xDCF?
|
||||
static int bk_attack_go_SE[] = { JA_SE_CV_BK_ATTACK_S, JA_SE_CV_BK_ATTACK_L, -0xDCF }; // TODO what is -0xDCF?
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include "d/d_procname.h"
|
||||
#include "d/d_bg_s_lin_chk.h"
|
||||
|
||||
static u8 dummy_bss[0x4C];
|
||||
#include "weak_bss_936_to_1036.h" // IWYU pragma: keep
|
||||
|
||||
static cXyz l_break_particle_offset(0.0f, 0.0f, 30.0f);
|
||||
dBgS_ObjGndChk daBoko_c::m_ground_check;
|
||||
@ -21,7 +21,8 @@ static u8 l_HIO;
|
||||
|
||||
/* 000000EC-0000017C .text keDraw__8daBoko_cFv */
|
||||
void daBoko_c::keDraw() {
|
||||
mpLineMat->update(0xA, 1.25f, (GXColor){0xFF, 0x64, 0x00, 0xFF}, 2, &tevStr);
|
||||
GXColor color = {0xFF, 0x64, 0x00, 0xFF};
|
||||
mpLineMat->update(0xA, 1.25f, color, 2, &tevStr);
|
||||
dComIfGd_set3DlineMat(mpLineMat);
|
||||
}
|
||||
|
||||
|
@ -14,9 +14,7 @@
|
||||
#include "f_op/f_op_kankyo_mng.h"
|
||||
#include "m_Do/m_Do_mtx.h"
|
||||
|
||||
// Needed for the .data section to match.
|
||||
static f32 dummy1[3] = {1.0f, 1.0f, 1.0f};
|
||||
static f32 dummy2[3] = {1.0f, 1.0f, 1.0f};
|
||||
#include "weak_data_2100_2080.h" // IWYU pragma: keep
|
||||
|
||||
namespace daBomb2 {
|
||||
namespace {
|
||||
|
@ -15,9 +15,7 @@
|
||||
#include "m_Do/m_Do_lib.h"
|
||||
#include "d/res/res_vbakh.h"
|
||||
|
||||
// Needed for the .data section to match.
|
||||
static f32 dummy1[3] = {1.0f, 1.0f, 1.0f};
|
||||
static f32 dummy2[3] = {1.0f, 1.0f, 1.0f};
|
||||
#include "weak_data_2100_2080.h" // IWYU pragma: keep
|
||||
|
||||
namespace {
|
||||
enum AttrSt_e {
|
||||
|
@ -8,11 +8,7 @@
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "d/d_procname.h"
|
||||
|
||||
// Needed for the .data section to match.
|
||||
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};
|
||||
#include "weak_data_1811.h" // IWYU pragma: keep
|
||||
|
||||
const char daDekuItem_c::m_arcname[] = "Deku";
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
#include "m_Do/m_Do_mtx.h"
|
||||
#include "f_op/f_op_camera.h"
|
||||
|
||||
static u8 dummy[0x4C]; // TODO
|
||||
#include "weak_bss_936_to_1036.h" // IWYU pragma: keep
|
||||
|
||||
const int daDitem_c::m_rot_time = 8*30;
|
||||
|
||||
|
@ -4,17 +4,18 @@
|
||||
//
|
||||
|
||||
#include "d/actor/d_a_esa.h"
|
||||
#include "d/res/res_link.h"
|
||||
#include "JSystem/JKernel/JKRHeap.h"
|
||||
#include "f_op/f_op_actor_mng.h"
|
||||
#include "d/actor/d_a_player.h"
|
||||
#include "d/actor/d_a_sea.h"
|
||||
#include "d/d_bg_s_gnd_chk.h"
|
||||
#include "d/d_bg_s_lin_chk.h"
|
||||
#include "d/d_s_play.h"
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "d/d_procname.h"
|
||||
#include "d/d_bg_s_func.h"
|
||||
#include "d/actor/d_a_sea.h"
|
||||
#include "d/actor/d_a_player_main.h"
|
||||
#include "d/res/res_link.h"
|
||||
#include "f_op/f_op_actor_mng.h"
|
||||
|
||||
static Vec bss_3569;
|
||||
#include "weak_bss_3569.h" // IWYU pragma: keep
|
||||
|
||||
/* 800E7E60-800E7EA8 .text daEsa_Draw__FP9esa_class */
|
||||
static BOOL daEsa_Draw(esa_class* i_this) {
|
||||
|
@ -13,11 +13,7 @@
|
||||
#include "d/d_kankyo_wether.h"
|
||||
#include "d/res/res_cloth.h"
|
||||
|
||||
// Needed for .data to match.
|
||||
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};
|
||||
#include "weak_data_1811.h" // IWYU pragma: keep
|
||||
|
||||
const u32 daGhostship_c::m_heapsize = 0x1EA0;
|
||||
const char daGhostship_c::m_arc_name[] = "Ayush";
|
||||
|
@ -9,12 +9,11 @@
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "d/d_flower.h"
|
||||
#include "d/d_grass.h"
|
||||
#include "d/d_item_data.h"
|
||||
#include "d/d_procname.h"
|
||||
#include "d/d_tree.h"
|
||||
#include "SSystem/SComponent/c_sxyz.h"
|
||||
|
||||
static u8 dummy[0x4C];
|
||||
#include "weak_bss_936_to_1036.h" // IWYU pragma: keep
|
||||
|
||||
namespace daGrass_prm {
|
||||
inline s8 getItemNo(grass_class* ac) { return (fopAcM_GetParam(ac) >> 6) & 0x3F; }
|
||||
|
@ -11,9 +11,7 @@
|
||||
#include "d/d_procname.h"
|
||||
#include "global.h"
|
||||
|
||||
// Needed for the .data section to match.
|
||||
static Vec dummy_2100 = {1.0f, 1.0f, 1.0f};
|
||||
static Vec dummy_2080 = {1.0f, 1.0f, 1.0f};
|
||||
#include "weak_data_2100_2080.h" // IWYU pragma: keep
|
||||
|
||||
static u8 l_chainS3TCTEX[] ALIGN_DECL(32) = {
|
||||
0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
|
@ -14,9 +14,7 @@
|
||||
#include "global.h"
|
||||
#include "m_Do/m_Do_mtx.h"
|
||||
|
||||
// Needed for the .data section to match.
|
||||
static f32 dummy1[3] = {1.0f, 1.0f, 1.0f};
|
||||
static f32 dummy2[3] = {1.0f, 1.0f, 1.0f};
|
||||
#include "weak_data_2100_2080.h" // IWYU pragma: keep
|
||||
|
||||
struct daIball_c__data {
|
||||
/* 0x00 */ u8 m00;
|
||||
|
@ -14,9 +14,7 @@
|
||||
#include "m_Do/m_Do_mtx.h"
|
||||
#include "m_Do/m_Do_controller_pad.h"
|
||||
|
||||
// Needed for the .data section to match.
|
||||
static f32 dummy1[3] = {1.0f, 1.0f, 1.0f};
|
||||
static f32 dummy2[3] = {1.0f, 1.0f, 1.0f};
|
||||
#include "weak_data_2100_2080.h" // IWYU pragma: keep
|
||||
|
||||
s32 daItem_c::m_timer_max = 10000;
|
||||
|
||||
|
@ -14,16 +14,7 @@
|
||||
#include "JSystem/J3DGraphLoader/J3DModelLoader.h"
|
||||
#include <stdio.h>
|
||||
|
||||
static Vec dummy1 = { 1.0f, 1.0f, 1.0f };
|
||||
static Vec dummy2 = { 1.0f, 1.0f, 1.0f };
|
||||
static struct {
|
||||
u32 m0;
|
||||
f32 m1;
|
||||
f32 m2;
|
||||
f32 m3;
|
||||
f32 m4;
|
||||
f32 m5;
|
||||
} dummy3 = { 0x02000201, 0.0f, 2.125f, 0.0f, 1.75f, 0.0f };
|
||||
#include "weak_data_1811.h" // IWYU pragma: keep
|
||||
|
||||
const char daLodbg_c::LodAllPath[] = "/res/Stage/sea/LODALL.arc";
|
||||
|
||||
|
@ -15,24 +15,7 @@
|
||||
#include "dolphin/os/OSMessage.h"
|
||||
#include "dolphin/base/PPCArch.h"
|
||||
|
||||
static Vec bss_3569;
|
||||
// Not sure what these are, but they have size 1, and alignment 1 in the debug maps, but alignment 4 in the non-debug maps.
|
||||
static u8 bss_1036 ALIGN_DECL(4);
|
||||
static u8 bss_1034 ALIGN_DECL(4);
|
||||
static u8 bss_1032 ALIGN_DECL(4);
|
||||
static u8 bss_1031 ALIGN_DECL(4);
|
||||
static u8 bss_1026 ALIGN_DECL(4);
|
||||
static u8 bss_1024 ALIGN_DECL(4);
|
||||
static u8 bss_1022 ALIGN_DECL(4);
|
||||
static u8 bss_1021 ALIGN_DECL(4);
|
||||
static u8 bss_984 ALIGN_DECL(4);
|
||||
static u8 bss_982 ALIGN_DECL(4);
|
||||
static u8 bss_980 ALIGN_DECL(4);
|
||||
static u8 bss_979 ALIGN_DECL(4);
|
||||
static u8 bss_941 ALIGN_DECL(4);
|
||||
static u8 bss_939 ALIGN_DECL(4);
|
||||
static u8 bss_937 ALIGN_DECL(4);
|
||||
static u8 bss_936 ALIGN_DECL(4);
|
||||
#include "weak_bss_936_to_1036.h" // IWYU pragma: keep
|
||||
|
||||
static u8 THPStatistics[0x460]; // TODO
|
||||
|
||||
|
@ -21,11 +21,7 @@
|
||||
#include "m_Do/m_Do_mtx.h"
|
||||
#include "m_Do/m_Do_controller_pad.h"
|
||||
|
||||
// Needed for the .data section to match.
|
||||
static Vec dummy_2100 = {1.0f, 1.0f, 1.0f};
|
||||
static Vec dummy_2080 = {1.0f, 1.0f, 1.0f};
|
||||
static u8 dummy_1811[] = {0x02, 0x00, 0x02, 0x01};
|
||||
static f64 dummy4[2] = {3.0, 0.5};
|
||||
#include "weak_data_1811.h" // IWYU pragma: keep
|
||||
|
||||
static fpc_ProcID l_msgId;
|
||||
static msg_class* l_msg;
|
||||
|
@ -13,13 +13,8 @@
|
||||
#include "m_Do/m_Do_ext.h"
|
||||
#include "m_Do/m_Do_mtx.h"
|
||||
|
||||
// Needed for the .data section to match.
|
||||
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};
|
||||
|
||||
static u8 dummy[0x4C];
|
||||
#include "weak_bss_936_to_1036.h" // IWYU pragma: keep
|
||||
#include "weak_data_1811.h" // IWYU pragma: keep
|
||||
|
||||
static daNpc_Btsw2_HIO_c l_HIO;
|
||||
|
||||
|
@ -13,17 +13,11 @@
|
||||
#include "d/d_lib.h"
|
||||
#include "f_op/f_op_msg.h"
|
||||
|
||||
#include "weak_data_1811.h" // IWYU pragma: keep
|
||||
#include "weak_bss_936_to_1036.h" // IWYU pragma: keep
|
||||
|
||||
static void daNpc_Ji1_setHairAngle(daNpc_Ji1_c*);
|
||||
|
||||
// Needed for the .data section to match.
|
||||
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};
|
||||
|
||||
// There's also a bunch of unreferenced stuff at the start of .bss
|
||||
static u8 dummy5[0x4C];
|
||||
|
||||
static daNpc_Ji1_HIO_c l_HIO;
|
||||
|
||||
static fpc_ProcID l_msgId;
|
||||
|
@ -16,14 +16,10 @@
|
||||
#include "d/d_snap.h"
|
||||
#include "d/d_camera.h"
|
||||
|
||||
// Needed for the .data section to match.
|
||||
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};
|
||||
#include "weak_bss_936_to_1036.h" // IWYU pragma: keep
|
||||
#include "weak_data_1811.h" // IWYU pragma: keep
|
||||
|
||||
static char* l_staff_name = "HyoiKam";
|
||||
static u8 temp[0x4C]; // TODO
|
||||
static daNpc_kam_HIO_c l_HIO;
|
||||
static int l_hio_counter;
|
||||
static fpc_ProcID l_msgId;
|
||||
|
@ -16,13 +16,8 @@
|
||||
#include "d/d_camera.h"
|
||||
#include "d/d_detect.h"
|
||||
|
||||
// Needed for the .data section to match.
|
||||
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};
|
||||
|
||||
static u8 temp[0x4C]; // TODO
|
||||
#include "weak_data_1811.h" // IWYU pragma: keep
|
||||
#include "weak_bss_936_to_1036.h" // IWYU pragma: keep
|
||||
|
||||
static daNpc_Md_HIO_c l_HIO;
|
||||
|
||||
|
@ -12,13 +12,8 @@
|
||||
#include "d/d_item.h"
|
||||
#include "d/d_procname.h"
|
||||
|
||||
static u8 dummy_bss[0x4C];
|
||||
|
||||
// need to figure out what's putting this data in front of a bunch of rels
|
||||
static f32 dummy[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};
|
||||
#include "weak_bss_936_to_1036.h" // IWYU pragma: keep
|
||||
#include "weak_data_1811.h" // IWYU pragma: keep
|
||||
|
||||
const char daNpc_Nz_c::m_arc_name[] = "NZ";
|
||||
const char daNpc_Nz_c::m_bdl_arc_name[] = "Npcnz";
|
||||
|
@ -12,13 +12,8 @@
|
||||
#include "m_Do/m_Do_controller_pad.h"
|
||||
#include "d/actor/d_a_player_main.h"
|
||||
|
||||
// Needed for the .data section to match.
|
||||
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};
|
||||
|
||||
static u8 temp[0x4C]; // TODO
|
||||
#include "weak_bss_936_to_1036.h" // IWYU pragma: keep
|
||||
#include "weak_data_1811.h" // IWYU pragma: keep
|
||||
|
||||
static daNpc_Os_HIO_c l_HIO;
|
||||
static s32 l_hio_counter = 0;
|
||||
|
@ -18,13 +18,9 @@
|
||||
#include "f_op/f_op_actor_mng.h"
|
||||
#include "m_Do/m_Do_lib.h"
|
||||
|
||||
extern dCcD_SrcCyl dNpc_cyl_src;
|
||||
#include "weak_data_1811.h" // IWYU pragma: keep
|
||||
|
||||
// Needed for the .data section to match.
|
||||
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};
|
||||
extern dCcD_SrcCyl dNpc_cyl_src;
|
||||
|
||||
static char* l_npc_staff_id[] = {
|
||||
"Uo1",
|
||||
|
@ -14,13 +14,9 @@
|
||||
#include "d/d_a_obj.h"
|
||||
#include "d/d_snap.h"
|
||||
|
||||
extern dCcD_SrcCyl dNpc_cyl_src;
|
||||
#include "weak_data_1811.h" // IWYU pragma: keep
|
||||
|
||||
// Needed for the .data section to match.
|
||||
static Vec dummy1 = {1.0f, 1.0f, 1.0f};
|
||||
static Vec dummy2 = {1.0f, 1.0f, 1.0f};
|
||||
static u8 dummy3[] = {0x02, 0x00, 0x02, 0x01};
|
||||
static f64 dummy4[2] = {3.0, 0.5};
|
||||
extern dCcD_SrcCyl dNpc_cyl_src;
|
||||
|
||||
static const char* l_arcname_tbl[] = {
|
||||
"Ro",
|
||||
|
@ -15,16 +15,12 @@
|
||||
#include "m_Do/m_Do_ext.h"
|
||||
#include "m_Do/m_Do_mtx.h"
|
||||
|
||||
#include "weak_data_1811.h" // IWYU pragma: keep
|
||||
|
||||
namespace {
|
||||
static const char l_arcname[] = "Ygush00";
|
||||
};
|
||||
|
||||
// Needed for the .data section to match.
|
||||
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};
|
||||
|
||||
/* 00000078-0000009C .text solidHeapCB__14daObjYgush00_cFP10fopAc_ac_c */
|
||||
BOOL daObjYgush00_c::solidHeapCB(fopAc_ac_c* ac) {
|
||||
return ((daObjYgush00_c*)ac)->create_heap();
|
||||
|
@ -6,16 +6,14 @@
|
||||
#include "d/actor/d_a_obj_bscurtain.h"
|
||||
#include "d/res/res_ptc.h"
|
||||
#include "f_op/f_op_actor_mng.h"
|
||||
#include "JSystem/JParticle/JPAParticle.h"
|
||||
#include "JSystem/JUtility/JUTAssert.h"
|
||||
#include "d/d_bg_w.h"
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "d/d_procname.h"
|
||||
#include "m_Do/m_Do_ext.h"
|
||||
#include "m_Do/m_Do_hostIO.h"
|
||||
#include "m_Do/m_Do_mtx.h"
|
||||
|
||||
static u8 dummy[0x4C]; // TODO
|
||||
#include "weak_bss_936_to_1036.h" // IWYU pragma: keep
|
||||
|
||||
daObj_Bscurtain_HIO_c l_HIO;
|
||||
|
||||
|
@ -3,25 +3,16 @@
|
||||
// Translation Unit: d_a_obj_eskban.cpp
|
||||
//
|
||||
|
||||
#include "f_op/f_op_actor_mng.h"
|
||||
|
||||
#include "d/d_procname.h"
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "d/actor/d_a_obj_eskban.h"
|
||||
#include "d/res/res_eskban.h"
|
||||
#include "f_op/f_op_actor_mng.h"
|
||||
|
||||
/* .bss alignment */
|
||||
static u8 dummy[0x4c];
|
||||
#include "weak_bss_936_to_1036.h" // IWYU pragma: keep
|
||||
#include "weak_data_1811.h" // IWYU pragma: keep
|
||||
|
||||
namespace daObjEskban {
|
||||
/* .data alignment, seemingly unused by this unit */
|
||||
static Vec _data_align[4] = {
|
||||
{1, 1, 1},
|
||||
{1, 1, 1},
|
||||
{9.40453e-38 /* possibly not actually a float? */, 0, 2.125},
|
||||
{0, 1.75, 0},
|
||||
};
|
||||
|
||||
Mtx Act_c::M_tmp_mtx;
|
||||
const char Act_c::M_arcname[7] = "Eskban";
|
||||
const char Act_c::M_evname[7] = "Eskban";
|
||||
|
@ -12,7 +12,7 @@
|
||||
#include "m_Do/m_Do_ext.h"
|
||||
#include "m_Do/m_Do_mtx.h"
|
||||
|
||||
static u8 dummy[0x4C];
|
||||
#include "weak_bss_936_to_1036.h" // IWYU pragma: keep
|
||||
|
||||
namespace daObjFerris {
|
||||
namespace {
|
||||
|
@ -14,7 +14,7 @@
|
||||
#include "d/actor/d_a_player_main.h"
|
||||
#include "m_Do/m_Do_controller_pad.h"
|
||||
|
||||
static u8 dummy_bss[0x4C];
|
||||
#include "weak_bss_936_to_1036.h" // IWYU pragma: keep
|
||||
|
||||
#define TOTAL_FIGURE_COUNT 0x86
|
||||
|
||||
|
@ -16,12 +16,7 @@
|
||||
#include "m_Do/m_Do_ext.h"
|
||||
#include "m_Do/m_Do_mtx.h"
|
||||
|
||||
|
||||
// Needed for the .data section to match.
|
||||
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};
|
||||
#include "weak_data_1811.h" // IWYU pragma: keep
|
||||
|
||||
static daObj_Hole_HIO_c l_HIO;
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include "m_Do/m_Do_mtx.h"
|
||||
#include "d/d_com_inf_game.h"
|
||||
|
||||
static u8 temp[0x4C];
|
||||
#include "weak_bss_936_to_1036.h" // IWYU pragma: keep
|
||||
|
||||
namespace daObjHomensmoke {
|
||||
/* 000000EC-00000230 .text set_mtx__Q215daObjHomensmoke5Act_cFv */
|
||||
|
@ -8,11 +8,7 @@
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "d/d_procname.h"
|
||||
|
||||
// Needed for .data to match.
|
||||
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};
|
||||
#include "weak_data_1811.h" // IWYU pragma: keep
|
||||
|
||||
Mtx daObjLadder::Act_c::M_tmp_mtx;
|
||||
|
||||
|
@ -6,12 +6,8 @@
|
||||
#include "global.h"
|
||||
#include "d/d_procname.h"
|
||||
|
||||
// Needed for the .data and .bss sections to match.
|
||||
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};
|
||||
static u8 dummy5[0x4C];
|
||||
#include "weak_bss_936_to_1036.h" // IWYU pragma: keep
|
||||
#include "weak_data_1811.h" // IWYU pragma: keep
|
||||
|
||||
#include "d/actor/d_a_obj_movebox.h"
|
||||
#include "d/res/res_ecube.h"
|
||||
|
@ -12,12 +12,8 @@
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "m_Do/m_Do_mtx.h"
|
||||
|
||||
// Needed for the .data and .bss sections to match.
|
||||
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};
|
||||
static u8 dummy5[0x4C];
|
||||
#include "weak_bss_936_to_1036.h" // IWYU pragma: keep
|
||||
#include "weak_data_1811.h" // IWYU pragma: keep
|
||||
|
||||
char* daObjMtest::Act_c::M_arcname[Type_Max] = {
|
||||
"Mtest",
|
||||
|
@ -20,11 +20,7 @@
|
||||
#include "m_Do/m_Do_ext.h"
|
||||
#include "m_Do/m_Do_mtx.h"
|
||||
|
||||
// Needed for the .data section to match.
|
||||
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.0f, 0.5f};
|
||||
#include "weak_data_1811.h" // IWYU pragma: keep
|
||||
|
||||
namespace daObjPaper {
|
||||
namespace {
|
||||
|
@ -5,13 +5,9 @@
|
||||
|
||||
#include "d/actor/d_a_obj_timer.h"
|
||||
#include "d/d_procname.h"
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "d/d_com_inf_game.h" // IWYU pragma: keep // Needed for dComIfGs_isSwitch inline definition
|
||||
|
||||
// Needed for the .data section to match.
|
||||
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};
|
||||
#include "weak_data_1811.h" // IWYU pragma: keep
|
||||
|
||||
/* 00000078-00000114 .text _create__Q210daObjTimer5Act_cFv */
|
||||
s32 daObjTimer::Act_c::_create() {
|
||||
|
@ -18,6 +18,8 @@
|
||||
#include "m_Do/m_Do_ext.h"
|
||||
#include "m_Do/m_Do_mtx.h"
|
||||
|
||||
#include "weak_data_1811.h" // IWYU pragma: keep
|
||||
|
||||
extern dScnPly_reg_HIO_c g_regHIO;
|
||||
|
||||
const char daObjTpost_c::m_arc_name[] = "Toripost";
|
||||
@ -75,12 +77,6 @@ const s32 daObjTpost_c::m_send_price[] = {
|
||||
|
||||
static daObjTpost_HIO_c l_HIO;
|
||||
|
||||
// need to figure out what's putting this data in front of a bunch of rels with the compiler-generated symbol names
|
||||
static Vec dummy = {1.0f, 1.0f, 1.0f};
|
||||
static Vec dummy2 = {1.0f, 1.0f, 1.0f};
|
||||
static u8 dummy3[4] = {0x02, 0x00, 0x02, 0x01};
|
||||
static f64 dummy4[2] = {3.0, 0.5};
|
||||
|
||||
/* 000000EC-0000010C .text createHeap_CB__FP10fopAc_ac_c */
|
||||
static BOOL createHeap_CB(fopAc_ac_c* i_this) {
|
||||
return static_cast<daObjTpost_c*>(i_this)->_createHeap();
|
||||
|
@ -9,16 +9,7 @@
|
||||
#include "d/res/res_vgnfd.h"
|
||||
#include "JSystem/JUtility/JUTAssert.h"
|
||||
|
||||
static Vec dummy1 = { 1.0f, 1.0f, 1.0f };
|
||||
static Vec dummy2 = { 1.0f, 1.0f, 1.0f };
|
||||
static struct {
|
||||
u32 m0;
|
||||
f32 m1;
|
||||
f32 m2;
|
||||
f32 m3;
|
||||
f32 m4;
|
||||
f32 m5;
|
||||
} dummy3 = { 0x02000201, 0.0f, 2.125f, 0.0f, 1.75f, 0.0f };
|
||||
#include "weak_data_1811.h" // IWYU pragma: keep
|
||||
|
||||
const s32 daObjVgnfd_c::M_bdl_table[] = {
|
||||
VGNFD_BDL_VGNFD0,
|
||||
|
@ -7,11 +7,7 @@
|
||||
#include "d/d_procname.h"
|
||||
#include "d/res/res_hdai1.h"
|
||||
|
||||
// Needed for the .data section to match.
|
||||
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};
|
||||
#include "weak_data_1811.h" // IWYU pragma: keep
|
||||
|
||||
namespace daPedestal {
|
||||
|
||||
|
@ -10,30 +10,8 @@
|
||||
#include "d/actor/d_a_obj_pirateship.h"
|
||||
#include "d/d_kankyo_wether.h"
|
||||
|
||||
static Vec bss_3569;
|
||||
// Not sure what these are, but they have size 1, and alignment 1 in the debug maps, but alignment 4 in the non-debug maps.
|
||||
static u8 bss_1036 ALIGN_DECL(4);
|
||||
static u8 bss_1034 ALIGN_DECL(4);
|
||||
static u8 bss_1032 ALIGN_DECL(4);
|
||||
static u8 bss_1031 ALIGN_DECL(4);
|
||||
static u8 bss_1026 ALIGN_DECL(4);
|
||||
static u8 bss_1024 ALIGN_DECL(4);
|
||||
static u8 bss_1022 ALIGN_DECL(4);
|
||||
static u8 bss_1021 ALIGN_DECL(4);
|
||||
static u8 bss_984 ALIGN_DECL(4);
|
||||
static u8 bss_982 ALIGN_DECL(4);
|
||||
static u8 bss_980 ALIGN_DECL(4);
|
||||
static u8 bss_979 ALIGN_DECL(4);
|
||||
static u8 bss_941 ALIGN_DECL(4);
|
||||
static u8 bss_939 ALIGN_DECL(4);
|
||||
static u8 bss_937 ALIGN_DECL(4);
|
||||
static u8 bss_936 ALIGN_DECL(4);
|
||||
|
||||
// Needed for the .data section to match.
|
||||
static Vec dummy_2100 = {1.0f, 1.0f, 1.0f};
|
||||
static Vec dummy_2080 = {1.0f, 1.0f, 1.0f};
|
||||
static u8 dummy_1811[] = {0x02, 0x00, 0x02, 0x01};
|
||||
static f64 dummy4[2] = {3.0, 0.5};
|
||||
#include "weak_bss_936_to_1036.h" // IWYU pragma: keep
|
||||
#include "weak_data_1811.h" // IWYU pragma: keep
|
||||
|
||||
static Vec l_pos[25] = {
|
||||
{0.0f, 2200.0f, 0.0f},
|
||||
|
@ -6,7 +6,7 @@
|
||||
#include "dolphin/types.h"
|
||||
#include "d/actor/d_a_player.h"
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "f_op/f_op_camera_mng.h"
|
||||
#include "f_op/f_op_camera.h"
|
||||
|
||||
/* 801028FC-80102940 .text changePlayer__9daPy_py_cFP10fopAc_ac_c */
|
||||
void daPy_py_c::changePlayer(fopAc_ac_c* newPlayer) {
|
||||
|
@ -11,6 +11,8 @@
|
||||
*/
|
||||
|
||||
#include "d/actor/d_a_player_main.h"
|
||||
#include "d/actor/d_a_itembase.h"
|
||||
#include "d/d_procname.h"
|
||||
|
||||
/* 8012CD60-8012CDD4 .text getDemoLookActor__9daPy_lk_cFv */
|
||||
void daPy_lk_c::getDemoLookActor() {
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
#include "d/actor/d_a_player_main.h"
|
||||
#include "d/actor/d_a_player_HIO.h"
|
||||
#include "f_op/f_op_camera.h"
|
||||
#include "d/d_camera.h"
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "d/d_item_data.h"
|
||||
#include "d/d_procname.h"
|
||||
|
@ -33,7 +33,8 @@
|
||||
#include "SSystem/SComponent/c_counter.h"
|
||||
#include "m_Do/m_Do_graphic.h"
|
||||
|
||||
static u8 dummy[0xC];
|
||||
#include "weak_bss_3569.h" // IWYU pragma: keep
|
||||
|
||||
JGeometry::TVec3<f32> l_hammer_splash_particle_scale(0.67f, 0.67f, 0.67f);
|
||||
|
||||
#include "d/actor/d_a_player_main_data.inc"
|
||||
|
@ -2,9 +2,7 @@
|
||||
#include "d/actor/d_a_player_main.h"
|
||||
#include "d/actor/d_a_player_main_data.h"
|
||||
|
||||
// Needed for the .data section to match.
|
||||
static Vec dummy_2100 = {1.0f, 1.0f, 1.0f};
|
||||
static Vec dummy_2080 = {1.0f, 1.0f, 1.0f};
|
||||
#include "weak_data_2100_2080.h" // IWYU pragma: keep
|
||||
|
||||
char l_arcName[] = "Link";
|
||||
|
||||
|
@ -13,7 +13,6 @@
|
||||
#include "d/actor/d_a_player_main.h"
|
||||
#include "d/actor/d_a_player_hio.h"
|
||||
#include "JSystem/J3DGraphLoader/J3DAnmLoader.h"
|
||||
#include "JSystem/JKernel/JKRSolidHeap.h"
|
||||
|
||||
/* 80154B80-80154FBC .text setSwordModel__9daPy_lk_cFi */
|
||||
void daPy_lk_c::setSwordModel(BOOL r28) {
|
||||
|
@ -12,8 +12,8 @@
|
||||
|
||||
#include "d/actor/d_a_player_main.h"
|
||||
#include "d/actor/d_a_player_main_data.h"
|
||||
#include "f_op/f_op_camera.h"
|
||||
#include "JSystem/J3DGraphLoader/J3DAnmLoader.h"
|
||||
#include "d/d_camera.h"
|
||||
#include "d/d_procname.h"
|
||||
#include "d/actor/d_a_ship.h"
|
||||
#include "d/actor/d_a_player_HIO.h"
|
||||
|
@ -19,13 +19,8 @@
|
||||
#include "d/d_item_data.h"
|
||||
#include "m_Do/m_Do_controller_pad.h"
|
||||
|
||||
// Needed for the .data section to match.
|
||||
static Vec dummy1 = {1.0f, 1.0f, 1.0f};
|
||||
static Vec dummy2 = {1.0f, 1.0f, 1.0f};
|
||||
static u8 dummy3[4] = {0x02, 0x00, 0x02, 0x01};
|
||||
static f64 dummy4[2] = {3.0, 0.5};
|
||||
|
||||
static u8 dummy5[0x4C];
|
||||
#include "weak_bss_936_to_1036.h" // IWYU pragma: keep
|
||||
#include "weak_data_1811.h" // IWYU pragma: keep
|
||||
|
||||
static daRd_HIO_c l_HIO;
|
||||
|
||||
|
@ -14,30 +14,8 @@
|
||||
#include "m_Do/m_Do_mtx.h"
|
||||
#include "SSystem/SComponent/c_lib.h"
|
||||
|
||||
static Vec bss_3569;
|
||||
// Not sure what these are, but they have size 1, and alignment 1 in the debug maps, but alignment 4 in the non-debug maps.
|
||||
static u8 bss_1036 ALIGN_DECL(4);
|
||||
static u8 bss_1034 ALIGN_DECL(4);
|
||||
static u8 bss_1032 ALIGN_DECL(4);
|
||||
static u8 bss_1031 ALIGN_DECL(4);
|
||||
static u8 bss_1026 ALIGN_DECL(4);
|
||||
static u8 bss_1024 ALIGN_DECL(4);
|
||||
static u8 bss_1022 ALIGN_DECL(4);
|
||||
static u8 bss_1021 ALIGN_DECL(4);
|
||||
static u8 bss_984 ALIGN_DECL(4);
|
||||
static u8 bss_982 ALIGN_DECL(4);
|
||||
static u8 bss_980 ALIGN_DECL(4);
|
||||
static u8 bss_979 ALIGN_DECL(4);
|
||||
static u8 bss_941 ALIGN_DECL(4);
|
||||
static u8 bss_939 ALIGN_DECL(4);
|
||||
static u8 bss_937 ALIGN_DECL(4);
|
||||
static u8 bss_936 ALIGN_DECL(4);
|
||||
|
||||
// Needed for the .data section to match.
|
||||
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};
|
||||
#include "weak_bss_936_to_1036.h" // IWYU pragma: keep
|
||||
#include "weak_data_1811.h" // IWYU pragma: keep
|
||||
|
||||
static daObjPirateship::Act_c* l_p_ship;
|
||||
static daSail_HIO_c l_HIO;
|
||||
|
@ -10,16 +10,7 @@
|
||||
#include "d/d_s_play.h"
|
||||
#include "d/res/res_syan.h"
|
||||
|
||||
static Vec dummy1 = { 1.0f, 1.0f, 1.0f };
|
||||
static Vec dummy2 = { 1.0f, 1.0f, 1.0f };
|
||||
static struct {
|
||||
u32 m0;
|
||||
f32 m1;
|
||||
f32 m2;
|
||||
f32 m3;
|
||||
f32 m4;
|
||||
f32 m5;
|
||||
} dummy3 = { 0x02000201, 0.0f, 2.125f, 0.0f, 1.75f, 0.0f };
|
||||
#include "weak_data_1811.h" // IWYU pragma: keep
|
||||
|
||||
static f32 b_pos_x[6] = { 870.0f, 420.0f, -420.0f, -880.0f, -400.0f, 440.0f };
|
||||
static f32 b_pos_y[6] = { -560.0f, -760.0f, -630.0f, -710.0f, -670.0f, -690.0f };
|
||||
|
@ -7,11 +7,7 @@
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "d/d_procname.h"
|
||||
|
||||
// Needed for .data to match.
|
||||
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};
|
||||
#include "weak_data_1811.h" // IWYU pragma: keep
|
||||
|
||||
static daTag_Gship_HIO_c l_HIO;
|
||||
|
||||
|
@ -6,26 +6,9 @@
|
||||
#include "d/actor/d_a_player_main.h"
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "d/d_procname.h"
|
||||
#include "global.h"
|
||||
|
||||
static Vec bss_3569;
|
||||
// Not sure what these are, but they have size 1, and alignment 1 in the debug maps, but alignment 4 in the non-debug maps.
|
||||
static u8 bss_1036 ALIGN_DECL(4);
|
||||
static u8 bss_1034 ALIGN_DECL(4);
|
||||
static u8 bss_1032 ALIGN_DECL(4);
|
||||
static u8 bss_1031 ALIGN_DECL(4);
|
||||
static u8 bss_1026 ALIGN_DECL(4);
|
||||
static u8 bss_1024 ALIGN_DECL(4);
|
||||
static u8 bss_1022 ALIGN_DECL(4);
|
||||
static u8 bss_1021 ALIGN_DECL(4);
|
||||
static u8 bss_984 ALIGN_DECL(4);
|
||||
static u8 bss_982 ALIGN_DECL(4);
|
||||
static u8 bss_980 ALIGN_DECL(4);
|
||||
static u8 bss_979 ALIGN_DECL(4);
|
||||
static u8 bss_941 ALIGN_DECL(4);
|
||||
static u8 bss_939 ALIGN_DECL(4);
|
||||
static u8 bss_937 ALIGN_DECL(4);
|
||||
static u8 bss_936 ALIGN_DECL(4);
|
||||
#include "weak_bss_936_to_1036.h" // IWYU pragma: keep
|
||||
|
||||
static fpc_ProcID l_msgId;
|
||||
static msg_class* l_msg;
|
||||
static u8 msg_mode;
|
||||
|
@ -17,7 +17,7 @@
|
||||
#include "m_Do/m_Do_ext.h"
|
||||
#include "m_Do/m_Do_graphic.h"
|
||||
#include "m_Do/m_Do_hostIO.h"
|
||||
#include "m_do/m_Do_mtx.h"
|
||||
#include "m_Do/m_Do_mtx.h"
|
||||
|
||||
|
||||
#define DEMO_PROC_WAIT 0
|
||||
@ -35,13 +35,9 @@
|
||||
#define FUNC_TYPE_EXTRA_SAVE_INFO 7
|
||||
#define FUNC_TYPE_EXTRA_SAVE_INFO_SPAWN 8
|
||||
|
||||
extern dCcD_SrcCyl dNpc_cyl_src;
|
||||
#include "weak_data_1811.h" // IWYU pragma: keep
|
||||
|
||||
// Needed for the .data section to match.
|
||||
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};
|
||||
extern dCcD_SrcCyl dNpc_cyl_src;
|
||||
|
||||
static daTbox_HIO_c l_HIO;
|
||||
|
||||
|
@ -13,11 +13,7 @@
|
||||
#include "f_op/f_op_actor_mng.h"
|
||||
#include "m_Do/m_Do_mtx.h"
|
||||
|
||||
// Needed for the .data section to match.
|
||||
static Vec dummy_2100 = {1.0f, 1.0f, 1.0f};
|
||||
static Vec dummy_2080 = {1.0f, 1.0f, 1.0f};
|
||||
static u8 dummy_1811[] = {0x02, 0x00, 0x02, 0x01};
|
||||
static f64 dummy4[2] = {3.0, 0.5};
|
||||
#include "weak_data_1811.h" // IWYU pragma: keep
|
||||
|
||||
const s16 daWall_c::m_heapsize[3] = {
|
||||
0x1160,
|
||||
|
@ -8,9 +8,7 @@
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "d/d_procname.h"
|
||||
|
||||
static Vec unkVecs[] = {{1, 1, 1}, {1, 1, 1}};
|
||||
static int unkInt[] = {0x02000201, 0x00000000};
|
||||
static f64 unkf64[] = {3, 0.5};
|
||||
#include "weak_data_1811.h" // IWYU pragma: keep
|
||||
|
||||
static daWarpfout_c::EventActionInitFunc event_init_tbl[] = {
|
||||
&daWarpfout_c::initWarp1, &daWarpfout_c::initWarp2, &daWarpfout_c::initWarp3,
|
||||
|
@ -39,7 +39,7 @@
|
||||
#include "d/actor/d_a_npc_bs1.h"
|
||||
#include "SSystem/SComponent/c_counter.h"
|
||||
|
||||
static Vec dummy_3569;
|
||||
#include "weak_bss_3569.h" // IWYU pragma: keep
|
||||
|
||||
s32 daLodbg_c::sObjectCount;
|
||||
JKRExpHeap* daLodbg_c::sLocalHeap;
|
||||
|
@ -21,6 +21,8 @@
|
||||
#include "SSystem/SComponent/c_bg_s_shdw_draw.h"
|
||||
#include "global.h"
|
||||
|
||||
#include "weak_bss_3569.h" // IWYU pragma: keep
|
||||
|
||||
class ShdwDrawPoly_c : public cBgS_ShdwDraw {
|
||||
public:
|
||||
virtual ~ShdwDrawPoly_c() {}
|
||||
@ -37,8 +39,6 @@ public:
|
||||
/* 0x3C */ dDlst_shadowPoly_c* mPoly;
|
||||
}; // Size: 0x40
|
||||
|
||||
Vec dummy0;
|
||||
|
||||
GXTexObj dDlst_shadowControl_c::mSimpleTexObj;
|
||||
|
||||
static Vec dummy1 = { 1.0f, 1.0f, 1.0f };
|
||||
|
@ -114,9 +114,7 @@
|
||||
#include "d/res/res_vtin5.h"
|
||||
#include "d/res/res_vbeso.h"
|
||||
|
||||
// Needed for the .data section to match.
|
||||
static f32 dummy1[3] = {1.0f, 1.0f, 1.0f};
|
||||
static f32 dummy2[3] = {1.0f, 1.0f, 1.0f};
|
||||
#include "weak_data_2100_2080.h" // IWYU pragma: keep
|
||||
|
||||
/* 80383F20-803840E0 .data item_arcname_tbl__10dItem_data */
|
||||
char* dItem_data::item_arcname_tbl[0x70] = {
|
||||
|
@ -23,15 +23,13 @@
|
||||
#include "m_Do/m_Do_printf.h"
|
||||
#include "math.h"
|
||||
|
||||
#include "weak_data_2100_2080.h" // IWYU pragma: keep
|
||||
|
||||
class sub_kankyo__class : public kankyo_class {
|
||||
};
|
||||
|
||||
#include "d/d_kankyo_dayproc.inc"
|
||||
|
||||
// stripped or compiler generated?
|
||||
static Vec unused_lit_2100[] = {1.0f, 1.0f, 1.0f};
|
||||
static Vec unused_lit_210c[] = {1.0f, 1.0f, 1.0f};
|
||||
|
||||
struct dKy_setLight__Status {
|
||||
/* 0x00 */ Vec mPos;
|
||||
/* 0x0C */ Vec mPos2;
|
||||
|
@ -9,11 +9,12 @@
|
||||
#include "d/res/res_magma.h"
|
||||
#include "m_Do/m_Do_mtx.h"
|
||||
#include "m_Do/m_Do_lib.h"
|
||||
#include "JSystem/JKernel/JKRHeap.h"
|
||||
|
||||
// #pragma sym on
|
||||
|
||||
static Vec dummy_3569;
|
||||
#include "weak_bss_3569.h" // IWYU pragma: keep
|
||||
#include "weak_data_2100_2080.h" // IWYU pragma: keep
|
||||
|
||||
Mtx l_kuroOrthoMtx;
|
||||
Mtx l_colOrthoMtx;
|
||||
GXTexObj dMagma_packet_c::mKuroTexObj;
|
||||
@ -22,10 +23,6 @@ GXTexObj dMagma_packet_c::mColTexObj;
|
||||
Mtx dMagma_packet_c::mFloorMtx;
|
||||
Mtx dMagma_packet_c::mBallMtx;
|
||||
|
||||
// Needed for the .data section to match.
|
||||
static Vec dummy_2100 = {1.0f, 1.0f, 1.0f};
|
||||
static Vec dummy_2080 = {1.0f, 1.0f, 1.0f};
|
||||
|
||||
Vec l_YfloorPos[] = {
|
||||
{ -500.0f, -0.0f, 500.0f },
|
||||
{ 500.0f, -0.0f, 500.0f },
|
||||
|
@ -15,7 +15,7 @@
|
||||
#include "d/d_timer.h"
|
||||
#include "stdio.h"
|
||||
|
||||
u8 dummy_3569[0xC];
|
||||
#include "weak_bss_3569.h" // IWYU pragma: keep
|
||||
|
||||
dMeter_info_c dMeter_Info;
|
||||
fopMsgM_pane_class item_parts;
|
||||
|
@ -9,13 +9,10 @@
|
||||
#include "f_op/f_op_actor_mng.h"
|
||||
#include "f_op/f_op_msg_mng.h"
|
||||
#include "SSystem/SComponent/c_math.h"
|
||||
#include "JSystem/JGeometry.h"
|
||||
#include "m_Do/m_Do_mtx.h"
|
||||
#include "d/d_item_data.h"
|
||||
|
||||
// Needed for the .data section to match.
|
||||
static Vec dummy_2100 = {1.0f, 1.0f, 1.0f};
|
||||
static Vec dummy_2080 = {1.0f, 1.0f, 1.0f};
|
||||
#include "weak_data_2100_2080.h" // IWYU pragma: keep
|
||||
|
||||
/* 8021A7B4-8021A858 .text angCalcS__14dNpc_JntCtrl_cFPssss */
|
||||
bool dNpc_JntCtrl_c::angCalcS(s16* out, s16 targetY, s16 speed, s16 maxVel) {
|
||||
|
@ -24,10 +24,8 @@
|
||||
#include "m_Do/m_Do_lib.h"
|
||||
#include "stdio.h"
|
||||
|
||||
static f32 dummy_2100[3] = {1.0f, 1.0f, 1.0f};
|
||||
static f32 dummy_2080[3] = {1.0f, 1.0f, 1.0f};
|
||||
|
||||
static Vec dummy_3569;
|
||||
#include "weak_bss_3569.h" // IWYU pragma: keep
|
||||
#include "weak_data_2100_2080.h" // IWYU pragma: keep
|
||||
|
||||
/* 8007A4D8-8007A514 .text __ct__18dPa_modelEmitter_cFv */
|
||||
dPa_modelEmitter_c::dPa_modelEmitter_c() {
|
||||
|
@ -31,8 +31,7 @@
|
||||
#include "JSystem/J2DGraph/J2DScreen.h"
|
||||
#include "JSystem/JKernel/JKRExpHeap.h"
|
||||
|
||||
static Vec lit_2100 = {1.0f, 1.0f, 1.0f};
|
||||
static Vec lit_2080 = {1.0f, 1.0f, 1.0f};
|
||||
#include "weak_data_2100_2080.h" // IWYU pragma: keep
|
||||
|
||||
dSn_HIO_c g_snHIO;
|
||||
|
||||
|
@ -39,7 +39,7 @@
|
||||
#include "m_Do/m_Do_machine.h"
|
||||
#include <stdio.h>
|
||||
|
||||
static Vec dummy_3569;
|
||||
#include "weak_bss_3569.h" // IWYU pragma: keep
|
||||
|
||||
static const int PRELOAD_RES_MAX = 0x23;
|
||||
static const int PRELOAD_DYL_MAX = 0x1B;
|
||||
|
@ -11,7 +11,6 @@
|
||||
#include "d/actor/d_a_player_main.h"
|
||||
#include "d/actor/d_a_ship.h"
|
||||
#include "d/d_bg_s.h"
|
||||
#include "d/d_bg_s_gnd_chk.h"
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "d/d_path.h"
|
||||
#include "d/d_procname.h"
|
||||
@ -23,6 +22,8 @@
|
||||
#include "m_Do/m_Do_mtx.h"
|
||||
#include "d/actor/d_a_sea.h"
|
||||
|
||||
#include "weak_bss_3569.h" // IWYU pragma: keep
|
||||
|
||||
/* 80040900-80040938 .text set__18dStage_nextStage_cFPCcScsScSc */
|
||||
void dStage_nextStage_c::set(const char* i_stage, s8 i_roomId, s16 i_point, s8 i_layer, s8 i_wipe) {
|
||||
if (!mEnable) {
|
||||
@ -38,8 +39,6 @@ void dStage_SetErrorRoom() {}
|
||||
/* 8004093C-80040940 .text dStage_SetErrorStage__Fv */
|
||||
void dStage_SetErrorStage() {}
|
||||
|
||||
static Vec dummy;
|
||||
|
||||
dStage_KeepTresureInfo TresureInfo;
|
||||
dStage_KeepDoorInfo DoorInfo;
|
||||
|
||||
@ -175,7 +174,7 @@ void dStage_roomControl_c::setStayNo(int i_roomNo) {
|
||||
mOldStayNo = mStayNo;
|
||||
mStayNo = i_roomNo;
|
||||
|
||||
if (mStayNo == 0xFF) {
|
||||
if (mStayNo == 0xFF) { // Bug: Comparing s8 to 0xFF is always false.
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -27,11 +27,11 @@
|
||||
#include "JSystem/JUtility/JUTAssert.h"
|
||||
#include "SSystem/SComponent/c_malloc.h"
|
||||
|
||||
#include "weak_bss_3569.h" // IWYU pragma: keep
|
||||
|
||||
#define MAKE_ITEM_PARAMS(itemNo, itemBitNo, switchNo2, type, action) \
|
||||
((itemNo & 0xFF) << 0 | (itemBitNo & 0xFF) << 0x8 | switchNo2 << 0x10 | (type & 0x3) << 0x18 | (action & 0x3F) << 0x1A)
|
||||
|
||||
static Vec dummy_3569;
|
||||
|
||||
/* 80024060-80024104 .text fopAcM_setStageLayer__FPv */
|
||||
void fopAcM_setStageLayer(void* pProc) {
|
||||
scene_class* stageProc = fopScnM_SearchByID(dStage_roomControl_c::getProcID());
|
||||
|
@ -8,7 +8,6 @@
|
||||
#include "JSystem/JAudio/JAISequenceMgr.h"
|
||||
#include "JSystem/JAudio/JAIStreamMgr.h"
|
||||
#include "JSystem/JKernel/JKRSolidHeap.h"
|
||||
#include "JSystem/JUtility/JUTConsole.h"
|
||||
#include "SSystem/SComponent/c_lib.h"
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "m_Do/m_Do_controller_pad.h"
|
||||
@ -16,7 +15,7 @@
|
||||
#include "m_Do/m_Do_ext.h"
|
||||
#include "m_Do/m_Do_printf.h"
|
||||
|
||||
u8 dummy_3569[0xC];
|
||||
#include "weak_bss_3569.h" // IWYU pragma: keep
|
||||
|
||||
JAIZelInst mDoAud_zelAudio_c::mTact;
|
||||
mDoAud_zelAudio_c g_mDoAud_zelAudio;
|
||||
|
@ -26,6 +26,8 @@
|
||||
#include "m_Do/m_Do_machine.h"
|
||||
#include "m_Do/m_Do_printf.h"
|
||||
|
||||
#include "weak_data_2100_2080.h" // IWYU pragma: keep
|
||||
|
||||
class JUTGamePad;
|
||||
|
||||
/* 800056E0-80005748 .text version_check__Fv */
|
||||
@ -51,10 +53,6 @@ void HeapCheck::CheckHeap1() {
|
||||
mMaxTotalFreeSize = freeSize;
|
||||
}
|
||||
|
||||
// unused data?
|
||||
static u32 lit_2100[] = {0x3F800000, 0x3F800000, 0x3F800000};
|
||||
static u32 lit_2080[] = {0x3F800000, 0x3F800000, 0x3F800000};
|
||||
|
||||
char mDoMain::COPYDATE_STRING[18] = "??/??/?? ??:??:??";
|
||||
|
||||
static HeapCheck RootHeapCheck = {
|
||||
|
@ -6,10 +6,11 @@
|
||||
#include "m_Do/m_Do_mtx.h"
|
||||
#include "dolphin/mtx/mtx.h"
|
||||
#include "JSystem/JUtility/JUTAssert.h"
|
||||
#include "JSystem/JMath/JMath.h"
|
||||
#include "SSystem/SComponent/c_m3d.h"
|
||||
#include "SSystem/SComponent/c_math.h"
|
||||
|
||||
#include "weak_bss_3569.h" // IWYU pragma: keep
|
||||
|
||||
/* 8000CB48-8000CBEC .text mDoMtx_XYZrotM__FPA4_fsss */
|
||||
void mDoMtx_XYZrotM(Mtx mtx, s16 x, s16 y, s16 z) {
|
||||
Mtx tmp;
|
||||
@ -280,8 +281,6 @@ void mDoMtx_MtxToRot(const Mtx m, csXyz* o_rot) {
|
||||
}
|
||||
}
|
||||
|
||||
static u8 lit_3569[12];
|
||||
|
||||
Mtx mDoMtx_stack_c::now;
|
||||
Mtx mDoMtx_stack_c::buffer[16];
|
||||
|
||||
@ -349,7 +348,7 @@ mDoMtx_stack_c mDoMtx_stack;
|
||||
|
||||
mDoMtx_quatStack_c mDoMtx_quatStack;
|
||||
|
||||
extern Mtx g_mDoMtx_identity = {
|
||||
Mtx g_mDoMtx_identity = {
|
||||
{1.0f, 0.0f, 0.0f, 0.0f},
|
||||
{0.0f, 1.0f, 0.0f, 0.0f},
|
||||
{0.0f, 0.0f, 1.0f, 0.0f},
|
||||
|
Loading…
Reference in New Issue
Block a user