diff options
author | withmorten <morten.with@gmail.com> | 2020-12-07 01:59:17 +0100 |
---|---|---|
committer | withmorten <morten.with@gmail.com> | 2020-12-07 01:59:17 +0100 |
commit | 4c0744260d2a7c1d9e015359edc58affb975fa03 (patch) | |
tree | 2d32e1f4658266e39c65937c1197c7277f51a487 /src/vehicles/Cranes.h | |
parent | int8 enums fixed (diff) | |
download | re3-4c0744260d2a7c1d9e015359edc58affb975fa03.tar re3-4c0744260d2a7c1d9e015359edc58affb975fa03.tar.gz re3-4c0744260d2a7c1d9e015359edc58affb975fa03.tar.bz2 re3-4c0744260d2a7c1d9e015359edc58affb975fa03.tar.lz re3-4c0744260d2a7c1d9e015359edc58affb975fa03.tar.xz re3-4c0744260d2a7c1d9e015359edc58affb975fa03.tar.zst re3-4c0744260d2a7c1d9e015359edc58affb975fa03.zip |
Diffstat (limited to 'src/vehicles/Cranes.h')
-rw-r--r-- | src/vehicles/Cranes.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vehicles/Cranes.h b/src/vehicles/Cranes.h index 45ea7a8d..162f9af9 100644 --- a/src/vehicles/Cranes.h +++ b/src/vehicles/Cranes.h @@ -11,7 +11,7 @@ class CBuilding; class CCrane { public: - enum CraneState : uint8 { + enum CraneState { IDLE = 0, GOING_TOWARDS_TARGET = 1, LIFTING_TARGET = 2, @@ -19,7 +19,7 @@ public: ROTATING_TARGET = 4, DROPPING_TARGET = 5 }; - enum CraneStatus : uint8 { + enum CraneStatus { NONE = 0, ACTIVATED = 1, DEACTIVATED = 2 @@ -46,8 +46,8 @@ public: CVector2D m_vecHookVelocity; CVehicle *m_pVehiclePickedUp; uint32 m_nTimeForNextCheck; - CraneStatus m_nCraneStatus; - CraneState m_nCraneState; + uint8 m_nCraneStatus; + uint8 m_nCraneState; uint8 m_nVehiclesCollected; bool m_bIsCrusher; bool m_bIsMilitaryCrane; |