Mercurial > MadButterfly
comparison src/animate.c @ 111:8feb89b19619
More doxy
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Fri, 12 Sep 2008 23:43:11 +0800 |
parents | ab028c9f0930 |
children | 1d74eb3861b7 |
comparison
equal
deleted
inserted
replaced
110:c14cb6d12030 | 111:8feb89b19619 |
---|---|
1 /*! \brief Animation tools. | 1 /*! \file |
2 * \brief Animation tools. | |
3 * | |
4 * \sa ani | |
5 */ | |
6 /*! \page ani What is Animation? | |
2 * | 7 * |
3 * XXX: Program is a sequence of actions duration a perior. | 8 * XXX: Program is a sequence of actions duration a perior. |
4 * Actions are grouped into words. A program defines | 9 * Actions are grouped into words. A program defines |
5 * the order and time of playing of words. A word | 10 * the order and time of playing of words. A word |
6 * defines how long to perform a set of actions. Actions | 11 * defines how long to perform a set of actions. Actions |
10 * are working with start, step, and stop 3 calls. start is | 15 * are working with start, step, and stop 3 calls. start is |
11 * called when start time the word, contain it, due. step is | 16 * called when start time the word, contain it, due. step is |
12 * called periodically in duration of playing time start at | 17 * called periodically in duration of playing time start at |
13 * 'start time'. When the clock run out the playing time of | 18 * 'start time'. When the clock run out the playing time of |
14 * a word, it call stop of actions in the word. | 19 * a word, it call stop of actions in the word. |
20 * | |
21 * A program is driven by a timer. Once a program is started, it registers | |
22 * with timer for periodic running. \ref mb_tman_t is timer of | |
23 * MadButterfly. The update frequence is 10fps by default, now. | |
24 * | |
25 * \sa animate.c | |
15 */ | 26 */ |
16 #include <stdio.h> | 27 #include <stdio.h> |
17 #include <stdlib.h> | 28 #include <stdlib.h> |
18 #include <string.h> | 29 #include <string.h> |
19 #include "mb_types.h" | 30 #include "mb_types.h" |