re3/src/control/TrafficLights.h
Nikolay Korolev 14b945ba08 more CCarCtrl
2019-08-11 20:11:54 +03:00

19 lines
338 B
C++

#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*);
};