mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-18 08:28:59 +00:00
20 lines
377 B
C++
20 lines
377 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 void ScanForLightsOnMap(void);
|
|
static uint8 LightForPeds(void);
|
|
static bool ShouldCarStopForLight(CVehicle*, bool);
|
|
static bool ShouldCarStopForBridge(CVehicle*);
|
|
};
|