2019-05-31 11:44:43 +02:00
|
|
|
#include "common.h"
|
|
|
|
#include "patcher.h"
|
|
|
|
#include "Heli.h"
|
|
|
|
|
2019-06-30 12:59:55 +02:00
|
|
|
CHeli::CHeli(int mi, uint8 owner)
|
|
|
|
{
|
|
|
|
ctor(mi, owner);
|
|
|
|
}
|
|
|
|
|
|
|
|
WRAPPER CHeli* CHeli::ctor(int, uint8) { EAXJMP(0x547220); }
|
2019-05-31 11:44:43 +02:00
|
|
|
WRAPPER void CHeli::SpecialHeliPreRender(void) { EAXJMP(0x54AE10); }
|
2019-06-30 12:59:55 +02:00
|
|
|
|
2019-07-08 08:46:42 +02:00
|
|
|
class CHeli_ : public CHeli
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
void dtor(void) { CHeli::~CHeli(); }
|
|
|
|
};
|
|
|
|
|
2019-06-30 12:59:55 +02:00
|
|
|
STARTPATCHES
|
2019-07-08 08:46:42 +02:00
|
|
|
InjectHook(0x5474A0, &CHeli_::dtor, PATCH_JUMP);
|
2019-06-30 12:59:55 +02:00
|
|
|
ENDPATCHES
|