summaryrefslogtreecommitdiff
path: root/src/control/RoadBlocks.h
blob: 3f5868e71d2a635cb98c5abaffbb539376fe8c51 (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*, int32, int16);
	static void GenerateRoadBlocks(void);
};