[Scummvm-cvs-logs] CVS: scummvm boxes.h,1.3,1.4 gfx.h,1.8,1.9
Nicolas Bacca
arisme at users.sourceforge.net
Tue Apr 30 17:14:05 CEST 2002
Update of /cvsroot/scummvm/scummvm
In directory usw-pr-cvs1:/tmp/cvs-serv28093
Modified Files:
boxes.h gfx.h
Log Message:
Fixed packing for non GCC compilers - Loom & Zak work on WinCE now
Index: boxes.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/boxes.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** boxes.h 16 Apr 2002 17:42:14 -0000 1.3
--- boxes.h 1 May 2002 00:13:03 -0000 1.4
***************
*** 21,24 ****
--- 21,28 ----
*/
+ #if !defined(__GNUC__)
+ #pragma START_PACK_STRUCTS
+ #endif
+
#define SIZEOF_BOX 20
struct Box { /* Internal walkbox file format */
***************
*** 31,34 ****
--- 35,42 ----
uint16 scale;
} GCC_PACK;
+
+ #if !defined(__GNUC__)
+ #pragma END_PACK_STRUCTS
+ #endif
struct AdjustBoxResult { /* Result type of AdjustBox functions */
Index: gfx.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gfx.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** gfx.h 24 Apr 2002 04:26:08 -0000 1.8
--- gfx.h 1 May 2002 00:13:03 -0000 1.9
***************
*** 83,90 ****
--- 83,98 ----
};
+ #if !defined(__GNUC__)
+ #pragma START_PACK_STRUCTS
+ #endif
+
struct BompHeader { /* Bomp header */
uint16 unk;
uint16 width,height;
} GCC_PACK;
+
+ #if !defined(__GNUC__)
+ #pragma END_PACK_STRUCTS
+ #endif
struct BompDrawData { /* Bomp graphics data */
More information about the Scummvm-git-logs
mailing list