more high level functions

This commit is contained in:
aap
2019-05-31 11:44:43 +02:00
parent f50cf32b87
commit 84204471a5
28 changed files with 415 additions and 24 deletions

5
src/entities/Heli.cpp Normal file
View File

@ -0,0 +1,5 @@
#include "common.h"
#include "patcher.h"
#include "Heli.h"
WRAPPER void CHeli::SpecialHeliPreRender(void) { EAXJMP(0x54AE10); }

13
src/entities/Heli.h Normal file
View File

@ -0,0 +1,13 @@
#pragma once
#include "Vehicle.h"
class CHeli : public CVehicle
{
public:
// 0x288
uint8 stuff[180];
static void SpecialHeliPreRender(void);
};
static_assert(sizeof(CHeli) == 0x33C, "CHeli: error");