diff options
author | Max Horn | 2003-10-03 13:53:46 +0000 |
---|---|---|
committer | Max Horn | 2003-10-03 13:53:46 +0000 |
commit | aed27b35dd0ff860a80fb784c0fda00f58e87334 (patch) | |
tree | 168c571734d45c5e58afea60cc0c7c1b5003d407 /sword2/driver | |
parent | a6cb5aa76b360abbe899c27a2bee81ab96c2e96e (diff) | |
download | scummvm-rg350-aed27b35dd0ff860a80fb784c0fda00f58e87334.tar.gz scummvm-rg350-aed27b35dd0ff860a80fb784c0fda00f58e87334.tar.bz2 scummvm-rg350-aed27b35dd0ff860a80fb784c0fda00f58e87334.zip |
use C++ struct naming instead of typedefs -> this fixes (or works around, whatever you prefer to call it) the GCC_PACK problem in Doxygen
svn-id: r10569
Diffstat (limited to 'sword2/driver')
-rw-r--r-- | sword2/driver/_mouse.cpp | 4 | ||||
-rw-r--r-- | sword2/driver/driver96.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sword2/driver/_mouse.cpp b/sword2/driver/_mouse.cpp index f2eff1820d..3c1d94e17a 100644 --- a/sword2/driver/_mouse.cpp +++ b/sword2/driver/_mouse.cpp @@ -31,7 +31,7 @@ #pragma START_PACK_STRUCTS #endif -typedef struct { +struct _mouseAnim { uint8 runTimeComp; // type of runtime compression used for the // frame data uint8 noAnimFrames; // number of frames in the anim @@ -39,7 +39,7 @@ typedef struct { int8 yHotSpot; uint8 mousew; uint8 mouseh; -} GCC_PACK _mouseAnim; +} GCC_PACK; #if !defined(__GNUC__) #pragma END_PACK_STRUCTS diff --git a/sword2/driver/driver96.h b/sword2/driver/driver96.h index fd00dc267d..effc5f1f2a 100644 --- a/sword2/driver/driver96.h +++ b/sword2/driver/driver96.h @@ -243,11 +243,11 @@ typedef struct { #pragma START_PACK_STRUCTS #endif -typedef struct { +struct _parallax { uint16 w; uint16 h; uint32 offset[2]; // 2 is arbitrary -} GCC_PACK _parallax; +} GCC_PACK; #if !defined(__GNUC__) #pragma END_PACK_STRUCTS |