version 1.5 | | version 1.6 |
---|
| | |
return strcmp ( ((CFanimationHook*)a)->name,((CFanimationHook*)b)->name); | | return strcmp ( ((CFanimationHook*)a)->name,((CFanimationHook*)b)->name); |
} | | } |
| | |
void prepare_commands () | | void prepare_commands (void) |
{ | | { |
qsort (animationbox,animationcount,sizeof (CFanimationHook),compareAnims); | | qsort (animationbox,animationcount,sizeof (CFanimationHook),compareAnims); |
ordered_commands=1; | | ordered_commands=1; |
| | |
/* | | /* |
* 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() | | CFanimation* create_animation(void) |
{ | | { |
CFanimation* new; | | CFanimation* new; |
CFanimation* current; | | CFanimation* current; |
| | |
cf_object_set_flag(animation->victim, FLAG_WIZ,0); | | cf_object_set_flag(animation->victim, FLAG_WIZ,0); |
} | | } |
| | |
void animate() | | void animate(void) |
{ | | { |
CFanimation* current; | | CFanimation* current; |
CFanimation* next; | | CFanimation* next; |
| | |
| | |
| | |
| | |
void initContextStack() | | void initContextStack(void) |
{ | | { |
current_context = NULL; | | current_context = NULL; |
context_stack = NULL; | | context_stack = NULL; |
| | |
return -1; | | return -1; |
} | | } |
| | |
CF_PLUGIN int postInitPlugin() | | CF_PLUGIN int postInitPlugin(void) |
{ | | { |
int hooktype = 1; | | int hooktype = 1; |
int rtype = 0; | | int rtype = 0; |