summaryrefslogblamecommitdiffstats
path: root/src/control/RoadBlocks.h
blob: 3f5868e71d2a635cb98c5abaffbb539376fe8c51 (plain) (tree)
1
2
3
4
5
6
7
8







                   



                                                        
                               
                                                                         
                                             
  
#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);
};