TombEngine/TR5Main/Game/draw.h

23 lines
999 B
C
Raw Normal View History

2018-08-19 09:46:58 +02:00
#pragma once
#include "..\Global\global.h"
///#define DrawAnimatingItem ((void (__cdecl*)(ITEM_INFO*)) 0x0042B900)
2018-08-19 09:46:58 +02:00
#define GetBoundsAccurate ((short* (__cdecl*)(ITEM_INFO*)) 0x0042CF80)
#define GetBestFrame ((short* (__cdecl*)(ITEM_INFO*)) 0x0042D020)
#define CalcLaraMatrices ((void (__cdecl*)(__int32)) 0x0041E120)
#define Sync ((__int32 (__cdecl*)()) 0x004D1A40)
2018-08-21 21:07:18 +02:00
#define GetRoomBounds ((void (__cdecl*)()) 0x0042D4F0)
#define UpdateStorm ((void (__cdecl*)()) 0x0042A310)
#define Sub_0042A050 ((void (__cdecl*)()) 0x0042A050)
2019-11-12 12:28:54 +01:00
#define IsRoomOutside ((__int32 (__cdecl*)(__int32, __int32, __int32)) 0x00418E90)
#define DrawBaddieGunFlash ((void (__cdecl*)(ITEM_INFO*)) 0x00466880)
#define sub_42B4C0 ((void (__cdecl*)(ITEM_INFO*,__int16*)) 0x0042B4C0)
2018-08-19 09:46:58 +02:00
__int32 __cdecl DrawPhaseGame();
void __cdecl DrawAnimatingItem(ITEM_INFO* item);
2018-09-12 20:37:37 +02:00
__int32 __cdecl GetFrame_D2(ITEM_INFO* item, __int16* framePtr[], __int32* rate);
2018-08-19 09:46:58 +02:00
2019-01-13 21:57:16 +01:00
extern Renderer11* g_Renderer;
2018-09-02 09:29:36 +02:00
2018-08-19 09:46:58 +02:00
void Inject_Draw();