diff options
author | Paul Gilbert | 2019-06-16 21:39:47 -0700 |
---|---|---|
committer | Paul Gilbert | 2019-06-22 14:40:22 -0700 |
commit | 84dfa6d3b83e080f099ad606dc7fbeb40ebe4b97 (patch) | |
tree | 6f90969f77df66f0eff50365688930af49f5c0b3 /engines/glk/alan2/alan2.cpp | |
parent | 004df0ef90f8a4b6367b529f66aeffe65e824977 (diff) | |
download | scummvm-rg350-84dfa6d3b83e080f099ad606dc7fbeb40ebe4b97.tar.gz scummvm-rg350-84dfa6d3b83e080f099ad606dc7fbeb40ebe4b97.tar.bz2 scummvm-rg350-84dfa6d3b83e080f099ad606dc7fbeb40ebe4b97.zip |
GLK: ALAN2: Remove previously added code fragments
Diffstat (limited to 'engines/glk/alan2/alan2.cpp')
-rw-r--r-- | engines/glk/alan2/alan2.cpp | 39 |
1 files changed, 2 insertions, 37 deletions
diff --git a/engines/glk/alan2/alan2.cpp b/engines/glk/alan2/alan2.cpp index 492d425d98..1889c696cd 100644 --- a/engines/glk/alan2/alan2.cpp +++ b/engines/glk/alan2/alan2.cpp @@ -21,10 +21,6 @@ */ #include "glk/alan2/alan2.h" -#include "glk/alan2/decode.h" -#include "glk/alan2/execute.h" -#include "glk/alan2/interpreter.h" -#include "glk/alan2/saveload.h" #include "common/config-manager.h" #include "common/translation.h" #include "common/error.h" @@ -36,25 +32,16 @@ namespace Glk { namespace Alan2 { -Alan2 *_vm = nullptr; +Alan2 *g_vm = nullptr; Alan2::Alan2(OSystem *syst, const GlkGameDescription &gameDesc) : GlkAPI(syst, gameDesc), vm_exited_cleanly(false) { - _vm = this; - looking = false; - dscrstkp = 0; + g_vm = this; } void Alan2::runGame() { Common::String gameFileName = _gameFile.getName(); - // TODO: Initialize these properly - int tmp = 0; - _decode = new Decode(nullptr, nullptr); - _execute = new Execute(); - _saveLoad = new SaveLoad(gameFileName, nullptr, nullptr, nullptr, nullptr, &tmp); - _interpreter = new Interpreter(_execute, _saveLoad, _stack); - if (!is_gamefile_valid()) return; @@ -85,27 +72,5 @@ bool Alan2::is_gamefile_valid() { return true; } -void Alan2::output(const Common::String str) { - // TODO -} - -void Alan2::printMessage(MsgKind msg) { - // TODO -} - -void Alan2::printError(MsgKind msg) { - // TODO -} - -void Alan2::paragraph() { - if (col != 1) - newLine(); - newLine(); -} - -void Alan2::newLine() { - // TODO -} - } // End of namespace Alan2 } // End of namespace Glk |