Implement/match LegoAct2::BadEnding (#1217)

* Implement/match `LegoAct2::BadEnding`

* Name some vars
This commit is contained in:
Christian Semmler
2024-12-13 09:26:06 -07:00
committed by GitHub
parent 32392a8e55
commit de7bc813ca
4 changed files with 41 additions and 26 deletions

View File

@@ -10,11 +10,11 @@
// SIZE 0x1a8
class Act2Actor : public LegoAnimActor {
public:
struct UnknownListStructure {
struct Location {
MxFloat m_position[3]; // 0x00
MxFloat m_direction[3]; // 0x0c
const char* m_boundary; // 0x18
undefined m_unk0x1c; // 0x1c
MxBool m_unk0x1c; // 0x1c
};
Act2Actor();
@@ -31,9 +31,9 @@ public:
void FUN_10019250(MxFloat p_speed, MxFloat p_param2);
void FUN_10019520();
void FUN_10019560();
undefined4 FUN_10019700(MxFloat p_param);
MxU32 FUN_10019700(MxFloat p_param);
void FUN_100199f0(MxS8 p_param);
void FUN_100192a0(undefined4 p_param);
void FUN_100192a0(undefined4 p_location);
LegoEntity* FUN_10019b90(undefined* p_param);
// SYNTHETIC: LEGO1 0x1001a0a0

View File

@@ -40,9 +40,12 @@ public:
// SYNTHETIC: LEGO1 0x1000e040
// LegoAct2State::`scalar deleting destructor'
// FUNCTION: BETA10 0x100151b0
void SetUnknown0x08(undefined4 p_unk0x08) { m_unk0x08 = p_unk0x08; }
undefined4 GetUnknown0x08() { return m_unk0x08; }
// TODO: Most likely getters/setters are not used according to BETA.
// TODO: Most likely getters/setters are not used according to BETA. (?)
undefined4 m_unk0x08; // 0x08
MxBool m_enabled; // 0x0c
@@ -70,7 +73,7 @@ public:
MxResult FUN_100516b0();
void FUN_100517b0();
undefined4 FUN_10051f20();
MxResult BadEnding();
MxResult FUN_10052560(
Act2mainScript::Script p_objectId,
MxBool p_param2,