diff options
author | Florian Kagerer | 2009-04-04 00:19:34 +0000 |
---|---|---|
committer | Florian Kagerer | 2009-04-04 00:19:34 +0000 |
commit | 3d608dda3e63da9159c38d9a41960dea1cc16e24 (patch) | |
tree | a77a4b6b4d0bb88b003c596802a5ac9b88a9de6b /engines/kyra/staticres.cpp | |
parent | 121f174d611ba99c5f809696b87bc3cec1f53f31 (diff) | |
download | scummvm-rg350-3d608dda3e63da9159c38d9a41960dea1cc16e24.tar.gz scummvm-rg350-3d608dda3e63da9159c38d9a41960dea1cc16e24.tar.bz2 scummvm-rg350-3d608dda3e63da9159c38d9a41960dea1cc16e24.zip |
LOL: - reverted last commit which would break map shape drawing (I have now changed the map shape coordinates to decimal numbers though since some compiler seems to complain about signed hex numbers)
- added support for placing items in wall niches (like that one in the thugs' cave)
svn-id: r39823
Diffstat (limited to 'engines/kyra/staticres.cpp')
-rw-r--r-- | engines/kyra/staticres.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/kyra/staticres.cpp b/engines/kyra/staticres.cpp index fc37b2d9cd..87aae17f0e 100644 --- a/engines/kyra/staticres.cpp +++ b/engines/kyra/staticres.cpp @@ -3063,11 +3063,11 @@ const uint8 LoLEngine::_clock2Timers[] = { 0x51, 0x52, 0x08, 0x09, 0x0A }; -const uint8 LoLEngine::_mapCoords[12][4] = { - { 0x00, 0x07, 0x00, 0xFB }, { 0xFB, 0x00, 0x06, 0x00 }, { 0x07, 0x05, 0x07, 0x01 }, - { 0x05, 0x06, 0x04, 0x06 }, { 0x00, 0x07, 0x00, 0xFF }, { 0xFD, 0x00, 0x06, 0x00 }, - { 0x06, 0x07, 0x06, 0xFD }, { 0xFD, 0x05, 0x06, 0x05 }, { 0x01, 0x05, 0x01, 0x01 }, - { 0x03, 0x01, 0x03, 0x01 }, { 0xFF, 0x06, 0xFF, 0xF8 }, { 0xF9, 0xFF, 0x05, 0xFF } +const int8 LoLEngine::_mapCoords[12][4] = { + { 0, 7, 0, -5 }, { -5, 0, 6, 0 }, { 7, 5, 7, 1 }, + { 5, 6, 4, 6 }, { 0, 7, 0, -1 }, { -3, 0, 6, 0 }, + { 6, 7, 6, -3 }, { -3, 5, 6, 5 }, { 1, 5, 1, 1 }, + { 3, 1, 3, 1 }, { -1, 6, -1, -8 }, { -7, -1, 5, -1 } }; const uint8 LoLEngine::_numClock2Timers = ARRAYSIZE(LoLEngine::_clock2Timers); |