This commit is contained in:
robojumper
2024-05-24 10:33:21 +02:00
parent 71f3416cb5
commit df526e388b
13 changed files with 120 additions and 32 deletions
@@ -2,7 +2,7 @@ Sections:
.text type:code align:16
.ctors type:rodata align:4
.dtors type:rodata align:4
.rodata type:rodata align:8
.data type:data align:8
.bss type:bss align:8
REL/executor.c:
@@ -10,3 +10,4 @@ REL/executor.c:
REL/d/t/d_t_light_shaft_eff.cpp:
.text start:0x00000070 end:0x0000015C
.data start:0x00000000 end:0x00000084
@@ -1,13 +1,13 @@
_prolog = .text:0x00000000; // type:function size:0x2C scope:global
_epilog = .text:0x00000030; // type:function size:0x2C scope:global
_unresolved = .text:0x00000060; // type:function size:0x4 scope:global
fn_593_70 = .text:0x00000070; // type:function size:0x4C
fn_593_C0 = .text:0x000000C0; // type:function size:0x8
fn_593_D0 = .text:0x000000D0; // type:function size:0x8
fn_593_E0 = .text:0x000000E0; // type:function size:0x8
fn_593_F0 = .text:0x000000F0; // type:function size:0x8
fn_593_100 = .text:0x00000100; // type:function size:0x5C
construct__18dTgLightShaftEff_cFv = .text:0x00000070; // type:function size:0x4C
create__5dTg_cFv = .text:0x000000C0; // type:function size:0x8
doDelete__5dTg_cFv = .text:0x000000D0; // type:function size:0x8
actorExecute__5dTg_cFv = .text:0x000000E0; // type:function size:0x8
draw__5dTg_cFv = .text:0x000000F0; // type:function size:0x8
__dt__18dTgLightShaftEff_cFv = .text:0x00000100; // type:function size:0x5C
_ctors = .ctors:0x00000000; // type:label scope:global
_dtors = .dtors:0x00000000; // type:label scope:global
lbl_593_section4_0 = .rodata:0x00000000; // type:object size:0x10
lbl_593_section4_10 = .rodata:0x00000010; // type:object size:0x74
init_dTgLightShaftEff_c = .data:0x00000000; // type:object size:0x10
__vt__18dTgLightShaftEff_c = .data:0x00000010; // type:object size:0x74
+2 -1
View File
@@ -2,7 +2,7 @@ Sections:
.text type:code align:16
.ctors type:rodata align:4
.dtors type:rodata align:4
.rodata type:rodata align:8
.data type:data align:8
.bss type:bss align:8
REL/executor.c:
@@ -10,3 +10,4 @@ REL/executor.c:
REL/d/t/d_t_map_inst.cpp:
.text start:0x00000070 end:0x0000015C
.data start:0x00000000 end:0x00000084
@@ -1,13 +1,13 @@
_prolog = .text:0x00000000; // type:function size:0x2C scope:global
_epilog = .text:0x00000030; // type:function size:0x2C scope:global
_unresolved = .text:0x00000060; // type:function size:0x4 scope:global
fn_437_70 = .text:0x00000070; // type:function size:0x4C
fn_437_C0 = .text:0x000000C0; // type:function size:0x10
fn_437_D0 = .text:0x000000D0; // type:function size:0x8
fn_437_E0 = .text:0x000000E0; // type:function size:0x8
fn_437_F0 = .text:0x000000F0; // type:function size:0x8
fn_437_100 = .text:0x00000100; // type:function size:0x5C
construct__12dTgMapInst_cFv = .text:0x00000070; // type:function size:0x4C
create__12dTgMapInst_cFv = .text:0x000000C0; // type:function size:0x10
doDelete__5dTg_cFv = .text:0x000000D0; // type:function size:0x8
actorExecute__5dTg_cFv = .text:0x000000E0; // type:function size:0x8
draw__5dTg_cFv = .text:0x000000F0; // type:function size:0x8
__dt__12dTgMapInst_cFv = .text:0x00000100; // type:function size:0x5C
_ctors = .ctors:0x00000000; // type:label scope:global
_dtors = .dtors:0x00000000; // type:label scope:global
lbl_437_section4_0 = .rodata:0x00000000; // type:object size:0x10
lbl_437_section4_10 = .rodata:0x00000010; // type:object size:0x74
init_dTgMapInst_c = .data:0x00000000; // type:object size:0x10
__vt__12dTgMapInst_c = .data:0x00000010; // type:object size:0x74
+2 -1
View File
@@ -2,7 +2,7 @@ Sections:
.text type:code align:16
.ctors type:rodata align:4
.dtors type:rodata align:4
.rodata type:rodata align:8
.data type:data align:8
.bss type:bss align:8
REL/executor.c:
@@ -10,3 +10,4 @@ REL/executor.c:
REL/d/t/d_t_tackle.cpp:
.text start:0x00000070 end:0x0000015C
.data start:0x00000000 end:0x00000084
+8 -8
View File
@@ -1,13 +1,13 @@
_prolog = .text:0x00000000; // type:function size:0x2C scope:global
_epilog = .text:0x00000030; // type:function size:0x2C scope:global
_unresolved = .text:0x00000060; // type:function size:0x4 scope:global
fn_472_70 = .text:0x00000070; // type:function size:0x4C
fn_472_C0 = .text:0x000000C0; // type:function size:0x8
fn_472_D0 = .text:0x000000D0; // type:function size:0x8
fn_472_E0 = .text:0x000000E0; // type:function size:0x8
fn_472_F0 = .text:0x000000F0; // type:function size:0x8
fn_472_100 = .text:0x00000100; // type:function size:0x5C
construct__11dTgTackle_cFv = .text:0x00000070; // type:function size:0x4C
create__5dTg_cFv = .text:0x000000C0; // type:function size:0x8
doDelete__5dTg_cFv = .text:0x000000D0; // type:function size:0x8
actorExecute__5dTg_cFv = .text:0x000000E0; // type:function size:0x8
draw__5dTg_cFv = .text:0x000000F0; // type:function size:0x8
__dt__11dTgTackle_cFv = .text:0x00000100; // type:function size:0x5C
_ctors = .ctors:0x00000000; // type:label scope:global
_dtors = .dtors:0x00000000; // type:label scope:global
lbl_472_section4_0 = .rodata:0x00000000; // type:object size:0x10
lbl_472_section4_10 = .rodata:0x00000010; // type:object size:0x74
init_dTgTackle_c = .data:0x00000000; // type:object size:0x10
__vt__11dTgTackle_c = .data:0x00000010; // type:object size:0x74
+3 -3
View File
@@ -1024,8 +1024,8 @@ config.libs = [
Rel(NonMatching, "d_t_ks", "REL/d/t/d_t_ks.cpp"),
Rel(NonMatching, "d_t_kytag", "REL/d/t/d_t_kytag.cpp"),
Rel(NonMatching, "d_t_lb_thunder", "REL/d/t/d_t_lb_thunder.cpp"),
Rel(NonMatching, "d_t_light_shaft_eff", "REL/d/t/d_t_light_shaft_eff.cpp"),
Rel(NonMatching, "d_t_map_inst", "REL/d/t/d_t_map_inst.cpp"),
Rel(Matching, "d_t_light_shaft_eff", "REL/d/t/d_t_light_shaft_eff.cpp"),
Rel(Matching, "d_t_map_inst", "REL/d/t/d_t_map_inst.cpp"),
Rel(NonMatching, "d_t_map_mark", "REL/d/t/d_t_map_mark.cpp"),
Rel(NonMatching, "d_t_megami_diving", "REL/d/t/d_t_megami_diving.cpp"),
Rel(NonMatching, "d_t_miechan", "REL/d/t/d_t_miechan.cpp"),
@@ -1063,7 +1063,7 @@ config.libs = [
Rel(NonMatching, "d_t_stream", "REL/d/t/d_t_stream.cpp"),
Rel(NonMatching, "d_t_sword_battle_game", "REL/d/t/d_t_sword_battle_game.cpp"),
Rel(NonMatching, "d_t_sw_area", "REL/d/t/d_t_sw_area.cpp"),
Rel(NonMatching, "d_t_tackle", "REL/d/t/d_t_tackle.cpp"),
Rel(Matching, "d_t_tackle", "REL/d/t/d_t_tackle.cpp"),
Rel(NonMatching, "d_t_telop", "REL/d/t/d_t_telop.cpp"),
Rel(NonMatching, "d_t_timer", "REL/d/t/d_t_timer.cpp"),
Rel(NonMatching, "d_t_time_area_check", "REL/d/t/d_t_time_area_check.cpp"),
+14 -1
View File
@@ -12,6 +12,19 @@
#include "toBeSorted/room_manager.h"
class dAcBase_c;
/**
* Actors are always created through a lookup table
* of these objects.
*/
struct dActorInit {
dAcBase_c *(*create)();
u16 executeOrder;
u16 drawOrder;
u32 baseProperties;
u32 defaultFlags;
};
struct SoundInfo {
dAcBase_c *actor;
void *obj_sound;
@@ -69,7 +82,7 @@ protected:
/* 0x64 | 8002ceb0 */ virtual bool restorePosRotFromCopy();
/* 0x68 | 8002db80 */ virtual void *getCurrentEventActor();
/* 0x6C | 8002db90 */ virtual void unkVirtFunc_0x6C();
/* 0x70 | 8002dba0 */ virtual void doInteraction(s32);
/* 0x70 | 8002dba0 */ virtual void doInteraction(int);
public:
/* 8002c3b0 */ dAcBase_c();
+23
View File
@@ -0,0 +1,23 @@
#ifndef D_TG_H
#define D_TG_H
#include <d/a/d_a_base.h>
class dTg_c : public dAcBase_c {
public:
virtual ~dTg_c() {}
virtual int draw() override {
return 1;
}
virtual int actorExecute() override {
return 1;
}
virtual int doDelete() override {
return 1;
}
virtual int create() override {
return 1;
}
};
#endif
+13
View File
@@ -0,0 +1,13 @@
#include <d/tg/d_tg.h>
class dTgLightShaftEff_c : public dTg_c {
public:
dTgLightShaftEff_c() {}
virtual ~dTgLightShaftEff_c() {}
static dAcBase_c *construct() {
return new dTgLightShaftEff_c();
}
};
dActorInit init_dTgLightShaftEff_c = { dTgLightShaftEff_c::construct, 0x00bd, 0x025e, 0, 0 };
+23
View File
@@ -0,0 +1,23 @@
#include <d/tg/d_tg.h>
class dTgMapInst_c : public dTg_c {
public:
dTgMapInst_c() { }
virtual ~dTgMapInst_c() {}
virtual int create() override;
static dAcBase_c *construct();
u8 field_0xfc;
};
dAcBase_c *dTgMapInst_c::construct() {
return new dTgMapInst_c();
}
int dTgMapInst_c::create() {
field_0xfc = params & 0xff;
return 1;
}
dActorInit init_dTgMapInst_c = { dTgMapInst_c::construct, 0x025d, 0x021d, 0, 0 };
+13
View File
@@ -0,0 +1,13 @@
#include <d/tg/d_tg.h>
class dTgTackle_c : public dTg_c {
public:
dTgTackle_c() {}
virtual ~dTgTackle_c() {}
static dAcBase_c *construct() {
return new dTgTackle_c();
}
};
dActorInit init_dTgTackle_c = { dTgTackle_c::construct, 0x0210, 0x0241, 0, 0 };
+1 -1
View File
@@ -234,7 +234,7 @@ dAcBase_c dAcBase_c::createActorUnkGroup3(ProfileName actorId, u32 params1, Vec3
void *dAcBase_c::getCurrentEventActor() {}
void dAcBase_c::unkVirtFunc_0x6C() {}
void dAcBase_c::doInteraction(s32) {}
void dAcBase_c::doInteraction(int) {}
void dAcBase_c::FUN_8002dc20(s16 *, s16 *) {}
void dAcBase_c::incrementKillCounter() {}
void dAcBase_c::FUN_8002dcd0() {}