Revision 251
menu work
proj_func.h | ||
---|---|---|
56 | 56 |
*/ |
57 | 57 |
double get_mouse_angle(gunner_t *p); |
58 | 58 |
|
59 |
typedef struct menu menu_t; |
|
60 |
|
|
61 |
menu_t* (menu_ctor)(const font_t *fnt); |
|
62 |
|
|
63 |
int (menu_update_state)(menu_t *menu, int click); |
|
64 |
|
|
65 |
void (menu_draw)(menu_t *menu); |
|
66 |
|
|
67 |
void (menu_dtor)(menu_t *p); |
|
68 |
|
|
59 | 69 |
typedef struct timer { |
60 | 70 |
int time; |
61 | 71 |
text_t *text; |
... | ... | |
66 | 76 |
|
67 | 77 |
void (timer_update)(text_timer_t *p); |
68 | 78 |
|
79 |
void (timer_reset)(text_timer_t *p); |
|
80 |
|
|
69 | 81 |
void (timer_dtor)(text_timer_t *p); |
70 | 82 |
|
71 | 83 |
#endif /* end of include guard: PROJ_FUNC_H_INCLUDED */ |
Also available in: Unified diff