mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-30 13:04:15 +01:00
28 lines
663 B
C++
28 lines
663 B
C++
#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
|
|
{
|
|
public:
|
|
static CEntity *&pLiftRoad, *&pLiftPart, *&pWeight;
|
|
static int &State, &OldState;
|
|
static float &DefaultZLiftPart, &DefaultZLiftRoad, &DefaultZLiftWeight;
|
|
static float &OldLift;
|
|
static uint32 &TimeOfBridgeBecomingOperational;
|
|
|
|
static void Init();
|
|
static void Update();
|
|
static bool ShouldLightsBeFlashing();
|
|
static void FindBridgeEntities();
|
|
static bool ThisIsABridgeObjectMovingUp(int);
|
|
};
|