mirror of
https://github.com/halpz/re3.git
synced 2025-07-11 03:38:53 +00:00
Enable GTA_BRIDGE
This commit is contained in:
@ -161,3 +161,23 @@ bool CBridge::ThisIsABridgeObjectMovingUp(int index)
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
void CBridge::ForceBridgeState(uint8 state)
|
||||
{
|
||||
#ifdef GTA_BRIDGE
|
||||
State = state;
|
||||
switch (state)
|
||||
{
|
||||
case STATE_BRIDGE_LOCKED:
|
||||
case STATE_LIFT_PART_MOVING_DOWN:
|
||||
case STATE_LIFT_PART_ABOUT_TO_MOVE_UP:
|
||||
ThePaths.SetLinksBridgeLights(-330.0f, -230.0f, -700.0f, -588.0f, true);
|
||||
break;
|
||||
case STATE_BRIDGE_ALWAYS_UNLOCKED:
|
||||
ThePaths.SetLinksBridgeLights(-330.0f, -230.0f, -700.0f, -588.0f, false);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
}
|
@ -26,4 +26,5 @@ public:
|
||||
static bool ShouldLightsBeFlashing();
|
||||
static void FindBridgeEntities();
|
||||
static bool ThisIsABridgeObjectMovingUp(int);
|
||||
static void ForceBridgeState(uint8 state);
|
||||
};
|
||||
|
Reference in New Issue
Block a user