From 74011382b49e25feb5631e81d293e4168f8fe6dc Mon Sep 17 00:00:00 2001 From: Alex Sweet Date: Mon, 8 Jul 2019 08:35:08 -0700 Subject: [PATCH] Removed unused #pragma packs --- structs.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/structs.h b/structs.h index 7d995dc2f..b949f8487 100644 --- a/structs.h +++ b/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