diff options
author | Jonathan Gray | 2004-08-02 14:51:48 +0000 |
---|---|---|
committer | Jonathan Gray | 2004-08-02 14:51:48 +0000 |
commit | 632612680b894f21653379e0754f8123a83bc3e2 (patch) | |
tree | 4421f259e07c46b46e334605faaa28c413600d6f /saga/saga.cpp | |
parent | b127f1882c5807ec1510208f063ab12121a88dbc (diff) | |
download | scummvm-rg350-632612680b894f21653379e0754f8123a83bc3e2.tar.gz scummvm-rg350-632612680b894f21653379e0754f8123a83bc3e2.tar.bz2 scummvm-rg350-632612680b894f21653379e0754f8123a83bc3e2.zip |
move isomap into a class
svn-id: r14439
Diffstat (limited to 'saga/saga.cpp')
-rw-r--r-- | saga/saga.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/saga/saga.cpp b/saga/saga.cpp index 425040c4b9..70795a3652 100644 --- a/saga/saga.cpp +++ b/saga/saga.cpp @@ -45,7 +45,7 @@ #include "game_mod.h" #include "game.h" #include "interface_mod.h" -#include "isomap_mod.h" +#include "isomap.h" #include "script.h" #include "script_mod.h" #include "scene_mod.h" @@ -154,9 +154,7 @@ void SagaEngine::go() { FONT_Init(); SPRITE_Init(); _anim = new Anim(this); - _actionMap = new ActionMap(this); OBJECTMAP_Init(); - ISOMAP_Init(); _script = new Script(); _sdata = new SData(); INTERFACE_Init(); // requires script module @@ -197,6 +195,9 @@ void SagaEngine::go() { return; } + _isomap = new IsoMap(_gfx); + _actionMap = new ActionMap(this); + // Initialize system specific sound _sound = new Sound(this, _mixer, MainData.sound_enabled); if (!MainData.sound_enabled) { |