summaryrefslogtreecommitdiffstats
path: root/src/control/RoadBlocks.h
blob: 439fd6e723fce9067a781b0eff841581b99c1b79 (plain) (blame)
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, int16 roadBlockNode);
	static void GenerateRoadBlocks(void);
};