UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
sequenceContext_s Struct Reference

Data Fields

vec2_t pos
 
vec2_t size
 
int time
 
bool endClickLoop
 
int currentCmd
 
int endCmd
 
int animspeed
 
seqCamera_t camera
 
seqEnt_t ents [MAX_SEQENTS]
 
int numEnts
 
seq2D_t obj2Ds [MAX_SEQ2DS]
 
int numObj2Ds
 

Detailed Description

Sequence context

Definition at line 135 of file cl_sequence.cpp.

Field Documentation

int sequenceContext_s::animspeed

Speed of the animation. Default is 1000. Number per seconds

Definition at line 151 of file cl_sequence.cpp.

Referenced by SEQ_ExecuteAnimSpeed(), SEQ_InitContext(), and SEQ_Render3D().

seqCamera_t sequenceContext_s::camera

Position of the camera

Definition at line 154 of file cl_sequence.cpp.

Referenced by SEQ_ExecuteCamera(), and SEQ_SetCamera().

int sequenceContext_s::currentCmd

Current position in the sequence command array of the current running sequence

Definition at line 146 of file cl_sequence.cpp.

Referenced by SEQ_Execute(), and SEQ_InitContext().

bool sequenceContext_s::endClickLoop

If the menu node the sequence is rendered in fetches a click this is true

Definition at line 144 of file cl_sequence.cpp.

Referenced by SEQ_Execute(), SEQ_ExecuteClick(), SEQ_SendClickEvent(), and SEQ_StopSequence().

int sequenceContext_s::endCmd

The number of all sequence commands in the current running sequence

Definition at line 148 of file cl_sequence.cpp.

Referenced by SEQ_Execute(), and SEQ_InitContext().

seqEnt_t sequenceContext_s::ents[MAX_SEQENTS]

Store sequence entities

Definition at line 157 of file cl_sequence.cpp.

Referenced by SEQ_ExecuteModel(), SEQ_FindEnt(), and SEQ_Render3D().

int sequenceContext_s::numEnts

Definition at line 158 of file cl_sequence.cpp.

Referenced by SEQ_ExecuteModel(), SEQ_InitContext(), and SEQ_Render3D().

int sequenceContext_s::numObj2Ds

Definition at line 162 of file cl_sequence.cpp.

Referenced by SEQ_ExecuteObj2D(), SEQ_InitContext(), and SEQ_Render2D().

seq2D_t sequenceContext_s::obj2Ds[MAX_SEQ2DS]

Store sequence 2Dobj

Definition at line 161 of file cl_sequence.cpp.

Referenced by SEQ_ExecuteObj2D(), SEQ_Find2D(), and SEQ_Render2D().

vec2_t sequenceContext_s::pos

position of the viewport

Definition at line 137 of file cl_sequence.cpp.

Referenced by SEQ_Render(), SEQ_Render3D(), and SEQ_SetView().

vec2_t sequenceContext_s::size

size of the viewport

Definition at line 139 of file cl_sequence.cpp.

Referenced by SEQ_Render(), SEQ_Render3D(), SEQ_SetCamera(), and SEQ_SetView().

int sequenceContext_s::time

Milliseconds the sequence is already running

Definition at line 142 of file cl_sequence.cpp.

Referenced by SEQ_Execute(), SEQ_ExecuteClick(), SEQ_ExecuteWait(), and SEQ_InitContext().


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