diff options
author | Robert Göffringmann | 2003-04-27 15:08:35 +0000 |
---|---|---|
committer | Robert Göffringmann | 2003-04-27 15:08:35 +0000 |
commit | 760924593c32771a3dc528bd594a8089224e04b4 (patch) | |
tree | 968c0ef9c59d51c45889c4482639d749a70c7623 | |
parent | c27e22d048fcce533fcff5c3e8081e2e9726ca6f (diff) | |
download | scummvm-rg350-760924593c32771a3dc528bd594a8089224e04b4.tar.gz scummvm-rg350-760924593c32771a3dc528bd594a8089224e04b4.tar.bz2 scummvm-rg350-760924593c32771a3dc528bd594a8089224e04b4.zip |
included references to autoroute
svn-id: r7155
-rw-r--r-- | sky/autoroute.h | 2 | ||||
-rw-r--r-- | sky/module.mk | 1 | ||||
-rw-r--r-- | sky/sky.cpp | 1 | ||||
-rw-r--r-- | sky/sky.h | 3 |
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); } @@ -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; |