4 #include "solid_draw.h"
6 /*---------------------------------------------------------------------------*/
8 #define IMG_SHAD "png/shadow.png"
10 #define BACK_DIST 256.0f
11 #define FAR_DIST 512.0f
12 #define JUMP_HEIGHT 2.00f
13 #define SWCH_HEIGHT 2.00f
14 #define GOAL_HEIGHT 3.00f
15 #define GOAL_SPARKS 64
17 /*---------------------------------------------------------------------------*/
22 void goal_draw(struct s_rend *, float);
23 void jump_draw(struct s_rend *, float, int);
24 void swch_draw(struct s_rend *, int, int);
25 void flag_draw(struct s_rend *);
26 void mark_draw(struct s_rend *);
27 void vect_draw(struct s_rend *);
28 void back_draw(struct s_rend *, float);
30 /*---------------------------------------------------------------------------*/
32 void back_init(const char *s);
34 void back_draw_easy(void);
36 /*---------------------------------------------------------------------------*/
40 void shad_draw_set(void);
41 void shad_draw_clr(void);
43 /*---------------------------------------------------------------------------*/
60 void (*conf)(int, int);
62 struct tex_stage stages[4];
65 extern const struct tex_env tex_env_default;
66 extern const struct tex_env tex_env_shadow;
67 extern const struct tex_env tex_env_shadow_clip;
69 void tex_env_active(const struct tex_env *);
70 int tex_env_stage(int);
72 /*---------------------------------------------------------------------------*/
74 void fade_draw(float);