2019-08-11 17:11:54 +00:00
|
|
|
#pragma once
|
|
|
|
#include "common.h"
|
|
|
|
|
|
|
|
class CVehicle;
|
|
|
|
|
|
|
|
class CRoadBlocks
|
|
|
|
{
|
|
|
|
public:
|
2020-04-17 05:54:14 +00:00
|
|
|
static int16 NumRoadBlocks;
|
2020-05-05 15:04:43 +00:00
|
|
|
#ifndef MIAMI
|
2020-04-17 05:54:14 +00:00
|
|
|
static int16 RoadBlockObjects[NUMROADBLOCKS];
|
2020-05-05 15:04:43 +00:00
|
|
|
#else
|
|
|
|
static int16 RoadBlockNodes[NUMROADBLOCKS];
|
|
|
|
#endif
|
2020-04-17 05:54:14 +00:00
|
|
|
static bool InOrOut[NUMROADBLOCKS];
|
2020-03-25 14:13:06 +00:00
|
|
|
|
2019-10-18 22:23:40 +00:00
|
|
|
static void Init(void);
|
2020-05-24 13:14:27 +00:00
|
|
|
static void GenerateRoadBlockCopsForCar(CVehicle* pVehicle, int32 roadBlockType);
|
2019-10-18 22:23:40 +00:00
|
|
|
static void GenerateRoadBlocks(void);
|
2019-08-11 17:11:54 +00:00
|
|
|
};
|