summaryrefslogtreecommitdiff
path: root/src/control/RoadBlocks.h
blob: 0f0c188272538049f0b880527faabc41266efcfd (plain)
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);
};