aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/myst_stacks
diff options
context:
space:
mode:
authorMatthew Hoops2011-01-18 17:42:34 +0000
committerMatthew Hoops2011-01-18 17:42:34 +0000
commitc35fa646ce4e40ab0e3223a5aec4049e8cb7bbc8 (patch)
treeabab71bb36e18abbede501e4bd0680d594cecb36 /engines/mohawk/myst_stacks
parent5cd4bd3ce774b9880882561e28aadcaa6125f92a (diff)
downloadscummvm-rg350-c35fa646ce4e40ab0e3223a5aec4049e8cb7bbc8.tar.gz
scummvm-rg350-c35fa646ce4e40ab0e3223a5aec4049e8cb7bbc8.tar.bz2
scummvm-rg350-c35fa646ce4e40ab0e3223a5aec4049e8cb7bbc8.zip
MOHAWK: Move Myst's o_quit opcode to the base class
svn-id: r55304
Diffstat (limited to 'engines/mohawk/myst_stacks')
-rw-r--r--engines/mohawk/myst_stacks/credits.cpp4
-rw-r--r--engines/mohawk/myst_stacks/credits.h1
-rw-r--r--engines/mohawk/myst_stacks/makingof.cpp4
-rw-r--r--engines/mohawk/myst_stacks/makingof.h2
4 files changed, 0 insertions, 11 deletions
diff --git a/engines/mohawk/myst_stacks/credits.cpp b/engines/mohawk/myst_stacks/credits.cpp
index 93486928ce..df2a1c08cc 100644
--- a/engines/mohawk/myst_stacks/credits.cpp
+++ b/engines/mohawk/myst_stacks/credits.cpp
@@ -90,10 +90,6 @@ uint16 MystScriptParser_Credits::getVar(uint16 var) {
}
}
-void MystScriptParser_Credits::o_quit(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
- _vm->_system->quit();
-}
-
void MystScriptParser_Credits::o_runCredits(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
// Activate the credits
_creditsRunning = true;
diff --git a/engines/mohawk/myst_stacks/credits.h b/engines/mohawk/myst_stacks/credits.h
index 0a80ae9a67..46d23c67ca 100644
--- a/engines/mohawk/myst_stacks/credits.h
+++ b/engines/mohawk/myst_stacks/credits.h
@@ -49,7 +49,6 @@ private:
void setupOpcodes();
uint16 getVar(uint16 var);
- DECLARE_OPCODE(o_quit);
DECLARE_OPCODE(o_runCredits);
bool _creditsRunning;
diff --git a/engines/mohawk/myst_stacks/makingof.cpp b/engines/mohawk/myst_stacks/makingof.cpp
index 54de15f50e..28b8665f52 100644
--- a/engines/mohawk/myst_stacks/makingof.cpp
+++ b/engines/mohawk/myst_stacks/makingof.cpp
@@ -56,8 +56,4 @@ void MystScriptParser_MakingOf::disablePersistentScripts() {
void MystScriptParser_MakingOf::runPersistentScripts() {
}
-void MystScriptParser_MakingOf::o_quit(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
- _vm->_system->quit();
-}
-
} // End of namespace Mohawk
diff --git a/engines/mohawk/myst_stacks/makingof.h b/engines/mohawk/myst_stacks/makingof.h
index 5775e7cc80..ab919fd174 100644
--- a/engines/mohawk/myst_stacks/makingof.h
+++ b/engines/mohawk/myst_stacks/makingof.h
@@ -47,8 +47,6 @@ public:
private:
void setupOpcodes();
-
- DECLARE_OPCODE(o_quit);
};
} // End of namespace Mohawk