diff options
author | Strangerke | 2011-06-09 08:20:53 +0200 |
---|---|---|
committer | Strangerke | 2011-06-09 08:20:53 +0200 |
commit | 01a7e7ad60819d247bfe815a8e2183a46c1c6437 (patch) | |
tree | a6804eb46237c112e25d234eaa120abace293556 /engines/cge/game.h | |
parent | c545ebd0d5d1b0690e16f7472048e7ffde40d934 (diff) | |
download | scummvm-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.h | 40 |
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 |