From 9e496100b7baff8834658f577d3138d9f8fc3765 Mon Sep 17 00:00:00 2001 From: aap Date: Sat, 18 May 2019 12:39:39 +0200 Subject: more work on CPhysical --- src/control/CarCtrl.cpp | 5 +++++ src/control/CarCtrl.h | 9 +++++++++ 2 files changed, 14 insertions(+) create mode 100644 src/control/CarCtrl.cpp create mode 100644 src/control/CarCtrl.h (limited to 'src/control') diff --git a/src/control/CarCtrl.cpp b/src/control/CarCtrl.cpp new file mode 100644 index 00000000..54491cd2 --- /dev/null +++ b/src/control/CarCtrl.cpp @@ -0,0 +1,5 @@ +#include "common.h" +#include "patcher.h" +#include "CarCtrl.h" + +WRAPPER void CCarCtrl::SwitchVehicleToRealPhysics(CVehicle*) { EAXJMP(0x41F7F0); } \ No newline at end of file diff --git a/src/control/CarCtrl.h b/src/control/CarCtrl.h new file mode 100644 index 00000000..fbe36f28 --- /dev/null +++ b/src/control/CarCtrl.h @@ -0,0 +1,9 @@ +#pragma once + +class CVehicle; + +class CCarCtrl +{ +public: + static void SwitchVehicleToRealPhysics(CVehicle*); +}; -- cgit v1.2.3