aboutsummaryrefslogtreecommitdiff
path: root/sky
diff options
context:
space:
mode:
authorRobert Göffringmann2003-04-27 15:08:35 +0000
committerRobert Göffringmann2003-04-27 15:08:35 +0000
commit760924593c32771a3dc528bd594a8089224e04b4 (patch)
tree968c0ef9c59d51c45889c4482639d749a70c7623 /sky
parentc27e22d048fcce533fcff5c3e8081e2e9726ca6f (diff)
downloadscummvm-rg350-760924593c32771a3dc528bd594a8089224e04b4.tar.gz
scummvm-rg350-760924593c32771a3dc528bd594a8089224e04b4.tar.bz2
scummvm-rg350-760924593c32771a3dc528bd594a8089224e04b4.zip
included references to autoroute
svn-id: r7155
Diffstat (limited to 'sky')
-rw-r--r--sky/autoroute.h2
-rw-r--r--sky/module.mk1
-rw-r--r--sky/sky.cpp1
-rw-r--r--sky/sky.h3
4 files changed, 7 insertions, 0 deletions
diff --git a/sky/autoroute.h b/sky/autoroute.h
index 9a3936bf78..51ee842682 100644
--- a/sky/autoroute.h
+++ b/sky/autoroute.h
@@ -29,6 +29,8 @@
#include "grid.h"
#include "skydefs.h"
+class SkyGrid;
+
class SkyAutoRoute {
public:
SkyAutoRoute(SkyGrid *pGrid);
diff --git a/sky/module.mk b/sky/module.mk
index 8b1f717979..e57f649a67 100644
--- a/sky/module.mk
+++ b/sky/module.mk
@@ -16,6 +16,7 @@ MODULE_OBJS = \
sky/sound.o \
sky/skychannel.o \
sky/skymusic.o \
+ sky/autoroute.o \
# Include common rules
include common.rules
diff --git a/sky/sky.cpp b/sky/sky.cpp
index d6e3719bd8..8958456111 100644
--- a/sky/sky.cpp
+++ b/sky/sky.cpp
@@ -117,6 +117,7 @@ void SkyState::initialise(void) {
//initialiseRouter();
_skyText = getSkyText();
_grid = new SkyGrid(_skyDisk);
+ _autoRoute = new SkyAutoRoute(_grid);
_skyLogic = new SkyLogic(_skyDisk, _grid);
}
diff --git a/sky/sky.h b/sky/sky.h
index 9a0c4e4020..c4668f4c4b 100644
--- a/sky/sky.h
+++ b/sky/sky.h
@@ -33,9 +33,11 @@
#include "sky/struc.h"
#include "sky/skymusic.h"
#include "sky/grid.h"
+#include "sky/autoroute.h"
class SkyLogic;
class SkyGrid;
+class SkyAutoRoute;
class SkyState : public Engine {
void errorString(const char *buf_input, char *buf_output);
@@ -75,6 +77,7 @@ protected:
SkyGrid *_grid;
SkyLogic *_skyLogic;
SkyMusic *_music;
+ SkyAutoRoute *_autoRoute;
byte *_workScreen;
byte *_backScreen;