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







                   
                                   
             
                                                     


                                                   
                                           
 
                               
                                                                                         
                                             
  
#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);
	static void GenerateRoadBlocks(void);
};