 |
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_ttag "ttag"
40 struct bitfield8_format_flags
52 bitfield8_format_flags format_flags;
70 {
struct bitfield16_extra_flags
73 bool can_you_imagine_needing_this_many_flags : 1;
74 bool yea_me_neither : 1;
91 bitfield16_extra_flags extra_flags;
92 struct bitfield32_who_needs_this_many_fucking_flags
94 bool enable_diffusion_dithering : 1;
95 bool disable_height_map_compression : 1;
96 bool uniform_sprite_sequences : 1;
97 bool filthy_sprite_bug_fix : 1;
98 bool use_sharp_bump_filter : 1;
100 bool use_clampedmirrored_bump : 1;
101 bool invert_detail_fade : 1;
102 bool swap_x_y_vector_components : 1;
103 bool convert_from_signed : 1;
104 bool convert_to_signed : 1;
105 bool import_mipmap_chains : 1;
106 bool intentionally_true_color : 1;
128 bitfield32_who_needs_this_many_fucking_flags who_needs_this_many_fucking_flags;
208 {1,
"haloman30",
"Initial implementation."},
209 {2,
"haloman30",
"Move over test fields that were in bitmap tag for some reason"},
210 {3,
"haloman30",
"* Added hidden tag block and hidden real fields"},
211 {4,
"haloman30",
"* Added hidden dataref, tagref, and color fields\n\n * Added hidden test field to "},
212 {5,
"haloman30",
"* Add dataref with direct editing disabled"},
221 "this tag class is used for testing purposes only, do not use it for actual game data"),
223 "im gonna shove a bitmap up your ass"),
225 new Int16Field(
"short test",
"A short has a length of 2 bytes."),
226 new Int8Field(
"byte test",
"A byte has a length of 1 bytes."),
227 new BlockField(14,
"block test",
"*sweats nervously*",
233 "explanation goes here brotheR"),
241 new Enum32Field(
"type",
"the usage type of this bitmap",
250 new BlockField(6,
"the 'go fuck yourself' block",
"yea im tired leave me alone",
254 "can you imagine needing this many flags",
257 new Bitfield32Field(
"who needs this many fucking flags",
"apparently me because i put this shit here",
259 "enable diffusion dithering",
260 "disable height map compression",
261 "uniform sprite sequences",
262 "filthy sprite bug fix",
263 "use sharp bump filter",
265 "use clamped/mirrored bump",
266 "invert detail fade",
267 "swap x-y vector components",
268 "convert from signed",
270 "import mipmap chains",
271 "intentionally true color",
274 new BlockField(68,
"nested block test",
"testing block nesting",
295 "normal, unstyled comment"),
Class representing an int16 tag field.
Definition: int.h:59
Namespace containing functions related to tag data.
Definition: bitmap.h:181
Class representing a real tag field.
Definition: real.h:16
TestTagTagClass()
Definition: test_tag.h:201
data_reference test_dataref
testing data reference
Definition: test_tag.h:156
int32_t integer_test
memes
Definition: test_tag.h:29
int32_t int32_field_0
Definition: test_tag.h:157
TAG_BLOCK(block_test, { int16_t width;int16_t height;int8_t depth;struct bitfield8_format_flags { bool bit_0 :1;bool bit_1 :1;bool bit_2 :1;bool is_tiled :1;bool unused4 :1;bool unused5 :1;bool unused6 :1;bool unused7 :1;};bitfield8_format_flags format_flags;TAG_ENUM(type, { _2d_texture, _3d_texture, cubemap, unknown, });int32_t hidden_child_field;})
sweats nervously
Class representing a data reference, or dataref for short.
Definition: dataref.h:19
Class representing a bitfield16 tag field.
Definition: bitfield.h:44
#define BLAM
Definition: test_tag.h:19
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
real hidden_real
Definition: test_tag.h:189
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
tag_reference tagref_field_1
Definition: test_tag.h:191
Structure representing a tag reference.
Definition: tags.h:289
Structure representing a field reference.
Definition: tags.h:455
color color_field_1
Definition: test_tag.h:193
Class representing a bitfield32 tag field.
Definition: bitfield.h:55
std::string class_name_long
The longer class name. Typically shown alongside short name for user-friendliness.
Definition: tags.h:205
#define tag_ttag
Definition: test_tag.h:22
color color_field_2
Definition: test_tag.h:192
int8_t byte_test
A byte has a length of 1 bytes.
Definition: test_tag.h:31
Class representing an int32 tag field.
Definition: int.h:46
BLAM test_tag * GetTestTagTag(std::string tag_path)
Definition: test_tag.cpp:16
Definition: test_tag.h:27
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
Definition: test_tag.h:198
void * address
The address pointing to the start of the tag's data.
Definition: tags.h:132
data_reference dataref_no_direct_edit
Definition: test_tag.h:194
short int16_t
Definition: stdint.h:12
Class used to contain and access tag data.
Definition: tags.h:125
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
field_reference fieldref_field_0
Definition: test_tag.h:184
int32_t another_int
Definition: test_tag.h:183
Class representing a tag class.
Definition: tags.h:202
Class representing a bitfield8 tag field.
Definition: bitfield.h:33
data_reference dataref_field_0
Definition: test_tag.h:190
int16_t short_test
A short has a length of 2 bytes.
Definition: test_tag.h:30
std::string tag_class
The tag's short class name.
Definition: tags.h:146