aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorFilippos Karapetis2009-12-28 17:17:22 +0000
committerFilippos Karapetis2009-12-28 17:17:22 +0000
commit871d5c534d4669a075023f51bc06417418bd080e (patch)
treebe2bd90e69796fb62e433f92555bb6ba74fdfe7e /engines/sci
parent0a6e2127acec9039d4cb98637d189fb84504e8d1 (diff)
downloadscummvm-rg350-871d5c534d4669a075023f51bc06417418bd080e.tar.gz
scummvm-rg350-871d5c534d4669a075023f51bc06417418bd080e.tar.bz2
scummvm-rg350-871d5c534d4669a075023f51bc06417418bd080e.zip
Moved the OLD_PATHFINDING define inside sci.h, together with the others
svn-id: r46679
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/engine/kpathing.cpp1
-rw-r--r--engines/sci/sci.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/engine/kpathing.cpp b/engines/sci/engine/kpathing.cpp
index c988a94c98..2895f4afb6 100644
--- a/engines/sci/engine/kpathing.cpp
+++ b/engines/sci/engine/kpathing.cpp
@@ -38,7 +38,6 @@ namespace Sci {
#define POLY_LAST_POINT 0x7777
#define POLY_POINT_SIZE 4
//#define DEBUG_AVOIDPATH //enable for avoidpath debugging
-#define OLD_PATHFINDING
static void POLY_GET_POINT(const byte *p, int i, Common::Point &pt) {
pt.x = (int16)READ_LE_UINT16((p) + (i) * POLY_POINT_SIZE);
diff --git a/engines/sci/sci.h b/engines/sci/sci.h
index c5f853cd17..8bfd1f9541 100644
--- a/engines/sci/sci.h
+++ b/engines/sci/sci.h
@@ -47,6 +47,8 @@ namespace Sci {
//#define USE_OLDGFX
// Uncomment this to use old music functions
#define USE_OLD_MUSIC_FUNCTIONS
+// Uncomment this to use old pathfinding code
+#define OLD_PATHFINDING
class Console;
struct EngineState;