UFO: Alien Invasion
Loading...
Searching...
No Matches
sequenceContext_t Struct Reference
Collaboration diagram for sequenceContext_t:
Collaboration graph

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

◆ animspeed

int sequenceContext_t::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().

◆ camera

seqCamera_t sequenceContext_t::camera

Position of the camera

Definition at line 154 of file cl_sequence.cpp.

Referenced by SEQ_ExecuteCamera(), and SEQ_SetCamera().

◆ currentCmd

int sequenceContext_t::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().

◆ endClickLoop

bool sequenceContext_t::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().

◆ endCmd

int sequenceContext_t::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().

◆ ents

seqEnt_t sequenceContext_t::ents[MAX_SEQENTS]

Store sequence entities

Definition at line 157 of file cl_sequence.cpp.

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

◆ numEnts

int sequenceContext_t::numEnts

Definition at line 158 of file cl_sequence.cpp.

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

◆ numObj2Ds

int sequenceContext_t::numObj2Ds

Definition at line 162 of file cl_sequence.cpp.

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

◆ obj2Ds

seq2D_t sequenceContext_t::obj2Ds[MAX_SEQ2DS]

Store sequence 2Dobj

Definition at line 161 of file cl_sequence.cpp.

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

◆ pos

vec2_t sequenceContext_t::pos

position of the viewport

Definition at line 137 of file cl_sequence.cpp.

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

◆ size

vec2_t sequenceContext_t::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().

◆ time

int sequenceContext_t::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: