diff options
author | Max Horn | 2007-03-31 14:00:34 +0000 |
---|---|---|
committer | Max Horn | 2007-03-31 14:00:34 +0000 |
commit | a08feb9f70d4ac8357db1df15950ff0067504d0d (patch) | |
tree | 419163da662065c1e2eed02f18cd05abacb084f4 /engines/scumm/scumm.h | |
parent | 00919e3a93264bcb261fdc00343ca29b26ac5171 (diff) | |
download | scummvm-rg350-a08feb9f70d4ac8357db1df15950ff0067504d0d.tar.gz scummvm-rg350-a08feb9f70d4ac8357db1df15950ff0067504d0d.tar.bz2 scummvm-rg350-a08feb9f70d4ac8357db1df15950ff0067504d0d.zip |
Got rid of some 0xFFFF -> 0xFFFFFFFF conversions and similiar nonsense by using a clever technique called 'signed ints' for room offsets (and this won't cause any regressions; any you may encounter are merely the products of a deranged imagination)
svn-id: r26331
Diffstat (limited to 'engines/scumm/scumm.h')
-rw-r--r-- | engines/scumm/scumm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/scumm.h b/engines/scumm/scumm.h index fe6b259411..d4eff5a972 100644 --- a/engines/scumm/scumm.h +++ b/engines/scumm/scumm.h @@ -350,7 +350,7 @@ protected: byte *status[rtNumTypes]; public: byte *roomno[rtNumTypes]; - uint32 *roomoffs[rtNumTypes]; + int32 *roomoffs[rtNumTypes]; uint32 *globsize[rtNumTypes]; protected: @@ -723,7 +723,7 @@ protected: int _resourceHeaderSize; byte _resourceMapper[128]; byte *_heV7DiskOffsets; - uint32 *_heV7RoomIntOffsets; + int32 *_heV7RoomIntOffsets; const byte *_resourceLastSearchBuf; // FIXME: need to put it to savefile? uint32 _resourceLastSearchSize; // FIXME: need to put it to savefile? |