Browse Source

Removed unused #pragma packs

pull/172/head
Alex Sweet 7 years ago committed by Anders Jenbo
parent
commit
74011382b4
  1. 10
      structs.h

10
structs.h

@ -92,7 +92,6 @@ typedef struct ItemGetRecordStruct {
unsigned int dwTimestamp;
} ItemGetRecordStruct;
#pragma pack(push, 4)
typedef struct ItemStruct {
int _iSeed;
WORD _iCreateInfo;
@ -167,13 +166,11 @@ typedef struct ItemStruct {
int IDidx;
int offs016C; // _oldlight or _iInvalid
} ItemStruct;
#pragma pack(pop)
//////////////////////////////////////////////////
// player
//////////////////////////////////////////////////
#pragma pack(push, 4)
typedef struct PlayerStruct {
int _pmode;
char walkpath[25];
@ -354,7 +351,6 @@ typedef struct PlayerStruct {
unsigned char *_pBData;
void *pReserved;
} PlayerStruct;
#pragma pack(pop)
//////////////////////////////////////////////////
// textdat
@ -404,7 +400,6 @@ typedef struct ChainStruct {
int _mirange;
} ChainStruct;
#pragma pack(push, 4)
typedef struct MissileStruct {
int _mitype;
int _mix;
@ -451,7 +446,6 @@ typedef struct MissileStruct {
int _miVar7;
int _miVar8;
} MissileStruct;
#pragma pack(pop)
//////////////////////////////////////////////////
// effects/sound
@ -545,7 +539,6 @@ typedef struct CMonster {
BYTE *trans_file;
} CMonster;
#pragma pack(push, 4)
typedef struct MonsterStruct { // note: missing field _mAFNum
int _mMTidx;
int _mmode; /* MON_MODE */
@ -622,7 +615,6 @@ typedef struct MonsterStruct { // note: missing field _mAFNum
CMonster *MType;
MonsterData *MData;
} MonsterStruct;
#pragma pack(pop)
typedef struct UniqMonstStruct {
char mtype;
@ -1189,7 +1181,6 @@ typedef struct InvXY {
// lighting
//////////////////////////////////////////////////
#pragma pack(push, 4)
typedef struct LightListStruct {
int _lx;
int _ly;
@ -1205,7 +1196,6 @@ typedef struct LightListStruct {
int _yoff;
int _lflags;
} LightListStruct;
#pragma pack(pop)
//////////////////////////////////////////////////
// dead

Loading…
Cancel
Save