aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/floaters.h
diff options
context:
space:
mode:
authorEugene Sandulenko2013-11-19 18:53:17 -0800
committerEugene Sandulenko2013-11-19 19:02:31 -0800
commit0ba2fbc2d0f40d0e25dac7ea4c2e043a0ec2bff8 (patch)
treeb2baedb6a94ff133584000ee886d1ea8add96fc9 /engines/fullpipe/floaters.h
parent1454408e96641beecaf3021e9ce4fedf01bce7c3 (diff)
downloadscummvm-rg350-0ba2fbc2d0f40d0e25dac7ea4c2e043a0ec2bff8.tar.gz
scummvm-rg350-0ba2fbc2d0f40d0e25dac7ea4c2e043a0ec2bff8.tar.bz2
scummvm-rg350-0ba2fbc2d0f40d0e25dac7ea4c2e043a0ec2bff8.zip
FULLPIPE: More work on scene02
Diffstat (limited to 'engines/fullpipe/floaters.h')
-rw-r--r--engines/fullpipe/floaters.h67
1 files changed, 67 insertions, 0 deletions
diff --git a/engines/fullpipe/floaters.h b/engines/fullpipe/floaters.h
new file mode 100644
index 0000000000..a4d64dd79d
--- /dev/null
+++ b/engines/fullpipe/floaters.h
@@ -0,0 +1,67 @@
+/* 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 FULLPIPE_FLOATERS_H
+#define FULLPIPE_FLOATERS_H
+
+namespace Fullpipe {
+
+class StaticANIObject;
+class Scene;
+
+struct FloaterArray1 {
+ int val1;
+ int val2;
+};
+
+struct FloaterArray2 {
+ StaticANIObject *ani;
+ int val2;
+ int val3;
+ int val4;
+ int val5;
+ int val6;
+ int val7;
+ int val8;
+ double val9;
+ double val11;
+ int val13;
+ int countdown;
+ int val15;
+ int fflags;
+};
+
+class Floaters {
+public:
+ //HRGN hRgn;
+ Common::Array<FloaterArray1 *> _array1;
+ Common::Array<FloaterArray2 *> _array2;
+
+ void init(GameVar *var);
+ void genFlies(Scene *sc, int x, int y, int a5, int a6);
+ void update();
+ void stopAll();
+};
+
+} // End of namespace Fullpipe
+
+#endif /* FULLPIPE_FLOATERS_H */