diff options
| author | Julgodis <> | 2021-04-10 07:02:38 +0200 |
|---|---|---|
| committer | Julgodis <> | 2021-04-10 07:02:38 +0200 |
| commit | 0ad6ebe7b499ad3efffad93e2e7eb1033bcb6598 (patch) | |
| tree | a40631b0654c4d310ebff2360e2a4ef32437a2b5 /src/d/map/d_map_path_dmap.cpp | |
| parent | 2661db6aaa98a5bbd17691cb438ef64752dbcdf4 (diff) | |
moved strings + decompile simple store functions
Diffstat (limited to 'src/d/map/d_map_path_dmap.cpp')
| -rw-r--r-- | src/d/map/d_map_path_dmap.cpp | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/src/d/map/d_map_path_dmap.cpp b/src/d/map/d_map_path_dmap.cpp index 6cc5213640..3340fecdab 100644 --- a/src/d/map/d_map_path_dmap.cpp +++ b/src/d/map/d_map_path_dmap.cpp @@ -24,8 +24,6 @@ struct renderingPlusDoor_c { /* 8004145C */ void beforeDrawPath(); }; -struct Vec {}; - struct dTres_c { struct data_s {}; @@ -38,6 +36,8 @@ struct dTres_c { static u8 mTypeGroupListAll[204 + 4 /* padding */]; }; +struct Vec {}; + struct renderingPlusDoorAndCursor_c { /* 8002B008 */ ~renderingPlusDoorAndCursor_c(); /* 800402FC */ void afterDrawPath(); @@ -641,15 +641,12 @@ u8 dMpath_c::isExistMapPathData() { /* 80450630-80450634 0000B0 0004+00 0/0 1/1 2/2 .sdata mNextRoomNo__10dMapInfo_c */ SECTION_SDATA u32 dMapInfo_c::mNextRoomNo = 0xFFFFFFFF; -/* 80450634-80450638 -00001 0004+00 4/4 0/0 0/0 .sdata None */ -SECTION_SDATA static u8 struct_80450634[4] = { +/* 80450634-80450636 -00001 0002+00 3/3 0/0 0/0 .sdata None */ +SECTION_SDATA static u8 struct_80450634[2] = { /* 80450634 0001+00 data_80450634 None */ 0x7F, /* 80450635 0001+00 data_80450635 None */ 0x80, - /* 80450636 0002+00 data_80450636 None */ - 0x01, - 0x00, }; /* 8003F760-8003F7E8 03A0A0 0088+00 0/0 1/1 0/0 .text getTopBottomFloorNo__8dMpath_cFPScPSc */ @@ -703,6 +700,10 @@ asm void dMpath_c::create() { } #pragma pop +/* ############################################################################################## */ +/* 80450636-80450638 0000B6 0002+00 2/2 0/0 0/0 .sdata None */ +SECTION_SDATA static u16 data_80450636 = 0x0100; + /* 8003FBD0-8003FC70 03A510 00A0+00 2/2 0/0 0/0 .text reset__8dMpath_cFv */ #pragma push #pragma optimization_level 0 @@ -1031,7 +1032,7 @@ SECTION_RODATA static u8 const l_100x100BoxVertexList[48] = { 0xC2, 0x48, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x42, 0x48, 0x00, 0x00, 0x42, 0x48, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC2, 0x48, 0x00, 0x00, 0x42, 0x48, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, }; -COMPILER_STRIP_GATE(80379C58, &l_100x100BoxVertexList); +COMPILER_STRIP_GATE(0x80379C58, &l_100x100BoxVertexList); /* 80451E70-80451E74 000470 0004+00 1/1 0/0 0/0 .sdata2 @4484 */ SECTION_SDATA2 static f32 lit_4484 = 6.0f; @@ -1135,7 +1136,7 @@ SECTION_RODATA static void* const l_treasureDispList_4524[12] = { (void*)NULL, (void*)0x00000001, (void*)&l_treasureStartColor, (void*)0x05000000, (void*)0x00000003, (void*)&l_destinationStartColor, }; -COMPILER_STRIP_GATE(80379C88, &l_treasureDispList_4524); +COMPILER_STRIP_GATE(0x80379C88, &l_treasureDispList_4524); /* 80451E74-80451E78 000474 0004+00 1/0 0/0 0/0 .sdata2 l_entranceStartColor */ SECTION_SDATA2 static u32 l_entranceStartColor = 0x94000000; @@ -1227,7 +1228,7 @@ SECTION_RODATA static void* const l_treasureDispList_4606[33] = { (void*)0x04000000, (void*)0x00000004, (void*)&l_smallKeyStartColor, (void*)0x03000000, (void*)0x00000004, (void*)&l_bossStartColor, }; -COMPILER_STRIP_GATE(80379CB8, &l_treasureDispList_4606); +COMPILER_STRIP_GATE(0x80379CB8, &l_treasureDispList_4606); /* 80451EAC-80451EB4 0004AC 0008+00 1/1 0/0 0/0 .sdata2 l_iconTex0$4605 */ SECTION_SDATA2 static u8 l_iconTex0_4605[8] = { @@ -1259,7 +1260,7 @@ SECTION_RODATA static u8 const l_iconPosData[32] = { 0xC2, 0x48, 0x00, 0x00, 0x42, 0x48, 0x00, 0x00, 0x42, 0x48, 0x00, 0x00, 0x42, 0x48, 0x00, 0x00, 0x42, 0x48, 0x00, 0x00, 0xC2, 0x48, 0x00, 0x00, 0xC2, 0x48, 0x00, 0x00, 0xC2, 0x48, 0x00, 0x00, }; -COMPILER_STRIP_GATE(80379D3C, &l_iconPosData); +COMPILER_STRIP_GATE(0x80379D3C, &l_iconPosData); /* 80041208-800412C0 03BB48 00B8+00 2/2 0/0 0/0 .text * drawIconSingle__28renderingPlusDoorAndCursor_cFRC3Vecff */ @@ -1280,7 +1281,7 @@ SECTION_RODATA static u8 const l_offset[36] = { 0xC3, 0x48, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC3, 0x70, 0x00, 0x00, 0x43, 0x48, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC3, 0x70, 0x00, 0x00, }; -COMPILER_STRIP_GATE(80379D5C, &l_offset); +COMPILER_STRIP_GATE(0x80379D5C, &l_offset); /* 80450638-80450640 0000B8 0004+04 1/1 0/0 0/0 .sdata l_cursorColor$4709 */ SECTION_SDATA static u8 l_cursorColor[4 + 4 /* padding */] = { @@ -1331,7 +1332,7 @@ asm void __sinit_d_map_path_dmap_cpp() { #pragma push #pragma force_active on -SECTION_CTORS void* const _ctors_80041460 = (void*)__sinit_d_map_path_dmap_cpp; +REGISTER_CTORS(0x80041460, __sinit_d_map_path_dmap_cpp); #pragma pop /* ############################################################################################## */ |
