diff 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
line wrap: on
line diff
--- a/src/animate.h	Fri Aug 08 21:34:53 2008 +0800
+++ b/src/animate.h	Sat Aug 09 08:06:45 2008 +0800
@@ -1,6 +1,9 @@
 #ifndef __ANIMATE_H_
 #define __ANIMATE_H_
 
+#include "mb_types.h"
+#include "mb_timer.h"
+
 typedef struct _mb_progm mb_progm_t;
 typedef struct _mb_word mb_word_t;
 typedef struct _mb_action mb_action_t;
@@ -12,6 +15,10 @@
 				     const mb_timeval_t *start,
 				     const mb_timeval_t *playing);
 extern void mb_word_add_action(mb_word_t *word, mb_action_t *act);
-extern mb_action_t *mb_shift_new(co_aix x, co_aix y);
+extern void mb_progm_start(mb_progm_t *progm, mb_tman_t *tman,
+			   mb_timeval_t *now);
+extern void mb_progm_abort(mb_progm_t *progm, mb_tman_t *tman);
+extern mb_action_t *mb_shift_new(co_aix x, co_aix y, coord_t *coord);
+
 
 #endif /* __ANIMATE_H_ */