mirror of
https://github.com/halpz/re3.git
synced 2025-07-12 08:28:06 +00:00
Cleanup
This commit is contained in:
@ -1,27 +1,24 @@
|
||||
#pragma once
|
||||
#include "Entity.h"
|
||||
|
||||
enum bridgeStates {
|
||||
STATE_BRIDGE_LOCKED,
|
||||
STATE_LIFT_PART_IS_UP,
|
||||
STATE_LIFT_PART_MOVING_DOWN,
|
||||
STATE_LIFT_PART_IS_DOWN,
|
||||
STATE_LIFT_PART_ABOUT_TO_MOVE_UP,
|
||||
STATE_LIFT_PART_MOVING_UP
|
||||
};
|
||||
|
||||
class CBridge
|
||||
{
|
||||
private:
|
||||
enum bridgeStates
|
||||
{
|
||||
STATE_BRIDGE_LOCKED,
|
||||
STATE_LIFT_PART_IS_UP,
|
||||
STATE_LIFT_PART_MOVING_DOWN,
|
||||
STATE_LIFT_PART_IS_DOWN,
|
||||
STATE_LIFT_PART_ABOUT_TO_MOVE_UP,
|
||||
STATE_LIFT_PART_MOVING_UP
|
||||
};
|
||||
|
||||
|
||||
public:
|
||||
static CEntity *&pLiftRoad, *&pLiftPart, *&pWeight;
|
||||
static int &State, &OldState;
|
||||
static float &DefaultZLiftPart, &DefaultZLiftRoad, &DefaultZLiftWeight;
|
||||
static float& OldLift;
|
||||
static uint32& TimeOfBridgeBecomingOperational;
|
||||
static float &OldLift;
|
||||
static uint32 &TimeOfBridgeBecomingOperational;
|
||||
|
||||
public:
|
||||
static void Init();
|
||||
static void Update();
|
||||
static bool ShouldLightsBeFlashing();
|
||||
|
Reference in New Issue
Block a user