[Scummvm-cvs-logs] SF.net SVN: scummvm:[46679] scummvm/trunk/engines/sci

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Mon Dec 28 18:17:22 CET 2009


Revision: 46679
          http://scummvm.svn.sourceforge.net/scummvm/?rev=46679&view=rev
Author:   thebluegr
Date:     2009-12-28 17:17:22 +0000 (Mon, 28 Dec 2009)

Log Message:
-----------
Moved the OLD_PATHFINDING define inside sci.h, together with the others

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/kpathing.cpp
    scummvm/trunk/engines/sci/sci.h

Modified: scummvm/trunk/engines/sci/engine/kpathing.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kpathing.cpp	2009-12-28 16:23:00 UTC (rev 46678)
+++ scummvm/trunk/engines/sci/engine/kpathing.cpp	2009-12-28 17:17:22 UTC (rev 46679)
@@ -38,7 +38,6 @@
 #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);

Modified: scummvm/trunk/engines/sci/sci.h
===================================================================
--- scummvm/trunk/engines/sci/sci.h	2009-12-28 16:23:00 UTC (rev 46678)
+++ scummvm/trunk/engines/sci/sci.h	2009-12-28 17:17:22 UTC (rev 46679)
@@ -47,6 +47,8 @@
 //#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;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list