Add Spanish translation and try not to mess anything up while doing
[neverball] / share / geom.h
1 #ifndef GEOM_H
2 #define GEOM_H
3
4 /*---------------------------------------------------------------------------*/
5
6 #define IMG_SHAD "png/shadow.png"
7 #define IMG_COIN _("png/coin.png")
8 #define IMG_COIN_GRUP "png/growup.png"
9 #define IMG_COIN_GRDN "png/growdn.png"
10
11 #define BALL_FUDGE    0.001f
12 #define COIN_RADIUS   0.15f
13 #define COIN_THICK    0.01f
14 #define JUMP_HEIGHT   2.00f
15 #define SWCH_HEIGHT   2.00f
16 #define GOAL_HEIGHT   3.00f
17 #define GOAL_SPARKS  64
18
19 /*---------------------------------------------------------------------------*/
20
21 void ball_init(int);
22 void ball_free(void);
23 void ball_draw(int);
24
25 /*---------------------------------------------------------------------------*/
26
27 void mark_init(int);
28 void mark_free(void);
29 void mark_draw(void);
30
31 /*---------------------------------------------------------------------------*/
32
33 void coin_color(float *, int);
34 void coin_init(int);
35 void coin_free(void);
36
37 void coin_push(void);
38 void coin_push_text(int n);
39 void coin_draw(int, float);
40 void coin_pull(void);
41
42 /*---------------------------------------------------------------------------*/
43
44 void goal_init(int);
45 void goal_free(void);
46 void goal_draw(void);
47
48 /*---------------------------------------------------------------------------*/
49
50 void jump_init(int);
51 void jump_free(void);
52 void jump_draw(int);
53
54 /*---------------------------------------------------------------------------*/
55
56 void swch_init(int);
57 void swch_free(void);
58 void swch_draw(int, int);
59
60 /*---------------------------------------------------------------------------*/
61
62 void flag_init(int);
63 void flag_free(void);
64 void flag_draw(void);
65
66 /*---------------------------------------------------------------------------*/
67
68 void shad_init(void);
69 void shad_free(void);
70 void shad_draw_set(const float *, float);
71 void shad_draw_clr(void);
72
73 /*---------------------------------------------------------------------------*/
74
75 void fade_draw(float);
76
77 #endif