version 1.6 | | version 1.7 |
---|
| | |
ordered_commands=1; | | ordered_commands=1; |
} | | } |
| | |
CFanimationHook* get_command (char* command) | | static CFanimationHook *get_command(char *command) |
{ | | { |
CFanimationHook dummy; | | CFanimationHook dummy; |
dummy.name=command; | | dummy.name=command; |
| | |
sizeof(CFanimationHook), compareAnims); | | sizeof(CFanimationHook), compareAnims); |
} | | } |
| | |
CFmovement* parse_animation_block (char* buffer, size_t buffer_size,FILE* fichier, CFanimation* parent) | | static CFmovement *parse_animation_block(char *buffer, size_t buffer_size, FILE *fichier, CFanimation *parent) |
{ | | { |
CFmovement* first=NULL; | | CFmovement* first=NULL; |
CFmovement* current=NULL; | | CFmovement* current=NULL; |
| | |
/* | | /* |
* return a new animation pointer inserted in the list of animations | | * return a new animation pointer inserted in the list of animations |
*/ | | */ |
CFanimation* create_animation(void) | | static CFanimation *create_animation(void) |
{ | | { |
CFanimation* new; | | CFanimation* new; |
CFanimation* current; | | CFanimation* current; |
| | |
fclose (fichier); | | fclose (fichier); |
return 1; | | return 1; |
} | | } |
void animate_one(CFanimation* animation, long int milliseconds) | | static void animate_one(CFanimation *animation, long int milliseconds) |
{ | | { |
CFmovement* current; | | CFmovement* current; |
| | |