Mercurial > MadButterfly
annotate src/animate.h @ 47:f3818d996f4f
change interface of creating a animation action
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Sat, 09 Aug 2008 16:41:33 +0800 |
parents | e3295c07faa9 |
children | 59a295651480 |
rev | line source |
---|---|
41 | 1 #ifndef __ANIMATE_H_ |
2 #define __ANIMATE_H_ | |
3 | |
42 | 4 #include "mb_types.h" |
5 #include "mb_timer.h" | |
6 | |
41 | 7 typedef struct _mb_progm mb_progm_t; |
8 typedef struct _mb_word mb_word_t; | |
9 typedef struct _mb_action mb_action_t; | |
10 typedef struct _mb_progm_state mb_progm_state_t; | |
11 | |
12 extern mb_progm_t *mb_progm_new(int max_words, redraw_man_t *rdman); | |
13 extern void mb_progm_free(mb_progm_t *progm); | |
14 extern mb_word_t *mb_progm_next_word(mb_progm_t *progm, | |
15 const mb_timeval_t *start, | |
16 const mb_timeval_t *playing); | |
42 | 17 extern void mb_progm_start(mb_progm_t *progm, mb_tman_t *tman, |
18 mb_timeval_t *now); | |
19 extern void mb_progm_abort(mb_progm_t *progm, mb_tman_t *tman); | |
47
f3818d996f4f
change interface of creating a animation action
Thinker K.F. Li <thinker@branda.to>
parents:
42
diff
changeset
|
20 extern mb_action_t *mb_shift_new(co_aix x, co_aix y, coord_t *coord, |
f3818d996f4f
change interface of creating a animation action
Thinker K.F. Li <thinker@branda.to>
parents:
42
diff
changeset
|
21 mb_word_t *word); |
42 | 22 |
41 | 23 |
24 #endif /* __ANIMATE_H_ */ |