1 #ifndef STRUCT_H
2 #define STRUCT_H
3 
4 #ifndef __struct_h__
5 #define __struct_h__
6 
7 #include "Wlib.h"
8 
9 struct torp {
10     struct torp *next, *prev;
11     int alive, frame;
12     int x, y;
13     int xspeed, yspeed;
14 };
15 
16 struct star {
17     int x, y;
18     int speed;
19     W_Color color;
20 };
21 
22 struct alien {
23     int x, y;
24     int dir;
25     int steer;
26     int alive;
27     int dying;
28     int path, path_pos;
29     int escorting;
30     int entering, enterdelay;
31     W_Image *shape;
32 };
33 
34 struct explosion {
35     struct explosion *next, *prev;
36     int x, y;
37     int frame;
38     W_Image *shape;
39 };
40 
41 struct score_bubble {
42     struct score_bubble *next, *prev;
43     int x, y;
44     int count;
45     W_Image *shape;
46 };
47 
48 #endif /* __struct_h__ */
49 
50 struct js_state {
51     signed short but;
52     signed long dir;
53 };
54 
55 #endif
56