diff options
author | Max Horn | 2007-04-01 15:58:34 +0000 |
---|---|---|
committer | Max Horn | 2007-04-01 15:58:34 +0000 |
commit | 2447752a51ded9f6f70d392c8f572dd94eb5d65c (patch) | |
tree | 20c8077f00513839eed5e3fa949e204abb21898f /engines/scumm/scumm.h | |
parent | a97ab92dd95ead2bda8f99db163896d479adf886 (diff) | |
download | scummvm-rg350-2447752a51ded9f6f70d392c8f572dd94eb5d65c.tar.gz scummvm-rg350-2447752a51ded9f6f70d392c8f572dd94eb5d65c.tar.bz2 scummvm-rg350-2447752a51ded9f6f70d392c8f572dd94eb5d65c.zip |
Reverted my roomoffs changes (broke the Loom intro), and instead added the constant RES_INVALID_OFFSET to indicate an invalid room offset
svn-id: r26353
Diffstat (limited to 'engines/scumm/scumm.h')
-rw-r--r-- | engines/scumm/scumm.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/scumm/scumm.h b/engines/scumm/scumm.h index d4eff5a972..90cb14de1f 100644 --- a/engines/scumm/scumm.h +++ b/engines/scumm/scumm.h @@ -328,6 +328,9 @@ enum ResTypes { rtNumTypes = 22 }; +enum { + RES_INVALID_OFFSET = 0xFFFFFFFF +}; /** * The 'resource manager' class. Currently doesn't really deserve to be called @@ -350,7 +353,7 @@ protected: byte *status[rtNumTypes]; public: byte *roomno[rtNumTypes]; - int32 *roomoffs[rtNumTypes]; + uint32 *roomoffs[rtNumTypes]; uint32 *globsize[rtNumTypes]; protected: @@ -723,7 +726,7 @@ protected: int _resourceHeaderSize; byte _resourceMapper[128]; byte *_heV7DiskOffsets; - int32 *_heV7RoomIntOffsets; + uint32 *_heV7RoomIntOffsets; const byte *_resourceLastSearchBuf; // FIXME: need to put it to savefile? uint32 _resourceLastSearchSize; // FIXME: need to put it to savefile? |