diff options
| author | Matthew Hoops | 2010-05-24 17:21:11 +0000 |
|---|---|---|
| committer | Matthew Hoops | 2010-05-24 17:21:11 +0000 |
| commit | d49fb8f42db7b9776f1dc426ebe2c6d806ad4720 (patch) | |
| tree | e0760e8b76b8786f506a59dc62ef824b2304f1cd /engines/sci/sci.cpp | |
| parent | ad0eb0b06ef6c715280c21a1c036be5c56a3183a (diff) | |
| download | scummvm-rg350-d49fb8f42db7b9776f1dc426ebe2c6d806ad4720.tar.gz scummvm-rg350-d49fb8f42db7b9776f1dc426ebe2c6d806ad4720.tar.bz2 scummvm-rg350-d49fb8f42db7b9776f1dc426ebe2c6d806ad4720.zip | |
Add support for showing the icon bar in SCI1.1 Mac.
svn-id: r49196
Diffstat (limited to 'engines/sci/sci.cpp')
| -rw-r--r-- | engines/sci/sci.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp index bb5124b88b..c9f201d1f5 100644 --- a/engines/sci/sci.cpp +++ b/engines/sci/sci.cpp @@ -43,6 +43,7 @@ #include "sci/sound/audio.h" #include "sci/sound/soundcmd.h" #include "sci/graphics/gui.h" +#include "sci/graphics/maciconbar.h" #include "sci/graphics/ports.h" #include "sci/graphics/palette.h" #include "sci/graphics/cursor.h" @@ -97,6 +98,7 @@ SciEngine::SciEngine(OSystem *syst, const ADGameDescription *desc) DebugMan.addDebugChannel(kDebugLevelOnStartup, "OnStartup", "Enter debugger at start of game"); _gamestate = 0; + _macIconBar = 0; const Common::FSNode gameDataDir(ConfMan.get("path")); @@ -170,6 +172,9 @@ Common::Error SciEngine::run() { else screen = new GfxScreen(_resMan, 320, 200, upscaledHires); + if (_resMan->isSci11Mac() && getSciVersion() == SCI_VERSION_1_1) + _macIconBar = new MacIconBar(); + GfxPalette *palette = new GfxPalette(_resMan, screen); GfxCache *cache = new GfxCache(_resMan, screen, palette); GfxCursor *cursor = new GfxCursor(_resMan, palette, screen); |
