aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/myst_stacks/credits.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mohawk/myst_stacks/credits.cpp')
-rw-r--r--engines/mohawk/myst_stacks/credits.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/mohawk/myst_stacks/credits.cpp b/engines/mohawk/myst_stacks/credits.cpp
index 9e2a5c8baf..61772eda4d 100644
--- a/engines/mohawk/myst_stacks/credits.cpp
+++ b/engines/mohawk/myst_stacks/credits.cpp
@@ -37,16 +37,16 @@ namespace MystStacks {
// NOTE: Credits Start Card is 10000
-MystScriptParser_Credits::MystScriptParser_Credits(MohawkEngine_Myst *vm) : MystScriptParser(vm) {
+Credits::Credits(MohawkEngine_Myst *vm) : MystScriptParser(vm) {
setupOpcodes();
}
-MystScriptParser_Credits::~MystScriptParser_Credits() {
+Credits::~Credits() {
}
-#define OPCODE(op, x) _opcodes.push_back(new MystOpcode(op, (OpcodeProcMyst) &MystScriptParser_Credits::x, #x))
+#define OPCODE(op, x) _opcodes.push_back(new MystOpcode(op, (OpcodeProcMyst) &Credits::x, #x))
-void MystScriptParser_Credits::setupOpcodes() {
+void Credits::setupOpcodes() {
// "Stack-Specific" Opcodes
OPCODE(100, o_quit);
@@ -56,11 +56,11 @@ void MystScriptParser_Credits::setupOpcodes() {
#undef OPCODE
-void MystScriptParser_Credits::disablePersistentScripts() {
+void Credits::disablePersistentScripts() {
_creditsRunning = false;
}
-void MystScriptParser_Credits::runPersistentScripts() {
+void Credits::runPersistentScripts() {
if (!_creditsRunning)
return;
@@ -80,7 +80,7 @@ void MystScriptParser_Credits::runPersistentScripts() {
}
}
-uint16 MystScriptParser_Credits::getVar(uint16 var) {
+uint16 Credits::getVar(uint16 var) {
switch(var) {
case 0: // Credits Image Control
return _curImage;
@@ -91,7 +91,7 @@ uint16 MystScriptParser_Credits::getVar(uint16 var) {
}
}
-void MystScriptParser_Credits::o_runCredits(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
+void Credits::o_runCredits(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
// Activate the credits
_creditsRunning = true;
_curImage = 0;