Initial commit

This commit is contained in:
Orstedra
2025-05-26 01:52:45 +02:00
parent 7616b37976
commit 142380f587
3 changed files with 27 additions and 4 deletions
@@ -10,7 +10,7 @@ draw__17dTgGateToGround_cFv = .text:0x000002F0; // type:function size:0x8
__dt__17dTgGateToGround_cFv = .text:0x00000300; // type:function size:0x70
_ctors = .ctors:0x00000000; // type:label scope:global
_dtors = .dtors:0x00000000; // type:label scope:global
@20562 = .rodata:0x00000000; // type:object size:0x4 data:float scope:local
@20562 = .rodata:0x00000000; // type:object size:0x4 scope:local data:float
g_profile_GATE2GND_TAG = .data:0x00000000; // type:object size:0x10
@20583 = .data:0x00000010; // type:object size:0xC scope:local
__vt__17dTgGateToGround_c = .data:0x0000001C; // type:object size:0x74
+5 -2
View File
@@ -1,13 +1,16 @@
#ifndef D_T_SHUTTER_FENCE_FORBIDDANCE_H
#define D_T_SHUTTER_FENCE_FORBIDDANCE_H
#include "d/a/d_a_base.h"
#include "d/t/d_tg.h"
class dTgShutterFenceForbiddance_c : public dAcBase_c {
class dTgShutterFenceForbiddance_c : public dTg_c {
public:
dTgShutterFenceForbiddance_c();
virtual ~dTgShutterFenceForbiddance_c();
virtual int create() override;
virtual int actorExecute() override;
private:
};
+21 -1
View File
@@ -1,8 +1,28 @@
#include "d/t/d_t_shutter_fence_forbiddance.h"
#include "common.h"
#include "d/a/d_a_base.h"
#include "f/f_base.h"
SPECIAL_ACTOR_PROFILE(
TAG_SHUTTER_FENCE_FORBIDDANCE, dTgShutterFenceForbiddance_c, fProfile::TAG_SHUTTER_FENCE_FORBIDDANCE, 0x2A4, 0, 4
);
dTgShutterFenceForbiddance_c::dTgShutterFenceForbiddance_c() {}
static dTgShutterFenceForbiddance_c *FIRST_PTR;
dTgShutterFenceForbiddance_c::dTgShutterFenceForbiddance_c() {
if (!FIRST_PTR) {
FIRST_PTR = this;
}
}
dTgShutterFenceForbiddance_c::~dTgShutterFenceForbiddance_c() {}
int dTgShutterFenceForbiddance_c::create() {
return SUCCEEDED + ((reinterpret_cast<u32>(FIRST_PTR) - reinterpret_cast<u32>(this) |
reinterpret_cast<u32>(this) - reinterpret_cast<u32>(FIRST_PTR)) >>
31);
}
int dTgShutterFenceForbiddance_c::actorExecute() {
return SUCCEEDED;
}