Mercurial > MadButterfly
comparison src/animate.h @ 42:e3295c07faa9
mb_shift is work
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Sat, 09 Aug 2008 08:06:45 +0800 |
parents | 400b4b5db0dc |
children | f3818d996f4f |
comparison
equal
deleted
inserted
replaced
41:400b4b5db0dc | 42:e3295c07faa9 |
---|---|
1 #ifndef __ANIMATE_H_ | 1 #ifndef __ANIMATE_H_ |
2 #define __ANIMATE_H_ | 2 #define __ANIMATE_H_ |
3 | |
4 #include "mb_types.h" | |
5 #include "mb_timer.h" | |
3 | 6 |
4 typedef struct _mb_progm mb_progm_t; | 7 typedef struct _mb_progm mb_progm_t; |
5 typedef struct _mb_word mb_word_t; | 8 typedef struct _mb_word mb_word_t; |
6 typedef struct _mb_action mb_action_t; | 9 typedef struct _mb_action mb_action_t; |
7 typedef struct _mb_progm_state mb_progm_state_t; | 10 typedef struct _mb_progm_state mb_progm_state_t; |
10 extern void mb_progm_free(mb_progm_t *progm); | 13 extern void mb_progm_free(mb_progm_t *progm); |
11 extern mb_word_t *mb_progm_next_word(mb_progm_t *progm, | 14 extern mb_word_t *mb_progm_next_word(mb_progm_t *progm, |
12 const mb_timeval_t *start, | 15 const mb_timeval_t *start, |
13 const mb_timeval_t *playing); | 16 const mb_timeval_t *playing); |
14 extern void mb_word_add_action(mb_word_t *word, mb_action_t *act); | 17 extern void mb_word_add_action(mb_word_t *word, mb_action_t *act); |
15 extern mb_action_t *mb_shift_new(co_aix x, co_aix y); | 18 extern void mb_progm_start(mb_progm_t *progm, mb_tman_t *tman, |
19 mb_timeval_t *now); | |
20 extern void mb_progm_abort(mb_progm_t *progm, mb_tman_t *tman); | |
21 extern mb_action_t *mb_shift_new(co_aix x, co_aix y, coord_t *coord); | |
22 | |
16 | 23 |
17 #endif /* __ANIMATE_H_ */ | 24 #endif /* __ANIMATE_H_ */ |