57 lines
2.6 KiB
C++
57 lines
2.6 KiB
C++
|
namespace Game
|
||
|
{
|
||
|
typedef void(__cdecl * Cmd_AddCommand_t)(const char* name, void(*callback), cmd_function_t* data, char);
|
||
|
extern Cmd_AddCommand_t Cmd_AddCommand;
|
||
|
|
||
|
typedef int(__cdecl * DB_GetXAssetSizeHandler_t)();
|
||
|
extern DB_GetXAssetSizeHandler_t* DB_GetXAssetSizeHandlers;
|
||
|
|
||
|
typedef dvar_t* (__cdecl * Dvar_RegisterBool_t)(const char* name, bool default, int flags, const char* description);
|
||
|
extern Dvar_RegisterBool_t Dvar_RegisterBool;
|
||
|
|
||
|
typedef dvar_t* (__cdecl * Dvar_RegisterFloat_t)(const char* name, float default, float min, float max, int flags, const char* description);
|
||
|
extern Dvar_RegisterFloat_t Dvar_RegisterFloat;
|
||
|
|
||
|
typedef dvar_t* (__cdecl * Dvar_RegisterFloat2_t)(const char* name, float defx, float defy, float min, float max, int flags, const char* description);
|
||
|
extern Dvar_RegisterFloat2_t Dvar_RegisterFloat2;
|
||
|
|
||
|
typedef dvar_t* (__cdecl * Dvar_RegisterFloat3_t)(const char* name, float defx, float defy, float defz, float min, float max, int flags, const char* description);
|
||
|
extern Dvar_RegisterFloat3_t Dvar_RegisterFloat3;
|
||
|
|
||
|
typedef dvar_t* (__cdecl * Dvar_RegisterFloat4_t)(const char* name, float defx, float defy, float defz, float defw, float min, float max, int flags, const char* description);
|
||
|
extern Dvar_RegisterFloat4_t Dvar_RegisterFloat4;
|
||
|
|
||
|
typedef dvar_t* (__cdecl * Dvar_RegisterInt_t)(const char* name, int default, int min, int max, int flags, const char* description);
|
||
|
extern Dvar_RegisterInt_t Dvar_RegisterInt;
|
||
|
|
||
|
typedef dvar_t* (__cdecl * Dvar_RegisterEnum_t)(const char* name, char** enumValues, int default, int flags, const char* description);
|
||
|
extern Dvar_RegisterEnum_t Dvar_RegisterEnum;
|
||
|
|
||
|
typedef dvar_t* (__cdecl * Dvar_RegisterString_t)(const char* name, const char* default, int, const char*);
|
||
|
extern Dvar_RegisterString_t Dvar_RegisterString;
|
||
|
|
||
|
typedef dvar_t* (__cdecl * Dvar_RegisterColor_t)(const char* name, float r, float g, float b, float a, int flags, const char* description);
|
||
|
extern Dvar_RegisterColor_t Dvar_RegisterColor;
|
||
|
|
||
|
typedef dvar_t* (__cdecl * Dvar_FindVar_t)(const char *dvarName);
|
||
|
extern Dvar_FindVar_t Dvar_FindVar;
|
||
|
|
||
|
typedef dvar_t* (__cdecl * Dvar_SetCommand_t)(const char* name, const char* value);
|
||
|
extern Dvar_SetCommand_t Dvar_SetCommand;
|
||
|
|
||
|
typedef void(__cdecl * Field_Clear_t)(void* field);
|
||
|
extern Field_Clear_t Field_Clear;
|
||
|
|
||
|
typedef void* (__cdecl * LoadModdableRawfile_t)(int a1, const char* filename);
|
||
|
extern LoadModdableRawfile_t LoadModdableRawfile;
|
||
|
|
||
|
extern void** DB_XAssetPool;
|
||
|
extern unsigned int* g_poolSize;
|
||
|
|
||
|
extern DWORD* cmd_id;
|
||
|
extern DWORD* cmd_argc;
|
||
|
extern char*** cmd_argv;
|
||
|
|
||
|
void* ReallocateAssetPool(XAssetType type, unsigned int newSize);
|
||
|
}
|