Crossfire Server, Trunk
animations_struct Struct Reference

#include <face.h>

+ Collaboration diagram for animations_struct:

Data Fields

const Face ** faces
 
uint8_t facings
 
sstring name
 
uint16_t num
 
uint8_t num_animations
 

Detailed Description

This represents one animation. It points to different faces.

Definition at line 25 of file face.h.

Field Documentation

◆ faces

const Face** animations_struct::faces

◆ facings

uint8_t animations_struct::facings

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

Definition at line 28 of file face.h.

Referenced by AnimationControl::display(), and AllAnimations::replace().

◆ name

sstring animations_struct::name

◆ num

uint16_t animations_struct::num

Where we are in the array.

Definition at line 29 of file face.h.

Referenced by add_object_to_socklist().

◆ num_animations

uint8_t animations_struct::num_animations

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

Definition at line 27 of file face.h.

Referenced by AnimationControl::display(), AllAnimations::replace(), AnimationPanel::updateItem(), and AnimationWrapper::uses().


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