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

Represents a text object or image object. More...

Collaboration diagram for seq2D_t:
Collaboration graph

Data Fields

bool inuse
char name [MAX_VAR]
char * text
char font [MAX_VAR]
char image [MAX_VAR]
vec2_t pos
vec2_t speed
vec2_t size
vec2_t enlarge
vec4_t color
vec4_t fade
vec4_t bgcolor
align_t align
vec4_t bordercolor
int border
bool inBackground
bool relativePos

Detailed Description

Represents a text object or image object.

Definition at line 97 of file cl_sequence.cpp.

Field Documentation

◆ align

align_t seq2D_t::align

the alignment of the 2d obj

Definition at line 110 of file cl_sequence.cpp.

Referenced by SEQ_Render2D().

◆ bgcolor

vec4_t seq2D_t::bgcolor

background color of the box define by pos, size

Definition at line 109 of file cl_sequence.cpp.

Referenced by SEQ_Render2D().

◆ border

int seq2D_t::border

border width

Definition at line 112 of file cl_sequence.cpp.

Referenced by SEQ_Render2D().

◆ bordercolor

vec4_t seq2D_t::bordercolor

2d obj border color

Definition at line 111 of file cl_sequence.cpp.

Referenced by SEQ_Render2D().

◆ color

vec4_t seq2D_t::color

2d obj color

Definition at line 107 of file cl_sequence.cpp.

Referenced by SEQ_ExecuteObj2D(), and SEQ_Render2D().

◆ enlarge

vec2_t seq2D_t::enlarge

enlarge in x and y direction

Definition at line 106 of file cl_sequence.cpp.

Referenced by SEQ_Render2D().

◆ fade

vec4_t seq2D_t::fade

the fade color

Definition at line 108 of file cl_sequence.cpp.

Referenced by SEQ_Render2D().

◆ font

char seq2D_t::font[MAX_VAR]

the font to use in case this is a text object

Definition at line 101 of file cl_sequence.cpp.

Referenced by SEQ_ExecuteObj2D(), and SEQ_Render2D().

◆ image

char seq2D_t::image[MAX_VAR]

the image to render

Definition at line 102 of file cl_sequence.cpp.

Referenced by SEQ_Render2D().

◆ inBackground

bool seq2D_t::inBackground

If true, display the object under the 3D objects

Definition at line 113 of file cl_sequence.cpp.

Referenced by SEQ_Render2D().

◆ inuse

bool seq2D_t::inuse

still in use in this sequence? or already deactivated?

Definition at line 98 of file cl_sequence.cpp.

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

◆ name

char seq2D_t::name[MAX_VAR]

the script id for this object

Definition at line 99 of file cl_sequence.cpp.

Referenced by SEQ_ExecuteObj2D(), and SEQ_Find2D().

◆ pos

vec2_t seq2D_t::pos

the position of the 2d obj

Definition at line 103 of file cl_sequence.cpp.

Referenced by SEQ_Render2D().

◆ relativePos

bool seq2D_t::relativePos

useful for translations when sentence length may differ

Definition at line 114 of file cl_sequence.cpp.

Referenced by SEQ_Render2D().

◆ size

vec2_t seq2D_t::size

the size of the 2d obj

Definition at line 105 of file cl_sequence.cpp.

Referenced by SEQ_Render2D().

◆ speed

vec2_t seq2D_t::speed

how fast the 2d obj will change (fade, scale, ...)

Definition at line 104 of file cl_sequence.cpp.

Referenced by SEQ_Render2D().

◆ text

char* seq2D_t::text

a placeholder for gettext (V_TRANSLATION_STRING)

Definition at line 100 of file cl_sequence.cpp.

Referenced by SEQ_ExecuteDelete(), and SEQ_Render2D().


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