From 0c7d1d2d3691f93701e33f40cb665d87004e5499 Mon Sep 17 00:00:00 2001 From: Marisa-Chan Date: Tue, 24 Dec 2013 15:11:39 +0700 Subject: ZVISION: Slot control code. --- engines/zvision/scr_file_handling.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engines/zvision/scr_file_handling.cpp') 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; } -- cgit v1.2.3