[Game] Fix structure changes

This commit is contained in:
momo5502
2018-05-09 12:04:20 +02:00
parent a6efda1e97
commit 7ca3b49f1e
18 changed files with 33 additions and 35 deletions

View File

@ -458,9 +458,9 @@ namespace Game
if (!_stricmp(DB_GetXAssetTypeName(type), name))
{
// Col map workaround!
if (type == Game::XAssetType::ASSET_TYPE_CLIPMAP)
if (type == Game::XAssetType::ASSET_TYPE_CLIPMAP_SP)
{
return Game::XAssetType::ASSET_TYPE_CLIPMAP_PVS;
return Game::XAssetType::ASSET_TYPE_CLIPMAP_MP;
}
return type;

View File

@ -21,9 +21,7 @@ namespace Game
typedef unsigned int scr_entref_t;
typedef void(__cdecl * scr_function_t)(scr_entref_t);
typedef enum
{
enum XAssetType
enum XAssetType
{
ASSET_TYPE_PHYSPRESET = 0x0,
ASSET_TYPE_PHYSCOLLMAP = 0x1,
@ -72,7 +70,7 @@ namespace Game
ASSET_TYPE_STRING = 0x2B,
ASSET_TYPE_ASSETLIST = 0x2C,
ASSET_TYPE_INVALID = -1,
} XAssetType;
};
typedef enum
{
@ -158,7 +156,7 @@ namespace Game
FloatLimit vector;
};
typedef struct dvar_t
struct dvar_t
{
const char *name;
const char *description;