diff options
author | Strangerke | 2014-11-23 14:57:37 +0100 |
---|---|---|
committer | Paul Gilbert | 2014-12-12 22:38:49 -0500 |
commit | 7fbd145f5db82c002a213f57de8839c4decdc427 (patch) | |
tree | be9f216ae3b42479b56bc90f49bbfa42d1ca9d4e /engines/access/amazon/amazon_resources.h | |
parent | c1b3db90c49de5c2925cf65dfa49889dd2941164 (diff) | |
download | scummvm-rg350-7fbd145f5db82c002a213f57de8839c4decdc427.tar.gz scummvm-rg350-7fbd145f5db82c002a213f57de8839c4decdc427.tar.bz2 scummvm-rg350-7fbd145f5db82c002a213f57de8839c4decdc427.zip |
ACCESS: Use a new structure instead of a byte array for River Objects
Diffstat (limited to 'engines/access/amazon/amazon_resources.h')
-rw-r--r-- | engines/access/amazon/amazon_resources.h | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/engines/access/amazon/amazon_resources.h b/engines/access/amazon/amazon_resources.h index b29bdab2c3..ec412766bc 100644 --- a/engines/access/amazon/amazon_resources.h +++ b/engines/access/amazon/amazon_resources.h @@ -29,6 +29,15 @@ namespace Access { namespace Amazon { +struct RiverStruct { + int _id; + int _field1; + int _field3; + int _field5; + int _lane; + int _field8; +}; + extern const char *const FILENAMES[]; extern const byte *CURSORS[10]; @@ -90,14 +99,14 @@ extern const byte MAP2[32]; extern const byte *MAPTBL[3]; -extern const byte RIVER0OBJECTS[450]; -extern const byte ENDRIVER0[10]; -extern const byte RIVER1OBJECTS[490]; -extern const byte ENDRIVER1[10]; -extern const byte RIVER2OBJECTS[530]; -extern const byte ENDRIVER2[10]; +extern const RiverStruct RIVER0OBJECTS[45]; +extern const RiverStruct ENDRIVER0[1]; +extern const RiverStruct RIVER1OBJECTS[49]; +extern const RiverStruct ENDRIVER1[1]; +extern const RiverStruct RIVER2OBJECTS[53]; +extern const RiverStruct ENDRIVER2[1]; -extern const byte *RIVEROBJECTTBL[6]; +extern const RiverStruct *RIVEROBJECTTBL[6]; } // End of namespace Amazon |