Crossfire Server, Trunk
cfanim.c File Reference
#include <assert.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include "cfanim.h"
#include "svnversion.h"
+ Include dependency graph for cfanim.c:

Go to the source code of this file.

Data Structures

struct  param_moveto
 
struct  teleport_params
 

Functions

static void animate (void)
 
static void animate_one (CFanimation *animation, long int milliseconds)
 
CF_PLUGIN int cfanim_globalEventListener (int *type,...)
 
CF_PLUGIN anim_move_result cfanim_runPluginCommand (object *op, char *params)
 
CF_PLUGIN int closePlugin (void)
 
static int compareAnims (const void *a, const void *b)
 
static CFanimationcreate_animation (void)
 
static int equality_split (char *buffer, char **variable, char **value)
 
CF_PLUGIN int eventListener (int *type,...)
 
static objectfind_by_name (object *origin, const char *name)
 
static int get_boolean (const char *strg, int *bl)
 
static CFanimationHookget_command (char *command)
 
static int get_dir_from_name (const char *name)
 
CF_PLUGIN void * getPluginProperty (int *type,...)
 
static long int initapply (const char *name, char *parameters, struct CFmovement_struct *move_entity)
 
static long int initapplyobject (const char *name, char *parameters, struct CFmovement_struct *move_entity)
 
static long int initcamera (const char *name, char *parameters, struct CFmovement_struct *move_entity)
 
static long int initdropobject (const char *name, char *parameters, struct CFmovement_struct *move_entity)
 
static long int initfire (const char *name, char *parameters, struct CFmovement_struct *move_entity)
 
static long int initghosted (const char *name, char *parameters, struct CFmovement_struct *move_entity)
 
static long int initmessage (const char *name, char *parameters, struct CFmovement_struct *move_entity)
 
static long int initmovement (const char *name, char *parameters, struct CFmovement_struct *move_entity)
 
static long int initmoveto (const char *name, char *parameters, struct CFmovement_struct *move_entity)
 
static long int initnotice (const char *name, char *parameters, struct CFmovement_struct *move_entity)
 
static long int initpickup (const char *name, char *parameters, struct CFmovement_struct *move_entity)
 
static long int initpickupobject (const char *name, char *parameters, struct CFmovement_struct *move_entity)
 
CF_PLUGIN int initPlugin (const char *iversion, f_plug_api gethooksptr)
 
static long int initsay (const char *name, char *parameters, struct CFmovement_struct *move_entity)
 
static long int initstop (const char *name, char *parameters, struct CFmovement_struct *move_entity)
 
static long int initteleport (const char *name, char *parameters, struct CFmovement_struct *move_entity)
 
static long int inittrigger (const char *name, char *parameters, struct CFmovement_struct *move_entity)
 
static long int initturn (const char *name, char *parameters, struct CFmovement_struct *move_entity)
 
static long int initvisible (const char *name, char *parameters, struct CFmovement_struct *move_entity)
 
static long int initwizard (const char *name, char *parameters, struct CFmovement_struct *move_entity)
 
static int is_animated_object (const object *ob)
 
static CFmovementparse_animation_block (char *buffer, size_t buffer_size, FILE *fichier, CFanimation *parent)
 
CF_PLUGIN int postInitPlugin (void)
 
static void prepare_commands (void)
 
static anim_move_result runapply (struct CFanimation_struct *animation, long int id, void *parameters)
 
static anim_move_result runapplyobject (struct CFanimation_struct *animation, long int id, void *parameters)
 
static anim_move_result runcamera (struct CFanimation_struct *animation, long int id, void *parameters)
 
static anim_move_result rundropobject (struct CFanimation_struct *animation, long int id, void *parameters)
 
static anim_move_result runfire (struct CFanimation_struct *animation, long int id, void *parameters)
 
static anim_move_result runghosted (struct CFanimation_struct *animation, long int id, void *parameters)
 
static anim_move_result runmessage (struct CFanimation_struct *animation, long int id, void *parameters)
 
static anim_move_result runmovement (struct CFanimation_struct *animation, long int id, void *parameters)
 
static anim_move_result runmoveto (struct CFanimation_struct *animation, long int id, void *parameters)
 
static anim_move_result runnotice (struct CFanimation_struct *animation, long int id, void *parameters)
 
static anim_move_result runpickup (struct CFanimation_struct *animation, long int id, void *parameters)
 
static anim_move_result runpickupobject (struct CFanimation_struct *animation, long int id, void *parameters)
 
static anim_move_result runsay (struct CFanimation_struct *animation, long int id, void *parameters)
 
static anim_move_result runstop (struct CFanimation_struct *animation, long int id, void *parameters)
 
static anim_move_result runteleport (struct CFanimation_struct *animation, long int id, void *parameters)
 
static anim_move_result runtrigger (struct CFanimation_struct *animation, long int id, void *parameters)
 
static anim_move_result runturn (struct CFanimation_struct *animation, long int id, void *parameters)
 
static anim_move_result runvisible (struct CFanimation_struct *animation, long int id, void *parameters)
 
static anim_move_result runwizard (struct CFanimation_struct *animation, long int id, void *parameters)
 
static int start_animation (object *who, object *activator, object *event, const char *file, const char *message)
 
long usec_elapsed (struct timespec first, struct timespec second)
 

Variables

CFanimationHook animationbox []
 
int animationcount = sizeof(animationbox)/sizeof(CFanimationHook)
 
static CFanimationfirst_animation = NULL
 
static int ordered_commands = 0
 
CF_PLUGIN char SvnRevPlugin [] = SVN_REV
 

Function Documentation

◆ animate()

static void animate ( void  )
static

Animates all currently running animations.

Definition at line 1158 of file cfanim.c.

References animate_one(), cf_object_remove(), replace::current, first_animation, give::next, CFanimation_struct::nextanimation, and usec_elapsed().

Referenced by cfanim_globalEventListener().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ animate_one()

static void animate_one ( CFanimation animation,
long int  milliseconds 
)
static

◆ cfanim_globalEventListener()

CF_PLUGIN int cfanim_globalEventListener ( int *  type,
  ... 
)

Definition at line 1255 of file cfanim.c.

References animate(), make_face_from_files::args, EVENT_CLOCK, and is_valid_types_gen::type.

Referenced by postInitPlugin().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ cfanim_runPluginCommand()

CF_PLUGIN anim_move_result cfanim_runPluginCommand ( object op,
char *  params 
)

Definition at line 1242 of file cfanim.c.

References give::op, roll-o-matic::params, and nlohmann::detail::void().

+ Here is the call graph for this function:

◆ closePlugin()

CF_PLUGIN int closePlugin ( void  )

Definition at line 1317 of file cfanim.c.

◆ compareAnims()

static int compareAnims ( const void *  a,
const void *  b 
)
static

Definition at line 616 of file cfanim.c.

References disinfect::a, Ice::b, and give::name.

Referenced by get_command(), and prepare_commands().

+ Here is the caller graph for this function:

◆ create_animation()

static CFanimation* create_animation ( void  )
static

Create a new animation.

Returns
new animation pointer inserted in the list of animations.

Definition at line 803 of file cfanim.c.

References replace::current, and first_animation.

Referenced by start_animation().

+ Here is the caller graph for this function:

◆ equality_split()

static int equality_split ( char *  buffer,
char **  variable,
char **  value 
)
static

This function take buffer with a value like "blabla= things" and extracts some things.

Parameters
bufferwhere equality is written
[out]variablewill be positionned to where in buffer the variable name starts. leading spaces will be converted to \0
[out]valuesame as above but for the value part
Note
variable and value become pointers to internals of buffer. If buffer chages, they will change too and/or become invalid!

Definition at line 727 of file cfanim.c.

References autojail::value.

Referenced by start_animation().

+ Here is the caller graph for this function:

◆ eventListener()

CF_PLUGIN int eventListener ( int *  type,
  ... 
)
Todo:
build from current map's path, probably

Definition at line 1271 of file cfanim.c.

◆ find_by_name()

static object* find_by_name ( object origin,
const char *  name 
)
static

Definition at line 825 of file cfanim.c.

References cf_find_string(), cf_map_get_height(), cf_map_get_width(), obj::env, FOR_MAP_FINISH, FOR_MAP_PREPARE, disinfect::map, obj::map, give::name, guildjoin::ob, diamondslots::x, and diamondslots::y.

Referenced by start_animation().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ get_boolean()

static int get_boolean ( const char *  strg,
int *  bl 
)
static

This function gets a string containing [Y/y](es)/[N/n](o), 1/0 and set bl according to what's read if return value is true, strg was set successfully else, an error occured and bl was not touched

Parameters
strgstring to process.
blvalue strg meant.
Returns
1 if strg was processed, 0 else.

Definition at line 758 of file cfanim.c.

Referenced by initghosted(), initvisible(), initwizard(), and start_animation().

+ Here is the caller graph for this function:

◆ get_command()

static CFanimationHook* get_command ( char *  command)
static

Definition at line 625 of file cfanim.c.

References animationbox, animationcount, devourers::command, compareAnims(), CFanimationHook::name, ordered_commands, and prepare_commands().

Referenced by parse_animation_block().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ get_dir_from_name()

static int get_dir_from_name ( const char *  name)
static

Returns the direction from its name.

Parameters
namedirection's name
Returns
direction or -1 if unknown.

Definition at line 51 of file cfanim.c.

References give::name.

Referenced by initcamera(), initfire(), initmovement(), and initturn().

+ Here is the caller graph for this function:

◆ getPluginProperty()

CF_PLUGIN void* getPluginProperty ( int *  type,
  ... 
)

Definition at line 1216 of file cfanim.c.

◆ initapply()

static long int initapply ( const char *  name,
char *  parameters,
struct CFmovement_struct move_entity 
)
static

Definition at line 215 of file cfanim.c.

References give::name, filter::parameters, and nlohmann::detail::void().

+ Here is the call graph for this function:

◆ initapplyobject()

static long int initapplyobject ( const char *  name,
char *  parameters,
struct CFmovement_struct move_entity 
)
static

Definition at line 236 of file cfanim.c.

References cf_add_string(), give::name, filter::parameters, CFmovement_struct::parameters, and nlohmann::detail::void().

+ Here is the call graph for this function:

◆ initcamera()

static long int initcamera ( const char *  name,
char *  parameters,
struct CFmovement_struct move_entity 
)
static

Definition at line 134 of file cfanim.c.

References get_dir_from_name(), give::name, filter::parameters, CFmovement_struct::parameters, and nlohmann::detail::void().

+ Here is the call graph for this function:

◆ initdropobject()

static long int initdropobject ( const char *  name,
char *  parameters,
struct CFmovement_struct move_entity 
)
static

Definition at line 267 of file cfanim.c.

References cf_add_string(), give::name, filter::parameters, CFmovement_struct::parameters, and nlohmann::detail::void().

+ Here is the call graph for this function:

◆ initfire()

static long int initfire ( const char *  name,
char *  parameters,
struct CFmovement_struct move_entity 
)
static

Definition at line 94 of file cfanim.c.

References get_dir_from_name(), give::name, filter::parameters, CFmovement_struct::parameters, and nlohmann::detail::void().

+ Here is the call graph for this function:

◆ initghosted()

static long int initghosted ( const char *  name,
char *  parameters,
struct CFmovement_struct move_entity 
)
static

Definition at line 325 of file cfanim.c.

References cf_log(), get_boolean(), llevError, give::name, filter::parameters, rotate-tower::result, and nlohmann::detail::void().

+ Here is the call graph for this function:

◆ initmessage()

static long int initmessage ( const char *  name,
char *  parameters,
struct CFmovement_struct move_entity 
)
static

Definition at line 496 of file cfanim.c.

References give::name, filter::parameters, CFmovement_struct::parameters, and nlohmann::detail::void().

+ Here is the call graph for this function:

◆ initmovement()

static long int initmovement ( const char *  name,
char *  parameters,
struct CFmovement_struct move_entity 
)
static

Definition at line 71 of file cfanim.c.

References get_dir_from_name(), give::name, filter::parameters, CFmovement_struct::parameters, and nlohmann::detail::void().

+ Here is the call graph for this function:

◆ initmoveto()

static long int initmoveto ( const char *  name,
char *  parameters,
struct CFmovement_struct move_entity 
)
static

Definition at line 459 of file cfanim.c.

References give::name, filter::parameters, CFmovement_struct::parameters, nlohmann::detail::void(), diamondslots::x, param_moveto::x, diamondslots::y, and param_moveto::y.

+ Here is the call graph for this function:

◆ initnotice()

static long int initnotice ( const char *  name,
char *  parameters,
struct CFmovement_struct move_entity 
)
static

Definition at line 423 of file cfanim.c.

References cf_strdup_local(), give::name, filter::parameters, CFmovement_struct::parameters, and nlohmann::detail::void().

+ Here is the call graph for this function:

◆ initpickup()

static long int initpickup ( const char *  name,
char *  parameters,
struct CFmovement_struct move_entity 
)
static

Definition at line 286 of file cfanim.c.

References give::name, filter::parameters, and nlohmann::detail::void().

+ Here is the call graph for this function:

◆ initpickupobject()

static long int initpickupobject ( const char *  name,
char *  parameters,
struct CFmovement_struct move_entity 
)
static

Definition at line 305 of file cfanim.c.

References cf_add_string(), give::name, filter::parameters, CFmovement_struct::parameters, and nlohmann::detail::void().

+ Here is the call graph for this function:

◆ initPlugin()

CF_PLUGIN int initPlugin ( const char *  iversion,
f_plug_api  gethooksptr 
)

Plugin initialisation function.

Parameters
iversionserver version.
gethooksptrfunction to get the hooks.
Returns
0

Definition at line 1207 of file cfanim.c.

◆ initsay()

static long int initsay ( const char *  name,
char *  parameters,
struct CFmovement_struct move_entity 
)
static

◆ initstop()

static long int initstop ( const char *  name,
char *  parameters,
struct CFmovement_struct move_entity 
)
static

Definition at line 438 of file cfanim.c.

References give::name, filter::parameters, and nlohmann::detail::void().

+ Here is the call graph for this function:

◆ initteleport()

static long int initteleport ( const char *  name,
char *  parameters,
struct CFmovement_struct move_entity 
)
static

◆ inittrigger()

static long int inittrigger ( const char *  name,
char *  parameters,
struct CFmovement_struct move_entity 
)
static

Definition at line 515 of file cfanim.c.

References cf_log(), llevError, give::name, filter::parameters, CFmovement_struct::parameters, and nlohmann::detail::void().

+ Here is the call graph for this function:

◆ initturn()

static long int initturn ( const char *  name,
char *  parameters,
struct CFmovement_struct move_entity 
)
static

Definition at line 111 of file cfanim.c.

References get_dir_from_name(), give::name, filter::parameters, CFmovement_struct::parameters, and nlohmann::detail::void().

+ Here is the call graph for this function:

◆ initvisible()

static long int initvisible ( const char *  name,
char *  parameters,
struct CFmovement_struct move_entity 
)
static

Definition at line 156 of file cfanim.c.

References cf_log(), get_boolean(), llevError, give::name, filter::parameters, rotate-tower::result, and nlohmann::detail::void().

+ Here is the call graph for this function:

◆ initwizard()

static long int initwizard ( const char *  name,
char *  parameters,
struct CFmovement_struct move_entity 
)
static

Definition at line 175 of file cfanim.c.

References cf_log(), get_boolean(), llevError, give::name, filter::parameters, rotate-tower::result, and nlohmann::detail::void().

+ Here is the call graph for this function:

◆ is_animated_object()

static int is_animated_object ( const object ob)
static

Is specified object currently being animated?

Parameters
obobject to search for.
Returns
1 if ob is part of animation, 0 else.

Definition at line 789 of file cfanim.c.

References replace::current, first_animation, and guildjoin::ob.

Referenced by eventListener().

+ Here is the caller graph for this function:

◆ parse_animation_block()

static CFmovement* parse_animation_block ( char *  buffer,
size_t  buffer_size,
FILE *  fichier,
CFanimation parent 
)
static

Parse an animation block in the animation file.

Parameters
bufferbuffer to read data info, will have been modified when function exits.
buffer_sizesize of buffer.
fichierfile to read from.
parentanimation we're reading the block for.
Returns
one animation frame.

Definition at line 642 of file cfanim.c.

References cf_log(), replace::current, CFanimation_struct::errors_allowed, CFanimationHook::funcinit, CFanimationHook::funcrun, get_command(), llevDebug, llevError, give::name, give::next, filter::parameters, and CFanimation_struct::verbose.

Referenced by start_animation().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ postInitPlugin()

CF_PLUGIN int postInitPlugin ( void  )

Definition at line 1248 of file cfanim.c.

◆ prepare_commands()

static void prepare_commands ( void  )
static

Definition at line 620 of file cfanim.c.

References animationbox, animationcount, compareAnims(), and ordered_commands.

Referenced by get_command().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ runapply()

static anim_move_result runapply ( struct CFanimation_struct animation,
long int  id,
void *  parameters 
)
static

Definition at line 222 of file cfanim.c.

References cf_object_apply_below(), obj::container, mr_finished, filter::parameters, PLAYER, obj::type, CFanimation_struct::victim, and nlohmann::detail::void().

+ Here is the call graph for this function:

◆ runapplyobject()

static anim_move_result runapplyobject ( struct CFanimation_struct animation,
long int  id,
void *  parameters 
)
static

◆ runcamera()

static anim_move_result runcamera ( struct CFanimation_struct animation,
long int  id,
void *  parameters 
)
static
Todo:
fix

Definition at line 144 of file cfanim.c.

References cf_log(), llevDebug, mr_finished, filter::parameters, CFanimation_struct::verbose, and nlohmann::detail::void().

+ Here is the call graph for this function:

◆ rundropobject()

static anim_move_result rundropobject ( struct CFanimation_struct animation,
long int  id,
void *  parameters 
)
static

Definition at line 274 of file cfanim.c.

References cf_free_string(), cf_object_drop(), cf_object_find_by_name(), mr_finished, filter::parameters, CFanimation_struct::victim, and nlohmann::detail::void().

+ Here is the call graph for this function:

◆ runfire()

static anim_move_result runfire ( struct CFanimation_struct animation,
long int  id,
void *  parameters 
)
static
Todo:
fix

Definition at line 104 of file cfanim.c.

References cf_log(), llevDebug, mr_finished, filter::parameters, CFanimation_struct::verbose, and nlohmann::detail::void().

+ Here is the call graph for this function:

◆ runghosted()

◆ runmessage()

static anim_move_result runmessage ( struct CFanimation_struct animation,
long int  id,
void *  parameters 
)
static

Definition at line 505 of file cfanim.c.

References cf_map_message(), obj::map, mr_finished, NDI_GREEN, NDI_UNIQUE, filter::parameters, CFanimation_struct::victim, and nlohmann::detail::void().

+ Here is the call graph for this function:

◆ runmovement()

static anim_move_result runmovement ( struct CFanimation_struct animation,
long int  id,
void *  parameters 
)
static

◆ runmoveto()

static anim_move_result runmoveto ( struct CFanimation_struct animation,
long int  id,
void *  parameters 
)
static

Definition at line 475 of file cfanim.c.

References cf_object_move_to(), convert::dest, mr_again, mr_finished, filter::parameters, CFanimation_struct::victim, nlohmann::detail::void(), obj::x, and obj::y.

+ Here is the call graph for this function:

◆ runnotice()

static anim_move_result runnotice ( struct CFanimation_struct animation,
long int  id,
void *  parameters 
)
static

Definition at line 428 of file cfanim.c.

References cf_player_message(), mr_finished, NDI_NAVY, NDI_UNIQUE, filter::parameters, CFanimation_struct::victim, and nlohmann::detail::void().

+ Here is the call graph for this function:

◆ runpickup()

static anim_move_result runpickup ( struct CFanimation_struct animation,
long int  id,
void *  parameters 
)
static

Definition at line 293 of file cfanim.c.

References obj::below, cf_object_pickup(), replace::current, mr_finished, filter::parameters, CFanimation_struct::victim, and nlohmann::detail::void().

+ Here is the call graph for this function:

◆ runpickupobject()

static anim_move_result runpickupobject ( struct CFanimation_struct animation,
long int  id,
void *  parameters 
)
static

◆ runsay()

static anim_move_result runsay ( struct CFanimation_struct animation,
long int  id,
void *  parameters 
)
static

Definition at line 205 of file cfanim.c.

References cf_log(), cf_object_say(), llevError, mr_finished, filter::parameters, CFanimation_struct::victim, and nlohmann::detail::void().

+ Here is the call graph for this function:

◆ runstop()

static anim_move_result runstop ( struct CFanimation_struct animation,
long int  id,
void *  parameters 
)
static
Todo:
fix

Definition at line 446 of file cfanim.c.

References cf_log(), llevDebug, mr_finished, filter::parameters, CFanimation_struct::verbose, and nlohmann::detail::void().

+ Here is the call graph for this function:

◆ runteleport()

static anim_move_result runteleport ( struct CFanimation_struct animation,
long int  id,
void *  parameters 
)
static

Definition at line 412 of file cfanim.c.

References cf_map_get_map(), cf_object_teleport(), mr_finished, filter::parameters, teleport(), CFanimation_struct::victim, and nlohmann::detail::void().

+ Here is the call graph for this function:

◆ runtrigger()

static anim_move_result runtrigger ( struct CFanimation_struct animation,
long int  id,
void *  parameters 
)
static

◆ runturn()

static anim_move_result runturn ( struct CFanimation_struct animation,
long int  id,
void *  parameters 
)
static
Todo:
fix suspicious or missing call

Definition at line 120 of file cfanim.c.

References cf_log(), diamondslots::id, llevDebug, mr_finished, give::op, filter::parameters, CFanimation_struct::verbose, CFanimation_struct::victim, and nlohmann::detail::void().

+ Here is the call graph for this function:

◆ runvisible()

static anim_move_result runvisible ( struct CFanimation_struct animation,
long int  id,
void *  parameters 
)
static

Definition at line 167 of file cfanim.c.

References diamondslots::id, CFanimation_struct::invisible, mr_finished, filter::parameters, and nlohmann::detail::void().

+ Here is the call graph for this function:

◆ runwizard()

static anim_move_result runwizard ( struct CFanimation_struct animation,
long int  id,
void *  parameters 
)
static

Definition at line 186 of file cfanim.c.

References diamondslots::id, mr_finished, filter::parameters, nlohmann::detail::void(), and CFanimation_struct::wizard.

+ Here is the call graph for this function:

◆ start_animation()

static int start_animation ( object who,
object activator,
object event,
const char *  file,
const char *  message 
)
static

Create a new animation object according to file, option and activator (who)

Parameters
whoobject that raised the event leading to the plugin.
activatorobject that caused who to get an event.
eventactual event object linking who and this plugin. Can be removed.
filefile name to read from, should be accessible from the current path.
messageif non empty, will be the name of the used animation instead of the one specified in the file.
Returns
1 if the animation was created, 0 else.
Todo:
fix memory leaks in case of errors.

Definition at line 868 of file cfanim.c.

References diamondslots::activator, cf_add_string(), cf_free_string(), cf_log(), cf_object_remove(), cf_strdup_local(), CFanimation_struct::corpse, create_animation(), CFanimation_struct::delete_end, equality_split(), CFanimation_struct::errors_allowed, animate::event, CFanimation_struct::event, mad_mage_user::file, find_by_name(), get_boolean(), CFanimation_struct::ghosted, HUGE_BUF, CFanimation_struct::invisible, llevDebug, llevError, diamondslots::message, give::name, CFanimation_struct::name, CFanimation_struct::nextmovement, CFanimation_struct::paralyze, parse_animation_block(), PLAYER, CFanimation_struct::tick_left, CFanimation_struct::time_representation, time_second, time_tick, CFanimation_struct::unique, autojail::value, CFanimation_struct::verbose, reputation::victim, CFanimation_struct::victim, autojail::who, and CFanimation_struct::wizard.

Referenced by eventListener().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ usec_elapsed()

long usec_elapsed ( struct timespec  first,
struct timespec  second 
)

Return the number of microseconds between two timespec structures. This function was copied from common/time.c since linking is too hard.

Definition at line 1149 of file cfanim.c.

Referenced by animate().

+ Here is the caller graph for this function:

Variable Documentation

◆ animationbox

CFanimationHook animationbox[]

Available animation commands.

Definition at line 562 of file cfanim.c.

Referenced by get_command(), and prepare_commands().

◆ animationcount

int animationcount = sizeof(animationbox)/sizeof(CFanimationHook)

Definition at line 612 of file cfanim.c.

Referenced by get_command(), and prepare_commands().

◆ first_animation

CFanimation* first_animation = NULL
static

Animations we're currently processing.

Definition at line 42 of file cfanim.c.

Referenced by animate(), create_animation(), and is_animated_object().

◆ ordered_commands

int ordered_commands = 0
static

Definition at line 614 of file cfanim.c.

Referenced by get_command(), and prepare_commands().

◆ SvnRevPlugin

CF_PLUGIN char SvnRevPlugin[] = SVN_REV

Definition at line 40 of file cfanim.c.