diff options
author | Filippos Karapetis | 2015-07-17 10:52:30 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2015-12-15 00:05:02 +0100 |
commit | 5ae4d3bf9eac72cc554d6ecbcd89528dda9cea5c (patch) | |
tree | 7d9ad6da94ffc77f5ab670256974ef2504407eeb /engines/lab/lab.cpp | |
parent | 4f0c63c0f89aedad21ab41f4b440d0a8b7ae8b6b (diff) | |
download | scummvm-rg350-5ae4d3bf9eac72cc554d6ecbcd89528dda9cea5c.tar.gz scummvm-rg350-5ae4d3bf9eac72cc554d6ecbcd89528dda9cea5c.tar.bz2 scummvm-rg350-5ae4d3bf9eac72cc554d6ecbcd89528dda9cea5c.zip |
LAB: Initial code to simplify translateFileName() and the save menu
Diffstat (limited to 'engines/lab/lab.cpp')
-rw-r--r-- | engines/lab/lab.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/engines/lab/lab.cpp b/engines/lab/lab.cpp index f1d0fe96c4..3f92de1116 100644 --- a/engines/lab/lab.cpp +++ b/engines/lab/lab.cpp @@ -28,12 +28,15 @@ * */ +#include "common/config-manager.h" #include "common/debug-channels.h" #include "common/scummsys.h" #include "common/error.h" #include "common/fs.h" #include "common/rect.h" +#include "engines/dialogs.h" +#include "engines/engine.h" #include "engines/util.h" #include "gui/message.h" @@ -50,6 +53,12 @@ LabEngine *g_lab; LabEngine::LabEngine(OSystem *syst, const ADGameDescription *gameDesc) : Engine(syst), _gameDescription(gameDesc), _extraGameFeatures(0) { g_lab = this; + + //const Common::FSNode gameDataDir(ConfMan.get("path")); + //SearchMan.addSubDirectoryMatching(gameDataDir, "game"); + //SearchMan.addSubDirectoryMatching(gameDataDir, "game/pict"); + //SearchMan.addSubDirectoryMatching(gameDataDir, "game/spict"); + //SearchMan.addSubDirectoryMatching(gameDataDir, "music"); } LabEngine::~LabEngine() { @@ -108,4 +117,8 @@ Common::String LabEngine::generateSaveFileName(uint slot) { return Common::String::format("%s.%03u", _targetName.c_str(), slot); } +/*void LabEngine::showMainMenu() { + +}*/ + } // End of namespace Lab |