From 541665d9d12d9f85dd759b14a8c6abd84714b84f Mon Sep 17 00:00:00 2001 From: aap Date: Sun, 2 Jun 2019 17:13:56 +0200 Subject: added some small bits and stubs --- src/entities/Vehicle.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/entities/Vehicle.h') diff --git a/src/entities/Vehicle.h b/src/entities/Vehicle.h index 16f11763..46e1c57c 100644 --- a/src/entities/Vehicle.h +++ b/src/entities/Vehicle.h @@ -54,6 +54,9 @@ uint8 m_extra2; uint8 stuff4[139]; int32 m_vehType; + static void *operator new(size_t); + static void operator delete(void*, size_t); + bool IsCar(void) { return m_vehType == VEHICLE_TYPE_CAR; } bool IsBoat(void) { return m_vehType == VEHICLE_TYPE_BOAT; } bool IsTrain(void) { return m_vehType == VEHICLE_TYPE_TRAIN; } -- cgit v1.2.3