1
0
mirror of https://github.com/halpz/re3.git synced 2025-07-08 17:38:51 +00:00

uint8 enums fixed

This commit is contained in:
withmorten
2020-12-07 00:36:40 +01:00
parent 14eb0cd286
commit 4696e3f9c8
15 changed files with 37 additions and 38 deletions

@ -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
@ -47,8 +47,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;