incoporated patches from Duong-Khang (stereo sound!) and Ricardo Cruz <rick2@aeiou...
[supertux.git] / src / world.h
1 //
2 // Interface: world
3 //
4 // Description: 
5 //
6 //
7 // Author: Tobias Glaesser <tobi.web@gmx.de>, (C) 2003
8 //
9 // Copyright: See COPYING file that comes with this distribution
10 //
11 //
12
13 typedef struct bouncy_distro_type /*It is easier to read the sources IMHO, if we don't write something like int a,b,c; */
14   {
15     int alive;
16     int x;
17     int y;
18     int ym;
19   }
20 bouncy_distro_type;
21
22 typedef struct broken_brick_type
23   {
24     int alive;
25     int x;
26     int y;
27     int xm;
28     int ym;
29   }
30 broken_brick_type;
31
32 typedef struct bouncy_brick_type
33   {
34     int alive;
35     int x;
36     int y;
37     int offset;
38     int offset_m;
39     int shape;
40   }
41 bouncy_brick_type;
42
43 typedef struct floating_score_type
44   {
45     int alive;
46     int timer;
47     int x;
48     int y;
49     int value;
50   }
51 floating_score_type;
52