Fix up some structs sign
This commit is contained in:
parent
1800341b95
commit
395e531d8d
@ -688,6 +688,14 @@ namespace Game
|
|||||||
};
|
};
|
||||||
#pragma pack(pop)
|
#pragma pack(pop)
|
||||||
|
|
||||||
|
enum PlayerHandIndex
|
||||||
|
{
|
||||||
|
WEAPON_HAND_RIGHT = 0x0,
|
||||||
|
WEAPON_HAND_LEFT = 0x1,
|
||||||
|
NUM_WEAPON_HANDS = 0x2,
|
||||||
|
WEAPON_HAND_DEFAULT = 0x0,
|
||||||
|
};
|
||||||
|
|
||||||
enum KeyCatch_t
|
enum KeyCatch_t
|
||||||
{
|
{
|
||||||
KEYCATCH_MASK_ANY = -1,
|
KEYCATCH_MASK_ANY = -1,
|
||||||
@ -1065,7 +1073,7 @@ namespace Game
|
|||||||
union GfxColor
|
union GfxColor
|
||||||
{
|
{
|
||||||
unsigned int packed;
|
unsigned int packed;
|
||||||
char array[4];
|
unsigned char array[4];
|
||||||
};
|
};
|
||||||
|
|
||||||
union PackedTexCoords
|
union PackedTexCoords
|
||||||
@ -1400,14 +1408,6 @@ namespace Game
|
|||||||
int ammoCount[2];
|
int ammoCount[2];
|
||||||
};
|
};
|
||||||
|
|
||||||
enum PlayerHandIndex
|
|
||||||
{
|
|
||||||
WEAPON_HAND_RIGHT = 0x0,
|
|
||||||
WEAPON_HAND_LEFT = 0x1,
|
|
||||||
NUM_WEAPON_HANDS = 0x2,
|
|
||||||
WEAPON_HAND_DEFAULT = 0x0,
|
|
||||||
};
|
|
||||||
|
|
||||||
struct PlayerWeaponCommonState
|
struct PlayerWeaponCommonState
|
||||||
{
|
{
|
||||||
int offHandIndex;
|
int offHandIndex;
|
||||||
@ -2174,7 +2174,7 @@ namespace Game
|
|||||||
int flags;
|
int flags;
|
||||||
int format;
|
int format;
|
||||||
int resourceSize;
|
int resourceSize;
|
||||||
char data[1];
|
unsigned char data[1];
|
||||||
};
|
};
|
||||||
|
|
||||||
union GfxTexture
|
union GfxTexture
|
||||||
@ -3796,7 +3796,7 @@ namespace Game
|
|||||||
|
|
||||||
struct GfxLightGridColors
|
struct GfxLightGridColors
|
||||||
{
|
{
|
||||||
char rgb[56][3];
|
unsigned char rgb[56][3];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct GfxLightGrid
|
struct GfxLightGrid
|
||||||
|
Loading…
Reference in New Issue
Block a user