aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/scr_file_handling.cpp
diff options
context:
space:
mode:
authorMarisa-Chan2013-12-24 15:11:39 +0700
committerMarisa-Chan2013-12-24 15:11:39 +0700
commit0c7d1d2d3691f93701e33f40cb665d87004e5499 (patch)
tree1663190d707801a4c611d5f883b1b9c0e935d9fb /engines/zvision/scr_file_handling.cpp
parentfd325d49f9103408f7d2fc10cc99dae7fab9a0a1 (diff)
downloadscummvm-rg350-0c7d1d2d3691f93701e33f40cb665d87004e5499.tar.gz
scummvm-rg350-0c7d1d2d3691f93701e33f40cb665d87004e5499.tar.bz2
scummvm-rg350-0c7d1d2d3691f93701e33f40cb665d87004e5499.zip
ZVISION: Slot control code.
Diffstat (limited to 'engines/zvision/scr_file_handling.cpp')
-rw-r--r--engines/zvision/scr_file_handling.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/zvision/scr_file_handling.cpp b/engines/zvision/scr_file_handling.cpp
index f80700cc0d..4f1c3631bd 100644
--- a/engines/zvision/scr_file_handling.cpp
+++ b/engines/zvision/scr_file_handling.cpp
@@ -29,6 +29,7 @@
#include "zvision/actions.h"
#include "zvision/push_toggle_control.h"
#include "zvision/lever_control.h"
+#include "zvision/slot_control.h"
#include "common/textconsole.h"
#include "common/file.h"
@@ -342,6 +343,8 @@ Control *ScriptManager::parseControl(Common::String &line, Common::SeekableReadS
return NULL;
} else if (controlType.equalsIgnoreCase("lever")) {
return new LeverControl(_engine, key, stream);
+ } else if (controlType.equalsIgnoreCase("slot")) {
+ return new SlotControl(_engine, key, stream);
}
return NULL;
}