Merge branch 'gles'
[neverball] / share / part.h
1 #ifndef PART_H
2 #define PART_H
3
4 #include "solid_draw.h"
5
6 /*---------------------------------------------------------------------------*/
7
8 #define IMG_PART_STAR     "png/part"
9
10 #define PART_MAX_COIN  64
11 #define PART_MAX_GOAL  64
12 #define PART_MAX_JUMP  64
13
14 #define PART_SIZE       0.1f
15
16 /*---------------------------------------------------------------------------*/
17
18 void part_reset(void);
19 void part_init(void);
20 void part_free(void);
21
22 void part_burst(const float *, const float *);
23 void part_step(const float *, float);
24
25 void part_draw_coin(struct s_rend *);
26
27 void part_lerp_apply(float);
28
29 /*---------------------------------------------------------------------------*/
30
31 #endif