Move Read/Write functions to LegoStorage base class, match Act1State::Serialize (#1335)

* Move Read/Write function to LegoStorage base class

* Proper const use for vector / BETA match

* Match `Act1State::Serialize`
This commit is contained in:
Christian Semmler
2025-01-16 16:13:23 -07:00
committed by GitHub
parent 77a3dc0795
commit 70b0f76fa1
39 changed files with 472 additions and 473 deletions

View File

@@ -87,13 +87,13 @@ public:
void SetLoopCount(MxS32 p_loopCount) { m_loopCount = p_loopCount; }
// FUNCTION: BETA10 0x1003db50
Vector3& GetLocation() { return m_location; }
const Vector3& GetLocation() { return m_location; }
// FUNCTION: BETA10 0x1003db80
Vector3& GetDirection() { return m_direction; }
const Vector3& GetDirection() { return m_direction; }
// FUNCTION: BETA10 0x1003dbb0
Vector3& GetUp() { return m_up; }
const Vector3& GetUp() { return m_up; }
// FUNCTION: BETA10 0x100153b0
void SetLocation(const Vector3& p_location) { m_location = p_location; }