diff options
author | Joost Peters | 2005-04-11 23:01:42 +0000 |
---|---|---|
committer | Joost Peters | 2005-04-11 23:01:42 +0000 |
commit | 1f6ca5d898d7a482a52a0ace481612ff06ff573d (patch) | |
tree | 2079cc6614621ba5baf80bc3a37673ade467ac9b | |
parent | 40fb3732c0e57d8ee4e1719df74ac5de4e60e9e2 (diff) | |
download | scummvm-rg350-1f6ca5d898d7a482a52a0ace481612ff06ff573d.tar.gz scummvm-rg350-1f6ca5d898d7a482a52a0ace481612ff06ff573d.tar.bz2 scummvm-rg350-1f6ca5d898d7a482a52a0ace481612ff06ff573d.zip |
add comment explaining this struct contains LE values
svn-id: r17557
-rw-r--r-- | gob/scenery.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gob/scenery.h b/gob/scenery.h index 1ae1427ffb..90b098ea14 100644 --- a/gob/scenery.h +++ b/gob/scenery.h @@ -26,10 +26,10 @@ namespace Gob { #pragma START_PACK_STRUCTS typedef struct Scen_PieceDesc { - int16 left; - int16 right; - int16 top; - int16 bottom; + int16 left; //NOTE: + int16 right; //These are stored in Little Endian format + int16 top; //And should be converted by client code when accessed + int16 bottom; //i.e. use FROM_LE_16() } GCC_PACK Scen_PieceDesc; typedef struct Scen_StaticPlane { |