diff options
Diffstat (limited to 'src/control/TrafficLights.h')
-rw-r--r-- | src/control/TrafficLights.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/control/TrafficLights.h b/src/control/TrafficLights.h index eec3e1e3..f0d0248d 100644 --- a/src/control/TrafficLights.h +++ b/src/control/TrafficLights.h @@ -1,9 +1,19 @@ #pragma once class CEntity; +class CVehicle; + +enum { + PED_LIGHTS_WALK, + PED_LIGHTS_WALK_BLINK, + PED_LIGHTS_DONT_WALK, +}; class CTrafficLights { public: static void DisplayActualLight(CEntity *ent); + static uint8 LightForPeds(void); + static bool ShouldCarStopForLight(CVehicle*, bool); + static bool ShouldCarStopForBridge(CVehicle*); }; |