diff options
Diffstat (limited to 'engines/sword1/object.h')
-rw-r--r-- | engines/sword1/object.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/sword1/object.h b/engines/sword1/object.h index e8f80eaf2d..be1d6017ee 100644 --- a/engines/sword1/object.h +++ b/engines/sword1/object.h @@ -39,7 +39,7 @@ namespace Sword1 { struct OEventSlot { //receiving event list in the compact - int32 o_event; //array of these with O_TOTAL_EVENTS elements int32 o_event_script; -} GCC_PACK; // size = 2*int32 = 8 bytes +}; // size = 2*int32 = 8 bytes #define TOTAL_script_levels 5 @@ -47,12 +47,12 @@ struct ScriptTree { //this is a logic tree, used by OBJECTs int32 o_script_level; //logic level int32 o_script_id[TOTAL_script_levels]; //script id's (are unique to each level) int32 o_script_pc[TOTAL_script_levels]; //pc of script for each (if script_manager) -} GCC_PACK; // size = 11*int32 = 44 bytes +}; // size = 11*int32 = 44 bytes struct TalkOffset { int32 x; int32 y; -} GCC_PACK; // size = 2*int32 = 8 bytes +}; // size = 2*int32 = 8 bytes struct WalkData { int32 frame; @@ -60,7 +60,7 @@ struct WalkData { int32 y; int32 step; int32 dir; -} GCC_PACK; // size = 5*int32 = 20 bytes +}; // size = 5*int32 = 20 bytes struct Object { int32 o_type; // 0 broad description of type - object, floor, etc. @@ -118,7 +118,7 @@ struct Object { WalkData o_route[O_WALKANIM_SIZE]; // 340 size = 600*20 bytes = 12000 // mega size = 12340 bytes (+ 8 byte offset table + 20 byte header = 12368) -} GCC_PACK; +}; #if defined(END_PACK_STRUCTS) #pragma END_PACK_STRUCTS |