summaryrefslogtreecommitdiff
path: root/src/control/RoadBlocks.h
blob: c8469ba5fcd32c05a6979204f907304d2144653f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once
#include "common.h"

class CVehicle;

class CRoadBlocks
{
public:
	static int16 NumRoadBlocks;
#ifndef MIAMI
	static int16 RoadBlockObjects[NUMROADBLOCKS];
#else
	static int16 RoadBlockNodes[NUMROADBLOCKS];
#endif
	static bool InOrOut[NUMROADBLOCKS];

	static void Init(void);
	static void GenerateRoadBlockCopsForCar(CVehicle* pVehicle, int32 roadBlockType);
	static void GenerateRoadBlocks(void);
};