aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/game.h
diff options
context:
space:
mode:
authorStrangerke2011-06-09 08:20:53 +0200
committerStrangerke2011-06-09 08:20:53 +0200
commit01a7e7ad60819d247bfe815a8e2183a46c1c6437 (patch)
treea6804eb46237c112e25d234eaa120abace293556 /engines/cge/game.h
parentc545ebd0d5d1b0690e16f7472048e7ffde40d934 (diff)
downloadscummvm-rg350-01a7e7ad60819d247bfe815a8e2183a46c1c6437.tar.gz
scummvm-rg350-01a7e7ad60819d247bfe815a8e2183a46c1c6437.tar.bz2
scummvm-rg350-01a7e7ad60819d247bfe815a8e2183a46c1c6437.zip
CGE: Add several sources based on headers
Diffstat (limited to 'engines/cge/game.h')
-rw-r--r--engines/cge/game.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/engines/cge/game.h b/engines/cge/game.h
new file mode 100644
index 0000000000..92ad49b2a4
--- /dev/null
+++ b/engines/cge/game.h
@@ -0,0 +1,40 @@
+#ifndef __GAME__
+#define __GAME__
+
+#include "vga13h.h"
+#include "bitmaps.h"
+
+
+
+#define PAN_HIG 40
+#define LBound(s) (s->X <= 0)
+#define RBound(s) (s->X+s->W >= SCR_WID)
+#define TBound(s) (s->Y <= 0)
+#define BBound(s) (s->Y+s->H >= SCR_HIG - PAN_HIG)
+
+
+
+extern SPRITE * Sys;
+
+int Sinus (long x);
+byte * Glass (DAC far * pal, byte r, byte g, byte b);
+byte * Mark (DAC far * pal);
+
+
+
+
+
+class FLY : public SPRITE
+{
+ static int L, T, R, B;
+public:
+ int Tx, Ty;
+ FLY (BITMAP ** shpl);
+ void Tick (void);
+};
+
+
+
+
+
+#endif \ No newline at end of file