UFO: Alien Invasion
Loading...
Searching...
No Matches
animState_t Struct Reference

#include <r_entity.h>

Collaboration diagram for animState_t:
Collaboration graph

Public Member Functions

 animState_s ()

Data Fields

int frame
int oldframe
float backlerp
int time
int dt
int mesh
byte list [MAX_ANIMLIST]
byte lcur
byte ladd
byte change

Detailed Description

Definition at line 54 of file r_entity.h.

Member Function Documentation

◆ animState_s()

animState_t::animState_s ( )
inline

Definition at line 67 of file r_entity.h.

References backlerp, change, dt, frame, ladd, lcur, list, mesh, OBJZERO, oldframe, and time.

Field Documentation

◆ backlerp

float animState_t::backlerp

linear interpolation from previous frame

Definition at line 57 of file r_entity.h.

Referenced by animState_s(), R_AnimAppend(), R_AnimChange(), R_AnimRun(), R_CalcTransform(), R_DrawAliasModelBuffer(), UI_DrawModelNode(), and UI_DrawModelNodeWithUIModel().

◆ change

byte animState_t::change

◆ dt

int animState_t::dt

Definition at line 59 of file r_entity.h.

Referenced by animState_s(), R_AnimAppend(), R_AnimChange(), and R_AnimRun().

◆ frame

◆ ladd

byte animState_t::ladd

Definition at line 64 of file r_entity.h.

Referenced by animState_s(), R_AnimAdd(), R_AnimAppend(), R_AnimChange(), R_AnimGetName(), and R_AnimRun().

◆ lcur

byte animState_t::lcur

the current position in the animation list

Definition at line 63 of file r_entity.h.

Referenced by animState_s(), R_AnimAppend(), R_AnimChange(), R_AnimGetName(), and R_AnimRun().

◆ list

byte animState_t::list[MAX_ANIMLIST]

the list of mAliasAnim_t array indices that should be played

Definition at line 62 of file r_entity.h.

Referenced by animState_s(), and R_AnimAdd().

◆ mesh

int animState_t::mesh

the mesh index of the model to animate

Definition at line 60 of file r_entity.h.

Referenced by animState_s(), R_DrawAliasModel(), and R_GetEntityLists().

◆ oldframe

◆ time

int animState_t::time

Definition at line 58 of file r_entity.h.

Referenced by animState_s(), R_AnimAppend(), R_AnimChange(), and R_AnimRun().


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