 |
Crossfire Server, Trunk
1.75.0
|
Go to the documentation of this file.
32 #define PLUGIN_NAME "Animator"
33 #define PLUGIN_VERSION "CFAnim Plugin 2.0"
Available animation move.
@ mr_again
Move should continue next time.
time_enum
Time units the animation can use.
int tick
Move duration, units depending on parent's time_representation.
anim_move_result(* CFAnimRunFunc)(struct CFanimation *animation, long int id, void *parameters)
@ mr_finished
Move completed.
Plugin animator file specs[Config] name
long int id
Identifier, used for various things.
CFAnimRunFunc funcrun
Function to run the move.
CFanimationHook animationbox[]
Available animation commands.
void * parameters
Parameters to the function.
CFmovement * nextmovement
@ time_tick
One server tick.
CFmovement * next
Next move in the animation.
anim_move_result
Result of one animation move.
enum time_enum time_representation
CFAnimRunFunc func
Function to run for this move.
One move in an animation.
struct CFanimation * parent
Animation this move is linked to.
CFanimation * nextanimation
long int(* CFAnimInitFunc)(const char *name, char *parameters, struct CFmovement *)
CFAnimInitFunc funcinit
Function to process the parameters of the move.
const char * name
Name as it appears in the animation file.