mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
Refactor/improve matches in Act1State (#1143)
* Refactor/improve matches in Act1State * Fix naming
This commit is contained in:

committed by
GitHub

parent
5d3d66965d
commit
cd261b9518
@@ -14,7 +14,7 @@ public:
|
||||
// FUNCTION: LEGO1 0x10033a70
|
||||
// LegoNamedPlane::~LegoNamedPlane
|
||||
|
||||
const MxString* GetName() const { return &m_name; }
|
||||
const char* GetName() const { return m_name.GetData(); }
|
||||
const Mx3DPointFloat& GetPosition() { return m_position; }
|
||||
const Mx3DPointFloat& GetDirection() { return m_direction; }
|
||||
const Mx3DPointFloat& GetUp() { return m_up; }
|
||||
@@ -24,6 +24,9 @@ public:
|
||||
void SetDirection(const Mx3DPointFloat& p_direction) { m_direction = p_direction; }
|
||||
void SetUp(const Mx3DPointFloat& p_up) { m_up = p_up; }
|
||||
|
||||
MxBool IsPresent() { return strcmp(m_name.GetData(), "") != 0; }
|
||||
void Reset() { m_name = ""; }
|
||||
|
||||
// FUNCTION: LEGO1 0x100344d0
|
||||
MxResult Serialize(LegoFile* p_file)
|
||||
{
|
||||
|
Reference in New Issue
Block a user