diff options
author | Benjamin Haisch | 2008-05-14 11:19:31 +0000 |
---|---|---|
committer | Benjamin Haisch | 2008-05-14 11:19:31 +0000 |
commit | 4a0b936495dfc17a4c22b9261c0c02b862454b77 (patch) | |
tree | 9bfa0cc2b9f175eaee9d48f7b60ca0adb8057ae5 /engines/made/script.cpp | |
parent | 0ec51de2721d7b670c997b7a3d1bc53f432d6e6b (diff) | |
download | scummvm-rg350-4a0b936495dfc17a4c22b9261c0c02b862454b77.tar.gz scummvm-rg350-4a0b936495dfc17a4c22b9261c0c02b862454b77.tar.bz2 scummvm-rg350-4a0b936495dfc17a4c22b9261c0c02b862454b77.zip |
Merged the three ScriptFunctionsXXX classes into ScriptFunctions
svn-id: r32105
Diffstat (limited to 'engines/made/script.cpp')
-rw-r--r-- | engines/made/script.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/engines/made/script.cpp b/engines/made/script.cpp index ad1411281c..8b5a48cdd7 100644 --- a/engines/made/script.cpp +++ b/engines/made/script.cpp @@ -172,15 +172,7 @@ ScriptInterpreter::ScriptInterpreter(MadeEngine *vm) : _vm(vm) { _commands = commandProcs; _commandsMax = ARRAYSIZE(commandProcs) + 1; - if (_vm->getGameID() == GID_RTZ) - _functions = new ScriptFunctionsRtz(_vm); - else if (_vm->getGameID() == GID_LGOP2) - _functions = new ScriptFunctionsLgop2(_vm); - else if (_vm->getGameID() == GID_MANHOLE) - _functions = new ScriptFunctionsMhne(_vm); - else - error("Unsupported GameID"); - + _functions = new ScriptFunctions(_vm); _functions->setupExternalsTable(); #undef COMMAND |