Order symbols in Act1State (#1336)

* Order functions in `Act1State`

* Remove IsPresent

* Revert some stuff
This commit is contained in:
Christian Semmler
2025-01-16 18:25:31 -07:00
committed by GitHub
parent 70b0f76fa1
commit e8c856c585
5 changed files with 33 additions and 30 deletions

View File

@@ -6,14 +6,17 @@
#include "mxstring.h"
// SIZE 0x4c
class LegoNamedPlane {
public:
struct LegoNamedPlane {
// FUNCTION: LEGO1 0x10033800
LegoNamedPlane() {}
// FUNCTION: LEGO1 0x10033a70
// LegoNamedPlane::~LegoNamedPlane
// Unclear whether getters/setters were used.
// Act1State::Serialize seems to access `m_name` directly (only matches like that)
// Act1State::PlaceActors though seems to require extensive use of getters to improve
const char* GetName() const { return m_name.GetData(); }
const Mx3DPointFloat& GetPosition() { return m_position; }
const Mx3DPointFloat& GetDirection() { return m_direction; }
@@ -47,7 +50,6 @@ public:
return SUCCESS;
}
// private:
MxString m_name; // 0x00
Mx3DPointFloat m_position; // 0x10
Mx3DPointFloat m_direction; // 0x24