re3/src/control/RoadBlocks.h

21 lines
436 B
C
Raw Normal View History

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