 |
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.
19 #define tag_dctr "dctr"
33 struct bitfield16_flags
35 bool random_rotation : 1;
36 bool random_scale : 1;
53 bitfield16_flags flags;
61 real minimum_distance_between_decorators;
62 real placement_weight;
85 "LOD levels range from 0 to 3, with 0 being the best quality model and 3 being the worst quality.\n"
87 "All distances listed below are used to determine at which point LOD models are visible. Only one LOD level will be visible at any given time."),
93 "These settings specify available variants for decorators. All decorators can specify available LOD models, as well as default placement settings. The placement settings below only apply when initially placing decorators, and will not automatically re-apply."),
109 new RealField(
"minimum distance between decorators",
"The minimum distance (in WU) allowed between placements"),
110 new RealField(
"placement weight",
"When placing a decorator set without a specific type selected, weight value is used to determine the distribution of types"),
Namespace containing functions related to tag data.
Definition: bitmap.h:181
Class representing a real tag field.
Definition: real.h:16
Class representing a vector2 tag field.
Definition: vector.h:34
vector2 lod1_distance
Definition: decorator_set.h:27
vector2 lod3_distance
Definition: decorator_set.h:29
Definition: decorator_set.h:67
Class representing a data reference, or dataref for short.
Definition: dataref.h:19
Class representing a vector3 tag field.
Definition: vector.h:47
TAG_BLOCK(variants, { data_reference identifier;struct bitfield16_flags { bool random_rotation :1;bool random_scale :1;bool unused2 :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;TAG_BLOCK(LODs, { tag_reference model;int8_t lod;});vector3 min_scale;vector3 max_scale;real minimum_distance_between_decorators;real placement_weight;})
Class representing a bitfield16 tag field.
Definition: bitfield.h:44
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
#define BLAM
Definition: decorator_set.h:16
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
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
DecoratorSetTagClass()
Definition: decorator_set.h:70
#define tag_dctr
Definition: decorator_set.h:19
vector2 lod0_distance
Definition: decorator_set.h:26
Structure representing a tag reference.
Definition: tags.h:289
std::string class_name_long
The longer class name. Typically shown alongside short name for user-friendliness.
Definition: tags.h:205
BLAM decorator_set * GetDecoratorSetTag(std::string tag_path)
Definition: decorator_set.cpp:13
vector2 lod2_distance
Definition: decorator_set.h:28
Structure representing a data reference.
Definition: tags.h:342
Definition: decorator_set.h:24
int tag_size
The size of the tag's data. Used on loading/writing tag files.
Definition: tags.h:210
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
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
std::string tag_class
The tag's short class name.
Definition: tags.h:146