 |
Blamite Game Engine - blam!
00453.06.08.26.0624.blamite
The core library for the Blamite Game Engine.
|
Go to the documentation of this file.
22 #define tag_cusc "cusc"
49 struct bitfield16_flags
69 bitfield16_flags flags;
92 struct bitfield8_text_flags
94 bool auto_scale_shadow : 1;
104 bitfield8_text_flags text_flags;
113 struct bitfield16_flags
116 bool editor_only : 1;
133 bitfield16_flags flags;
151 {1,
"haloman30",
"Initial implementation."},
152 {2,
"haloman30",
"Remove unused 'templates' block, add 'components' and 'groups' blocks"},
169 new Int32Field(
"parent group index",
"This index directly matches the index of an entry within the 'groups' block."),
201 "If you only need to create basic UI elements with standard colors, then you can ignore these fields.\n"
203 "If you need more direct control over how your UI elements are presented, then you can override the appearance with a custom material tag. You may also pass any data on to a material tag's parameters, if the material supports them.\n"
205 "Note that if your material tag does not have the appropriate input parameters, or you do not link them correctly using the exports block, then some of the appearance data within this block (such as primary color) may not be used."),
213 "The fields below are only used by text widgets"),
Namespace containing functions related to tag data.
Definition: bitmap.h:181
Class representing a real tag field.
Definition: real.h:16
#define BLAM
Definition: cui_screen.h:19
Class representing a vector2 tag field.
Definition: vector.h:34
Definition: cui_screen.h:44
unsigned char uint8_t
Definition: stdint.h:15
Class representing a data reference, or dataref for short.
Definition: dataref.h:19
Class representing a bitfield16 tag field.
Definition: bitfield.h:44
#define tag_cusc
Definition: cui_screen.h:22
Class representing a tag reference, or tagref for short.
Definition: tagref.h:20
signed char int8_t
Definition: stdint.h:11
std::vector< BlamTagClassField * > fields
A series of tag fields that store the layout of the tag.
Definition: tags.h:209
std::vector< BlamTagClassRevision > revisions
List of all tag class revisions. Does not get written to tags, but is included in plugin files.
Definition: tags.h:208
int int32_t
Definition: stdint.h:13
Class representing an int8 tag field.
Definition: int.h:72
std::string class_name_short
The short, 4-character name of the tag class.
Definition: tags.h:206
int version
The tag class version. Should be incremented any time a tag class is modified whatsoever.
Definition: tags.h:207
Structure representing a tag reference.
Definition: tags.h:289
Structure representing a field reference.
Definition: tags.h:455
std::string class_name_long
The longer class name. Typically shown alongside short name for user-friendliness.
Definition: tags.h:205
BLAM cui_screen * GetCuiScreenTag(std::string tag_path)
Definition: cui_screen.cpp:16
CuiScreenTagClass()
Definition: cui_screen.h:144
TAG_BLOCK(basic_components, { struct bitfield16_flags { bool hidden :1;bool editor_only :1;bool auto_update :1;bool unused3 :1;bool unused4 :1;bool unused5 :1;bool unused6 :1;bool unused7 :1;bool unused8 :1;bool unused9 :1;bool unused10 :1;bool unused11 :1;bool unused12 :1;bool unused13 :1;bool unused14 :1;bool unused15 :1;};bitfield16_flags flags;int32_t parent_group_index;data_reference name;data_reference description;TAG_ENUM8(type, { rectangle, text, bitmap, ellipse, });cui_widget_anchor anchor;vector2 position;vector2 size;real rotation;color _color;tag_reference material_override;TAG_BLOCK(material_exports, { data_reference parameter_name;field_reference input_value;});struct bitfield8_text_flags { bool auto_scale_shadow :1;bool unused1 :1;bool unused2 :1;bool unused3 :1;bool unused4 :1;bool unused5 :1;bool unused6 :1;bool unused7 :1;};bitfield8_text_flags text_flags;color shadow_color;vector2 shadow_offset;int8_t character_height;data_reference font_name;data_reference text;})
Class representing an int32 tag field.
Definition: int.h:46
Structure representing a data reference.
Definition: tags.h:342
int tag_size
The size of the tag's data. Used on loading/writing tag files.
Definition: tags.h:210
Class representing a color tag field.
Definition: color.h:19
void * address
The address pointing to the start of the tag's data.
Definition: tags.h:132
Class used to contain and access tag data.
Definition: tags.h:125
cui_widget_anchor
Definition: cui_screen.h:24
Class representing a fieldref tag field.
Definition: fieldref.h:17
Class representing a tag block field, also sometimes referred to as a struct or reflexive in the modd...
Definition: block.h:19
Class representing a tag class.
Definition: tags.h:202
Class representing a bitfield8 tag field.
Definition: bitfield.h:33
tag_reference string_reference
Definition: cui_screen.h:46
Definition: cui_screen.h:141
std::string tag_class
The tag's short class name.
Definition: tags.h:146