aboutsummaryrefslogtreecommitdiff
path: root/engines/mutationofjb/script.cpp
diff options
context:
space:
mode:
authorĽubomír Remák2018-08-30 23:38:41 +0200
committerĽubomír Remák2018-08-30 23:38:41 +0200
commit543f7666f3577eb4cdfe7988873fa731b995d45b (patch)
tree345751f755d60d06a409c01bc2adbb14cb21e4ae /engines/mutationofjb/script.cpp
parent041ab365588a1a612050159f0d42c7aea5426a71 (diff)
downloadscummvm-rg350-543f7666f3577eb4cdfe7988873fa731b995d45b.tar.gz
scummvm-rg350-543f7666f3577eb4cdfe7988873fa731b995d45b.tar.bz2
scummvm-rg350-543f7666f3577eb4cdfe7988873fa731b995d45b.zip
MUTATIONOFJB: Basic save/load support.
Warning: The save format is subject to change.
Diffstat (limited to 'engines/mutationofjb/script.cpp')
-rw-r--r--engines/mutationofjb/script.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/mutationofjb/script.cpp b/engines/mutationofjb/script.cpp
index 7538017199..85574dacb5 100644
--- a/engines/mutationofjb/script.cpp
+++ b/engines/mutationofjb/script.cpp
@@ -207,6 +207,10 @@ Command *ScriptExecutionContext::getExtra(const Common::String &name) const {
return cmd;
}
+bool ScriptExecutionContext::isCommandRunning() const {
+ return _activeCommand;
+}
+
bool Script::loadFromStream(Common::SeekableReadStream &stream) {
destroy();