f2d472bf32926f5265339a4087be059d3172802b
[supertux.git] / src / type.h
1 //
2 // C Interface: type
3 //
4 // Description: 
5 //
6 //
7 // Author: Tobias Glaesser <tobi.web@gmx.de>, (C) 2004
8 //
9 // Copyright: See COPYING file that comes with this distribution
10 //
11 //
12
13 #ifndef SUPERTUX_TYPE_H
14 #define SUPERTUX_TYPE_H
15
16 #include <SDL/SDL.h>
17
18 /* 'Base' type for game objects */
19
20 typedef struct base_type
21   {
22     int alive;
23     float x;
24     float y;
25     float xm;
26     float ym;
27     float width;
28     float height;
29   }
30 base_type;
31
32 //double get_frame_ratio(base_type* pbase);
33
34 #endif /*SUPERTUX_TYPE_H*/
35