aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorrichiesams2013-07-29 15:09:49 -0500
committerrichiesams2013-08-04 13:32:45 -0500
commitb9dd61437c88fae024fd2d344b1f75020a5f7eb5 (patch)
treecfa02f1e475c6a20306ed4ea472611fcc46ce223 /engines
parent5376aa7b3cb234134cec5923f65ab7c9273a9528 (diff)
downloadscummvm-rg350-b9dd61437c88fae024fd2d344b1f75020a5f7eb5.tar.gz
scummvm-rg350-b9dd61437c88fae024fd2d344b1f75020a5f7eb5.tar.bz2
scummvm-rg350-b9dd61437c88fae024fd2d344b1f75020a5f7eb5.zip
ZVISION: Create class for ActionDelayRender
Diffstat (limited to 'engines')
-rw-r--r--engines/zvision/actions.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/engines/zvision/actions.h b/engines/zvision/actions.h
index 9b2267df82..224f9011a1 100644
--- a/engines/zvision/actions.h
+++ b/engines/zvision/actions.h
@@ -40,9 +40,7 @@ public:
// The different types of actions
-// CROSSFADE,
// DEBUG,
-// DELAY_RENDER,
// DISABLE_CONTROL,
// DISABLE_VENUS,
// DISPLAY_MESSAGE,
@@ -129,6 +127,16 @@ private:
uint16 _timeInMillis;
};
+class ActionDelayRender : public ResultAction {
+public:
+ ActionDelayRender(Common::String *line);
+ bool execute(ZVision *engine);
+
+private:
+ // TODO: Check if this should actually be frames or if it should be milliseconds/seconds
+ byte framesToDelay;
+};
+
class ActionPlayAnimation : public ResultAction {
public:
ActionPlayAnimation(Common::String *line);