From 760924593c32771a3dc528bd594a8089224e04b4 Mon Sep 17 00:00:00 2001 From: Robert Göffringmann Date: Sun, 27 Apr 2003 15:08:35 +0000 Subject: included references to autoroute svn-id: r7155 --- sky/autoroute.h | 2 ++ sky/module.mk | 1 + sky/sky.cpp | 1 + sky/sky.h | 3 +++ 4 files changed, 7 insertions(+) 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; -- cgit v1.2.3