blob: 92ad49b2a44834d40ef5b86a64da464448adb11f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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
|