aboutsummaryrefslogtreecommitdiff
path: root/engines/pink/objects/actions/action_loop.h
diff options
context:
space:
mode:
authorwhitertandrek2018-03-22 23:37:00 +0200
committerEugene Sandulenko2018-06-28 23:51:32 +0200
commit46d576d9cef7d99089b236a5a603c418fb8b811b (patch)
tree302b1c64daa5f3870edeebc12ce979d916f05985 /engines/pink/objects/actions/action_loop.h
parente856e0bd67d84d5334a6c2f60e4a9b814eb068e4 (diff)
downloadscummvm-rg350-46d576d9cef7d99089b236a5a603c418fb8b811b.tar.gz
scummvm-rg350-46d576d9cef7d99089b236a5a603c418fb8b811b.tar.bz2
scummvm-rg350-46d576d9cef7d99089b236a5a603c418fb8b811b.zip
PINK: added ActionLoop
Diffstat (limited to 'engines/pink/objects/actions/action_loop.h')
-rw-r--r--engines/pink/objects/actions/action_loop.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/engines/pink/objects/actions/action_loop.h b/engines/pink/objects/actions/action_loop.h
new file mode 100644
index 0000000000..659a21d63c
--- /dev/null
+++ b/engines/pink/objects/actions/action_loop.h
@@ -0,0 +1,48 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
+
+#ifndef PINK_ACTION_LOOP_H
+#define PINK_ACTION_LOOP_H
+
+#include "action_play.h"
+
+namespace Pink {
+
+class ActionLoop : public ActionPlay {
+public:
+ virtual void deserialize(Archive &archive);
+
+ virtual void toConsole();
+
+private:
+ enum Style {
+ kPingPong = 0,
+ kRandom = 1,
+ kForward = 2
+ };
+ uint _intro;
+ Style _style;
+};
+
+} // End of namespace Pink
+
+#endif