UFO: Alien Invasion
|
Represents a text object or image object. More...
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 |
Represents a text object or image object.
Definition at line 97 of file cl_sequence.cpp.
align_t seq2D_s::align |
the alignment of the 2d obj
Definition at line 110 of file cl_sequence.cpp.
Referenced by SEQ_Render2D().
vec4_t seq2D_s::bgcolor |
background color of the box define by pos
, size
Definition at line 109 of file cl_sequence.cpp.
Referenced by SEQ_Render2D().
int seq2D_s::border |
vec4_t seq2D_s::bordercolor |
vec4_t seq2D_s::color |
2d obj color
Definition at line 107 of file cl_sequence.cpp.
Referenced by SEQ_ExecuteObj2D(), and SEQ_Render2D().
vec2_t seq2D_s::enlarge |
enlarge in x and y direction
Definition at line 106 of file cl_sequence.cpp.
Referenced by SEQ_Render2D().
vec4_t seq2D_s::fade |
char seq2D_s::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().
char seq2D_s::image[MAX_VAR] |
bool seq2D_s::inBackground |
If true, display the object under the 3D objects
Definition at line 113 of file cl_sequence.cpp.
Referenced by SEQ_Render2D().
bool seq2D_s::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().
char seq2D_s::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().
vec2_t seq2D_s::pos |
the position of the 2d obj
Definition at line 103 of file cl_sequence.cpp.
Referenced by SEQ_Render2D().
bool seq2D_s::relativePos |
useful for translations when sentence length may differ
Definition at line 114 of file cl_sequence.cpp.
Referenced by SEQ_Render2D().
vec2_t seq2D_s::size |
the size of the 2d obj
Definition at line 105 of file cl_sequence.cpp.
Referenced by SEQ_Render2D().
vec2_t seq2D_s::speed |
how fast the 2d obj will change (fade, scale, ...)
Definition at line 104 of file cl_sequence.cpp.
Referenced by SEQ_Render2D().
char* seq2D_s::text |
a placeholder for gettext (V_TRANSLATION_STRING)
Definition at line 100 of file cl_sequence.cpp.
Referenced by SEQ_ExecuteDelete(), and SEQ_Render2D().