summaryrefslogtreecommitdiffstats
path: root/src/control/RoadBlocks.h
blob: 16e3a36225af67616a18394694caa6c6713d5241 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once
#include "common.h"

class CVehicle;

class CRoadBlocks
{
public:
	static int16 (&NumRoadBlocks);
	static int16 (&RoadBlockObjects)[NUMROADBLOCKS];
	static bool (&InOrOut)[NUMROADBLOCKS];

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