Add @Dasfonia's menu and gametype stuff

This commit is contained in:
momo5502
2016-10-17 20:42:15 +02:00
parent 5b1d06f36e
commit b606983835
14 changed files with 152 additions and 6 deletions

View File

@ -98,6 +98,8 @@ namespace Game
Image_LoadFromFileWithReader_t Image_LoadFromFileWithReader = (Image_LoadFromFileWithReader_t)0x53ABF0;
Image_Release_t Image_Release = (Image_Release_t)0x51F010;
Key_SetCatcher_t Key_SetCatcher = (Key_SetCatcher_t)0x43BD00;
LargeLocalInit_t LargeLocalInit = (LargeLocalInit_t)0x4A62A0;
Load_Stream_t Load_Stream = (Load_Stream_t)0x470E30;

View File

@ -233,6 +233,9 @@ namespace Game
typedef void(__cdecl * Image_Release_t)(GfxImage* image);
extern Image_Release_t Image_Release;
typedef void(__cdecl * Key_SetCatcher_t)(int localClientNum, int catcher);
extern Key_SetCatcher_t Key_SetCatcher;
typedef void(__cdecl * LargeLocalInit_t)();
extern LargeLocalInit_t LargeLocalInit;

View File

@ -2545,12 +2545,17 @@ namespace Game
struct GfxStaticModelDrawInst
{
GfxPackedPlacement placement;
XModel *model;
char pad[24];
XModel *model; // 52
float cullDist;
char reflectionProbeIndex;
char primaryLightIndex;
unsigned __int16 lightingHandle;
char flags;
char pad2[8];
};
struct cplane_s