mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Refactor act 3 actors into act3actors.cpp
(#1210)
This commit is contained in:

committed by
GitHub

parent
c05ff6ff4a
commit
598d6dd10c
@@ -5,6 +5,9 @@
|
||||
|
||||
// File name verified by multiple assertions, e.g. BETA10 0x10018391
|
||||
|
||||
class Act3Ammo;
|
||||
class LegoWorld;
|
||||
|
||||
// VTABLE: LEGO1 0x100d7668 LegoPathActor
|
||||
// VTABLE: LEGO1 0x100d7738 LegoAnimActor
|
||||
// VTABLE: BETA10 0x101b8a98 LegoPathActor
|
||||
@@ -39,7 +42,120 @@ private:
|
||||
static Mx3DPointFloat g_unk0x10104ef0;
|
||||
};
|
||||
|
||||
// VTABLE: LEGO1 0x100d7750 LegoPathActor
|
||||
// VTABLE: LEGO1 0x100d7820 LegoAnimActor
|
||||
// SIZE 0x188
|
||||
class Act3Cop : public Act3Actor {
|
||||
public:
|
||||
Act3Cop();
|
||||
|
||||
void ParseAction(char* p_extra) override; // vtable+0x20
|
||||
void VTable0x70(float p_time) override; // vtable+0x70
|
||||
MxResult VTable0x94(LegoPathActor*, MxBool) override; // vtable+0x94
|
||||
MxResult VTable0x9c() override; // vtable+0x9c
|
||||
|
||||
MxFloat GetUnknown0x20() { return m_unk0x20; }
|
||||
|
||||
void SetUnknown0x20(MxFloat p_unk0x20) { m_unk0x20 = p_unk0x20; }
|
||||
|
||||
void FUN_10040360();
|
||||
|
||||
// SYNTHETIC: LEGO1 0x10043120
|
||||
// Act3Cop::`scalar deleting destructor'
|
||||
|
||||
private:
|
||||
MxFloat m_unk0x20; // 0x20
|
||||
LegoWorld* m_world; // 0x24
|
||||
undefined4 m_unk0x24[2]; // 0x28
|
||||
};
|
||||
|
||||
// VTABLE: LEGO1 0x100d7838 LegoPathActor
|
||||
// VTABLE: LEGO1 0x100d7908 LegoAnimActor
|
||||
// SIZE 0x1b4
|
||||
class Act3Brickster : public Act3Actor {
|
||||
public:
|
||||
Act3Brickster();
|
||||
~Act3Brickster() override;
|
||||
|
||||
void ParseAction(char* p_extra) override; // vtable+0x20
|
||||
void VTable0x70(float p_time) override; // vtable+0x70
|
||||
MxResult VTable0x94(LegoPathActor*, MxBool) override; // vtable+0x94
|
||||
void SwitchBoundary(
|
||||
LegoPathBoundary*& p_boundary,
|
||||
LegoUnknown100db7f4*& p_edge,
|
||||
float& p_unk0xe4
|
||||
) override; // vtable+0x98
|
||||
MxResult VTable0x9c() override; // vtable+0x9c
|
||||
|
||||
MxFloat GetUnknown0x20() { return m_unk0x20; }
|
||||
MxFloat GetUnknown0x24() { return m_unk0x24; }
|
||||
MxFloat GetUnknown0x50() { return m_unk0x50; }
|
||||
|
||||
void SetUnknown0x20(MxFloat p_unk0x20) { m_unk0x20 = p_unk0x20; }
|
||||
void SetUnknown0x24(MxFloat p_unk0x24) { m_unk0x24 = p_unk0x24; }
|
||||
void SetUnknown0x50(MxFloat p_unk0x50) { m_unk0x50 = p_unk0x50; }
|
||||
|
||||
MxResult FUN_100417c0();
|
||||
|
||||
// SYNTHETIC: LEGO1 0x10043250
|
||||
// Act3Brickster::`scalar deleting destructor'
|
||||
|
||||
private:
|
||||
MxFloat m_unk0x20; // 0x20
|
||||
MxFloat m_unk0x24; // 0x24
|
||||
undefined4 m_unk0x28[10]; // 0x28
|
||||
MxFloat m_unk0x50; // 0x50
|
||||
undefined4 m_unk0x54; // 0x54
|
||||
undefined4 m_unk0x58; // 0x58
|
||||
};
|
||||
|
||||
// VTABLE: LEGO1 0x100d7920 LegoPathActor
|
||||
// VTABLE: LEGO1 0x100d79f0 LegoAnimActor
|
||||
// SIZE 0x1a8
|
||||
class Act3Shark : public LegoAnimActor {
|
||||
public:
|
||||
Act3Shark();
|
||||
|
||||
// FUNCTION: LEGO1 0x100430d0
|
||||
const char* ClassName() const override // vtable+0x0c
|
||||
{
|
||||
// STRING: LEGO1 0x100f03a0
|
||||
return "Act3Shark";
|
||||
}
|
||||
|
||||
void ParseAction(char*) override; // vtable+0x20
|
||||
void VTable0x70(float p_time) override; // vtable+0x70
|
||||
|
||||
// LegoAnimActor vtable
|
||||
virtual MxResult FUN_10042ce0(Act3Ammo* p_ammo); // vtable+0x10
|
||||
|
||||
MxFloat GetUnknown0x2c() { return m_unk0x2c; }
|
||||
|
||||
void SetUnknown0x2c(MxFloat p_unk0x2c) { m_unk0x2c = p_unk0x2c; }
|
||||
|
||||
// SYNTHETIC: LEGO1 0x10043030
|
||||
// Act3Shark::`scalar deleting destructor'
|
||||
|
||||
private:
|
||||
list<Act3Ammo*> m_unk0x1c; // 0x1c
|
||||
undefined4 m_unk0x28; // 0x28
|
||||
MxFloat m_unk0x2c; // 0x2c
|
||||
LegoWorld* m_world; // 0x30
|
||||
LegoAnimActorStruct* m_unk0x34; // 0x34
|
||||
LegoROI* m_unk0x38; // 0x38
|
||||
Mx3DPointFloat m_unk0x3c; // 0x3c
|
||||
};
|
||||
|
||||
// TEMPLATE: LEGO1 0x10042c20
|
||||
// list<Act3Ammo *,allocator<Act3Ammo *> >::~list<Act3Ammo *,allocator<Act3Ammo *> >
|
||||
|
||||
// TEMPLATE: LEGO1 0x10042c90
|
||||
// List<Act3Ammo *>::~List<Act3Ammo *>
|
||||
|
||||
// GLOBAL: LEGO1 0x100d7660
|
||||
// Act3Actor::`vbtable'
|
||||
|
||||
// GLOBAL: LEGO1 0x100d7918
|
||||
// Act3Shark::`vbtable'
|
||||
|
||||
#endif // ACT3ACTORS_H
|
||||
|
@@ -1,46 +0,0 @@
|
||||
#ifndef ACT3BRICKSTER_H
|
||||
#define ACT3BRICKSTER_H
|
||||
|
||||
#include "act3actors.h"
|
||||
|
||||
// VTABLE: LEGO1 0x100d7838 LegoPathActor
|
||||
// VTABLE: LEGO1 0x100d7908 LegoAnimActor
|
||||
// SIZE 0x1b4
|
||||
class Act3Brickster : public Act3Actor {
|
||||
public:
|
||||
Act3Brickster();
|
||||
~Act3Brickster() override;
|
||||
|
||||
void ParseAction(char* p_extra) override; // vtable+0x20
|
||||
void VTable0x70(float p_time) override; // vtable+0x70
|
||||
MxResult VTable0x94(LegoPathActor*, MxBool) override; // vtable+0x94
|
||||
void SwitchBoundary(
|
||||
LegoPathBoundary*& p_boundary,
|
||||
LegoUnknown100db7f4*& p_edge,
|
||||
float& p_unk0xe4
|
||||
) override; // vtable+0x98
|
||||
MxResult VTable0x9c() override; // vtable+0x9c
|
||||
|
||||
MxFloat GetUnknown0x20() { return m_unk0x20; }
|
||||
MxFloat GetUnknown0x24() { return m_unk0x24; }
|
||||
MxFloat GetUnknown0x50() { return m_unk0x50; }
|
||||
|
||||
void SetUnknown0x20(MxFloat p_unk0x20) { m_unk0x20 = p_unk0x20; }
|
||||
void SetUnknown0x24(MxFloat p_unk0x24) { m_unk0x24 = p_unk0x24; }
|
||||
void SetUnknown0x50(MxFloat p_unk0x50) { m_unk0x50 = p_unk0x50; }
|
||||
|
||||
MxResult FUN_100417c0();
|
||||
|
||||
// SYNTHETIC: LEGO1 0x10043250
|
||||
// Act3Brickster::`scalar deleting destructor'
|
||||
|
||||
private:
|
||||
MxFloat m_unk0x20; // 0x20
|
||||
MxFloat m_unk0x24; // 0x24
|
||||
undefined4 m_unk0x28[10]; // 0x28
|
||||
MxFloat m_unk0x50; // 0x50
|
||||
undefined4 m_unk0x54; // 0x54
|
||||
undefined4 m_unk0x58; // 0x58
|
||||
};
|
||||
|
||||
#endif // ACT3BRICKSTER_H
|
@@ -1,35 +0,0 @@
|
||||
#ifndef ACT3COP_H
|
||||
#define ACT3COP_H
|
||||
|
||||
#include "act3actors.h"
|
||||
|
||||
class LegoWorld;
|
||||
|
||||
// VTABLE: LEGO1 0x100d7750 LegoPathActor
|
||||
// VTABLE: LEGO1 0x100d7820 LegoAnimActor
|
||||
// SIZE 0x188
|
||||
class Act3Cop : public Act3Actor {
|
||||
public:
|
||||
Act3Cop();
|
||||
|
||||
void ParseAction(char* p_extra) override; // vtable+0x20
|
||||
void VTable0x70(float p_time) override; // vtable+0x70
|
||||
MxResult VTable0x94(LegoPathActor*, MxBool) override; // vtable+0x94
|
||||
MxResult VTable0x9c() override; // vtable+0x9c
|
||||
|
||||
MxFloat GetUnknown0x20() { return m_unk0x20; }
|
||||
|
||||
void SetUnknown0x20(MxFloat p_unk0x20) { m_unk0x20 = p_unk0x20; }
|
||||
|
||||
void FUN_10040360();
|
||||
|
||||
// SYNTHETIC: LEGO1 0x10043120
|
||||
// Act3Cop::`scalar deleting destructor'
|
||||
|
||||
private:
|
||||
MxFloat m_unk0x20; // 0x20
|
||||
LegoWorld* m_world; // 0x24
|
||||
undefined4 m_unk0x24[2]; // 0x28
|
||||
};
|
||||
|
||||
#endif // ACT3COP_H
|
@@ -1,55 +0,0 @@
|
||||
#ifndef ACT3SHARK_H
|
||||
#define ACT3SHARK_H
|
||||
|
||||
#include "legoanimactor.h"
|
||||
|
||||
class Act3;
|
||||
class Act3Ammo;
|
||||
|
||||
// VTABLE: LEGO1 0x100d7920 LegoPathActor
|
||||
// VTABLE: LEGO1 0x100d79f0 LegoAnimActor
|
||||
// SIZE 0x1a8
|
||||
class Act3Shark : public LegoAnimActor {
|
||||
public:
|
||||
Act3Shark();
|
||||
|
||||
// FUNCTION: LEGO1 0x100430d0
|
||||
const char* ClassName() const override // vtable+0x0c
|
||||
{
|
||||
// STRING: LEGO1 0x100f03a0
|
||||
return "Act3Shark";
|
||||
}
|
||||
|
||||
void ParseAction(char*) override; // vtable+0x20
|
||||
void VTable0x70(float p_time) override; // vtable+0x70
|
||||
|
||||
// LegoAnimActor vtable
|
||||
virtual MxResult FUN_10042ce0(Act3Ammo* p_ammo); // vtable+0x10
|
||||
|
||||
MxFloat GetUnknown0x2c() { return m_unk0x2c; }
|
||||
|
||||
void SetUnknown0x2c(MxFloat p_unk0x2c) { m_unk0x2c = p_unk0x2c; }
|
||||
|
||||
// SYNTHETIC: LEGO1 0x10043030
|
||||
// Act3Shark::`scalar deleting destructor'
|
||||
|
||||
private:
|
||||
list<Act3Ammo*> m_unk0x1c; // 0x1c
|
||||
undefined4 m_unk0x28; // 0x28
|
||||
MxFloat m_unk0x2c; // 0x2c
|
||||
Act3* m_a3; // 0x30
|
||||
LegoAnimActorStruct* m_unk0x34; // 0x34
|
||||
LegoROI* m_unk0x38; // 0x38
|
||||
Mx3DPointFloat m_unk0x3c; // 0x3c
|
||||
};
|
||||
|
||||
// TEMPLATE: LEGO1 0x10042c20
|
||||
// list<Act3Ammo *,allocator<Act3Ammo *> >::~list<Act3Ammo *,allocator<Act3Ammo *> >
|
||||
|
||||
// TEMPLATE: LEGO1 0x10042c90
|
||||
// List<Act3Ammo *>::~List<Act3Ammo *>
|
||||
|
||||
// GLOBAL: LEGO1 0x100d7918
|
||||
// Act3Shark::`vbtable'
|
||||
|
||||
#endif // ACT3SHARK_H
|
Reference in New Issue
Block a user