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

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