4d34073b137884103bf70cae280ee929b60069bc
[neverball] / share / geom.h
1 #ifndef GEOM_H
2 #define GEOM_H
3
4 /*---------------------------------------------------------------------------*/
5
6 #define IMG_SHAD "png/shadow.png"
7
8 #define JUMP_HEIGHT   2.00f
9 #define SWCH_HEIGHT   2.00f
10 #define GOAL_HEIGHT   3.00f
11 #define GOAL_SPARKS  64
12
13 /*---------------------------------------------------------------------------*/
14
15 void mark_init(void);
16 void mark_free(void);
17 void mark_draw(void);
18
19 /*---------------------------------------------------------------------------*/
20
21 void goal_init(void);
22 void goal_free(void);
23 void goal_draw(void);
24
25 /*---------------------------------------------------------------------------*/
26
27 void jump_init(void);
28 void jump_free(void);
29 void jump_draw(int);
30
31 /*---------------------------------------------------------------------------*/
32
33 void swch_init(void);
34 void swch_free(void);
35 void swch_draw(int, int);
36
37 /*---------------------------------------------------------------------------*/
38
39 void flag_init(void);
40 void flag_free(void);
41 void flag_draw(void);
42
43 /*---------------------------------------------------------------------------*/
44
45 void shad_init(void);
46 void shad_free(void);
47 void shad_draw_set(void);
48 void shad_draw_clr(void);
49
50 /*---------------------------------------------------------------------------*/
51
52 void fade_draw(float);
53
54 #endif