Crossfire Server, Trunk  1.75.0
Animations Struct Reference

This represents one animation. More...

#include <face.h>

+ Collaboration diagram for Animations:

Data Fields

const Face ** faces
 The actual faces for the animation. More...
 
uint8_t facings
 How many facings (1,2,4,8). More...
 
bool has_blank
 If this animation contains a blank face or not, used for invisibility. More...
 
sstring name
 Name of the animation sequence. More...
 
uint16_t num
 Where we are in the array. More...
 
uint8_t num_animations
 How many different faces to animate, size of the faces array. More...
 

Detailed Description

This represents one animation.

It points to different faces.

Definition at line 25 of file face.h.

Field Documentation

◆ faces

◆ facings

uint8_t Animations::facings

How many facings (1,2,4,8).

Definition at line 28 of file face.h.

Referenced by apply_anim_suffix(), FaceLoader::loadAnimationBlock(), move_aura(), AllAnimations::replace(), and AnimationWriter::write().

◆ has_blank

bool Animations::has_blank

If this animation contains a blank face or not, used for invisibility.

Definition at line 31 of file face.h.

Referenced by AllAnimations::added(), animate_object(), and AllAnimations::replace().

◆ name

◆ num

uint16_t Animations::num

◆ num_animations

uint8_t Animations::num_animations

How many different faces to animate, size of the faces array.

Definition at line 27 of file face.h.

Referenced by AllAnimations::added(), apply_anim_suffix(), asset_create(), esrv_send_animation(), FaceLoader::loadAnimationBlock(), move_aura(), AllAnimations::replace(), and AnimationWriter::write().


The documentation for this struct was generated from the following file: