diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2019-08-11 19:11:54 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2019-08-11 19:11:54 +0200 |
commit | 14b945ba08bfa18d8ac61bb7f5c08b299ce8a2b0 (patch) | |
tree | 671d1b9f6f0a3b67449f8d41b28724fe890619b4 /src/control/TrafficLights.h | |
parent | Merge remote-tracking branch 'upstream/master' (diff) | |
download | re3-14b945ba08bfa18d8ac61bb7f5c08b299ce8a2b0.tar re3-14b945ba08bfa18d8ac61bb7f5c08b299ce8a2b0.tar.gz re3-14b945ba08bfa18d8ac61bb7f5c08b299ce8a2b0.tar.bz2 re3-14b945ba08bfa18d8ac61bb7f5c08b299ce8a2b0.tar.lz re3-14b945ba08bfa18d8ac61bb7f5c08b299ce8a2b0.tar.xz re3-14b945ba08bfa18d8ac61bb7f5c08b299ce8a2b0.tar.zst re3-14b945ba08bfa18d8ac61bb7f5c08b299ce8a2b0.zip |
Diffstat (limited to 'src/control/TrafficLights.h')
-rw-r--r-- | src/control/TrafficLights.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/control/TrafficLights.h b/src/control/TrafficLights.h index db240111..f0d0248d 100644 --- a/src/control/TrafficLights.h +++ b/src/control/TrafficLights.h @@ -1,6 +1,7 @@ #pragma once class CEntity; +class CVehicle; enum { PED_LIGHTS_WALK, @@ -13,4 +14,6 @@ class CTrafficLights public: static void DisplayActualLight(CEntity *ent); static uint8 LightForPeds(void); + static bool ShouldCarStopForLight(CVehicle*, bool); + static bool ShouldCarStopForBridge(CVehicle*); }; |