diff options
author | withmorten <morten.with@gmail.com> | 2020-12-07 00:36:40 +0100 |
---|---|---|
committer | withmorten <morten.with@gmail.com> | 2020-12-07 00:36:40 +0100 |
commit | 4696e3f9c88cdf9e025205b0b525dec8c310b671 (patch) | |
tree | 635faa0dc5ff4ce5798dae7a3509042b73c63e46 /src/entities | |
parent | fixed parenthesis (diff) | |
download | re3-4696e3f9c88cdf9e025205b0b525dec8c310b671.tar re3-4696e3f9c88cdf9e025205b0b525dec8c310b671.tar.gz re3-4696e3f9c88cdf9e025205b0b525dec8c310b671.tar.bz2 re3-4696e3f9c88cdf9e025205b0b525dec8c310b671.tar.lz re3-4696e3f9c88cdf9e025205b0b525dec8c310b671.tar.xz re3-4696e3f9c88cdf9e025205b0b525dec8c310b671.tar.zst re3-4696e3f9c88cdf9e025205b0b525dec8c310b671.zip |
Diffstat (limited to 'src/entities')
-rw-r--r-- | src/entities/Entity.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/entities/Entity.h b/src/entities/Entity.h index ba4f7ab0..9372c85d 100644 --- a/src/entities/Entity.h +++ b/src/entities/Entity.h @@ -6,7 +6,7 @@ struct CReference; class CPtrList; -enum eEntityType : uint8 +enum eEntityType { ENTITY_TYPE_NOTHING = 0, ENTITY_TYPE_BUILDING, @@ -16,7 +16,7 @@ enum eEntityType : uint8 ENTITY_TYPE_DUMMY, }; -enum eEntityStatus : uint8 +enum eEntityStatus { STATUS_PLAYER, STATUS_PLAYER_PLAYBACKFROMBUFFER, @@ -92,10 +92,10 @@ public: CReference *m_pFirstReference; public: - eEntityType GetType() const { return (eEntityType)m_type; } - void SetType(eEntityType type) { m_type = type; } - eEntityStatus GetStatus() const { return (eEntityStatus)m_status; } - void SetStatus(eEntityStatus status) { m_status = status; } + uint8 GetType() const { return m_type; } + void SetType(uint8 type) { m_type = type; } + uint8 GetStatus() const { return m_status; } + void SetStatus(uint8 status) { m_status = status; } CColModel *GetColModel(void) { return CModelInfo::GetModelInfo(m_modelIndex)->GetColModel(); } bool GetIsStatic(void) const { return bIsStatic; } void SetIsStatic(bool state) { bIsStatic = state; } |