diff options
Diffstat (limited to 'sky')
-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; |