summaryrefslogtreecommitdiffstats
path: root/src/control/CarCtrl.cpp
blob: 145c643c7b609ac632fec4845308366b12f72e3f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#include "common.h"
#include "patcher.h"
#include "CarCtrl.h"

int &CCarCtrl::NumLawEnforcerCars = *(int*)0x8F1B38;
bool &CCarCtrl::bCarsGeneratedAroundCamera = *(bool*)0x95CD8A;

WRAPPER void CCarCtrl::SwitchVehicleToRealPhysics(CVehicle*) { EAXJMP(0x41F7F0); }
WRAPPER void CCarCtrl::AddToCarArray(int32 id, int32 vehclass) { EAXJMP(0x4182F0); }
WRAPPER void CCarCtrl::UpdateCarCount(CVehicle*, bool) { EAXJMP(0x4202E0); }
WRAPPER int32 CCarCtrl::ChooseCarModel(int32 vehclass) { EAXJMP(0x418110); }