aboutsummaryrefslogtreecommitdiff
path: root/kyra/staticres.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2005-11-01 14:19:50 +0000
committerJohannes Schickel2005-11-01 14:19:50 +0000
commitc3ef43fd6bf00f1285c3ba067e9f686559656eac (patch)
tree43370bd4d49c684f9c431d6608514ebbd098a2c8 /kyra/staticres.cpp
parente763d1e060b9652923474fad620d6672bce4d120 (diff)
downloadscummvm-rg350-c3ef43fd6bf00f1285c3ba067e9f686559656eac.tar.gz
scummvm-rg350-c3ef43fd6bf00f1285c3ba067e9f686559656eac.tar.bz2
scummvm-rg350-c3ef43fd6bf00f1285c3ba067e9f686559656eac.zip
Implemented the pathfinder and applied patch # 1342902.
Also added debug printouts to some functions. svn-id: r19386
Diffstat (limited to 'kyra/staticres.cpp')
-rw-r--r--kyra/staticres.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/kyra/staticres.cpp b/kyra/staticres.cpp
index cff46c2276..4d70f9ae5b 100644
--- a/kyra/staticres.cpp
+++ b/kyra/staticres.cpp
@@ -574,11 +574,19 @@ const char *KyraEngine::_xmidiFiles[] = {
const int KyraEngine::_xmidiFilesCount = ARRAYSIZE(_xmidiFiles);
const int8 KyraEngine::_charXPosTable[] = {
- 0x00, 0x04, 0x04, 0x04, 0x00, 0xFC, 0xFC, 0xFC
+ 0, 4, 4, 4, 0, -4, -4, -4
+};
+
+const int8 KyraEngine::_addXPosTable[] = {
+ 4, 4, 0, -4, -4, -4, 0, 4
};
const int8 KyraEngine::_charYPosTable[] = {
- 0xFE, 0xFE, 0x00, 0x03, 0x02, 0x02, 0x00, 0xFE
+ -2, -2, 0, 3, 2, 2, 0, -2
+};
+
+const int8 KyraEngine::_addYPosTable[] = {
+ 0, -2, -2, -2, 0, 2, 2, 2
};
} // End of namespace Kyra