aboutsummaryrefslogtreecommitdiff
path: root/engines/dm/dm.cpp
diff options
context:
space:
mode:
authorStrangerke2016-06-29 22:51:40 +0200
committerBendegúz Nagy2016-08-26 23:02:22 +0200
commit57ca9afcff6b688d438a7c02096141921f28fc36 (patch)
tree88ef7a71816552f655e3b7affe7fae2037de9be6 /engines/dm/dm.cpp
parent3f19bcdf6b47bc7227eb91c6eb95fb20335276f6 (diff)
downloadscummvm-rg350-57ca9afcff6b688d438a7c02096141921f28fc36.tar.gz
scummvm-rg350-57ca9afcff6b688d438a7c02096141921f28fc36.tar.bz2
scummvm-rg350-57ca9afcff6b688d438a7c02096141921f28fc36.zip
DM: Move two global arrays to DMEngine
Diffstat (limited to 'engines/dm/dm.cpp')
-rw-r--r--engines/dm/dm.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/engines/dm/dm.cpp b/engines/dm/dm.cpp
index 0df836a45a..af0c9d587c 100644
--- a/engines/dm/dm.cpp
+++ b/engines/dm/dm.cpp
@@ -52,9 +52,6 @@
namespace DM {
-int8 gDirIntoStepCountEast[4] = {0 /* North */, 1 /* East */, 0 /* West */, -1 /* South */}; // @ G0233_ai_Graphic559_DirectionToStepEastCount
-int8 gDirIntoStepCountNorth[4] = {-1 /* North */, 0 /* East */, 1 /* West */, 0 /* South */}; // @ G0234_ai_Graphic559_DirectionToStepNorthCount
-
void turnDirRight(direction &dir) { dir = (direction)((dir + 1) & 3); }
void turnDirLeft(direction &dir) { dir = (direction)((dir - 1) & 3); }
direction returnOppositeDir(direction dir) { return (direction)((dir + 2) & 3); }