Crossfire Server, Trunk
Animations Struct Reference

#include <face.h>

+ Collaboration diagram for Animations:

Data Fields

const Face ** faces
 
uint8_t facings
 
bool has_blank
 
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::faces

◆ facings

uint8_t Animations::facings

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

Definition at line 28 of file face.h.

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

◆ 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::replace().

◆ name

◆ num

uint16_t Animations::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::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: