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