TombEngine/TR5Main/Game/draw.h

21 lines
865 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)
#define GetBoundsAccurate ((short* (__cdecl*)(ITEM_INFO*)) 0x0042CF80)
#define GetBestFrame ((short* (__cdecl*)(ITEM_INFO*)) 0x0042D020)
#define CalcLaraMatrices ((void (__cdecl*)(__int32)) 0x0041E120)
#define phd_PushUnitMatrix ((void (__cdecl*)()) 0x0048FA90)
#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)
#define IsRoomOutside ((__int32 (__cdecl*)(__int32, __int32, __int32)) 0x00418E90)
2018-08-19 09:46:58 +02:00
__int32 __cdecl DrawPhaseGame();
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();