2019-06-24 18:42:23 -04:00
|
|
|
#include "common.h"
|
|
|
|
#include "patcher.h"
|
|
|
|
#include "Automobile.h"
|
|
|
|
|
2019-06-30 06:59:55 -04:00
|
|
|
CAutomobile::CAutomobile(int mi, uint8 owner)
|
|
|
|
{
|
|
|
|
ctor(mi, owner);
|
|
|
|
}
|
|
|
|
|
|
|
|
WRAPPER CAutomobile* CAutomobile::ctor(int, uint8) { EAXJMP(0x52C6B0); }
|
|
|
|
|
|
|
|
WRAPPER void CAutomobile::SetDoorDamage(int32, uint32, bool) { EAXJMP(0x530200); }
|
2019-06-30 17:15:34 -04:00
|
|
|
WRAPPER void CAutomobile::SetPanelDamage(int32, uint32, bool) { EAXJMP(0x5301A0); }
|
|
|
|
WRAPPER void CAutomobile::SetBumperDamage(int32, uint32, bool) { EAXJMP(0x530120); }
|
2019-06-30 06:59:55 -04:00
|
|
|
|
|
|
|
STARTPATCHES
|
|
|
|
InjectHook(0x52D170, &CAutomobile::dtor, PATCH_JUMP);
|
|
|
|
ENDPATCHES
|