diff options
author | Max Horn | 2003-05-18 19:44:22 +0000 |
---|---|---|
committer | Max Horn | 2003-05-18 19:44:22 +0000 |
commit | 8f7f22aeae822a123627c6f7e27e6f397129bd70 (patch) | |
tree | 5e94881c4093d7527884efc1395e43aa6d0a28bf /scumm/scummvm.cpp | |
parent | c9048e046b4427112e9c7996fa2c6a3a1618d3b3 (diff) | |
download | scummvm-rg350-8f7f22aeae822a123627c6f7e27e6f397129bd70.tar.gz scummvm-rg350-8f7f22aeae822a123627c6f7e27e6f397129bd70.tar.bz2 scummvm-rg350-8f7f22aeae822a123627c6f7e27e6f397129bd70.zip |
implemented proper 'invalid walkbox' handling in older games (in newer games, box 0 is used as invalid box, while in older games this is a legal box and box 255 is the 'invalid' box); removed lots of FIXME's which were needed to cope with ScummVM not implementing the invalid walkbox stuff properly in the past; removed other actor FIXMEs.
svn-id: r7642
Diffstat (limited to 'scumm/scummvm.cpp')
-rw-r--r-- | scumm/scummvm.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp index cef3d0f6b0..15cb9554df 100644 --- a/scumm/scummvm.cpp +++ b/scumm/scummvm.cpp @@ -542,6 +542,9 @@ Scumm::Scumm (GameDetector *detector, OSystem *syst) _hexdumpScripts = false; _showStack = false; + if (_features & GF_SMALL_HEADER) + Actor::INVALID_BOX = 255; + if (_gameId == GID_ZAK256) { // FmTowns is 320x240 _screenWidth = 320; _screenHeight = 240; |