aboutsummaryrefslogtreecommitdiff
path: root/sky/autoroute.h
diff options
context:
space:
mode:
authorOliver Kiehl2003-04-27 15:43:08 +0000
committerOliver Kiehl2003-04-27 15:43:08 +0000
commit8fdf6e92424f0a4a54b7c9944bdb5537774be3c5 (patch)
treef82f51dea33b14eb96fd2ea41525964154b4ba2d /sky/autoroute.h
parent760924593c32771a3dc528bd594a8089224e04b4 (diff)
downloadscummvm-rg350-8fdf6e92424f0a4a54b7c9944bdb5537774be3c5.tar.gz
scummvm-rg350-8fdf6e92424f0a4a54b7c9944bdb5537774be3c5.tar.bz2
scummvm-rg350-8fdf6e92424f0a4a54b7c9944bdb5537774be3c5.zip
fixed cvs and modified autoroute parameters. removed initialisation from
SkyState since it is only needed by SkyLogic svn-id: r7156
Diffstat (limited to 'sky/autoroute.h')
-rw-r--r--sky/autoroute.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sky/autoroute.h b/sky/autoroute.h
index 51ee842682..00e4baa230 100644
--- a/sky/autoroute.h
+++ b/sky/autoroute.h
@@ -24,6 +24,7 @@
#define __AutoRoute__
#include "stdafx.h"
+#include "sky/sky.h"
#include "struc.h"
#include "compact.h"
#include "grid.h"
@@ -35,11 +36,12 @@ class SkyAutoRoute {
public:
SkyAutoRoute(SkyGrid *pGrid);
~SkyAutoRoute(void);
- uint16 autoRoute(Compact *cpt);
+ uint16 autoRoute(Compact *cpt, uint16 *routeCalc);
private:
uint16 checkBlock(uint16 *blockPos);
SkyGrid *_grid;
uint16 *_routeGrid;
};
-#endif // __AutoRoute \ No newline at end of file
+#endif // __AutoRoute
+