 |
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_mode "mode"
59 int32_t imported_material_index;
70 struct bitfield16_flags
90 bitfield16_flags
flags;
96 struct bitfield16_flags
98 bool uses_32_bit_indices : 1;
100 bool has_tangents : 1;
116 bitfield16_flags
flags;
120 int8_t vertex_color_channels;
144 {1,
"haloman30",
"Initial implementation."},
145 {2,
"haloman30",
"Vertex data, triangle data, and texture coordinates are now stored as datarefs instead of tag blocks - in order to reduce filesize of decompiled tags"},
146 {3,
"haloman30",
"* Added flags bitfield and material index to meshes block"},
147 {4,
"haloman30",
"* Added a couple comments\n\n * Added AABB min/max vectors to meshes block"},
148 {5,
"haloman30",
"* Removed UVs block, as UV data is now stored with vertex data\n\n * Added vertex color/UV channels fields"},
149 {6,
"haloman30",
"* Added tangents/bitangents datarefs to meshes block"},
150 {7,
"haloman30",
"* Added support for default scale modifier"},
151 {8,
"haloman30",
"* Add support for shader [rmsh] tags"},
162 "use bounding sphere instead of combined aabb",
163 "automatically generate bounds at runtime",
164 "add padding to bounding box",
167 new RealField(
"bounding sphere radius",
""),
175 new Int32Field(
"imported material index",
""),
178 "All fields below should not be modified directly. This data is automatically updated when importing (or re-importing) a 3D model. As such, any changes made will be lost if the model is re-imported."),
198 "uses 32-bit indices",
205 new Int8Field(
"vertex color channels",
""),
207 new CommentField(
"Axis-Aligned Bounding Box (AABB) Extents",
bool unused9
Definition: render_model.h:41
Namespace containing functions related to tag data.
Definition: bitmap.h:181
Class representing a real tag field.
Definition: real.h:16
bool unused14
Definition: render_model.h:46
Definition: render_model.h:27
real bounding_sphere_radius
Definition: render_model.h:51
Class representing a data reference, or dataref for short.
Definition: dataref.h:19
Class representing a vector3 tag field.
Definition: vector.h:47
bool unused15
Definition: render_model.h:47
Class representing a bitfield16 tag field.
Definition: bitfield.h:44
Class representing a tag reference, or tagref for short.
Definition: tagref.h:20
bitfield16_flags flags
Bitfield data for flags. See #bitfield16_flags for details.
Definition: render_model.h:50
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
bool unused11
Definition: render_model.h:43
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
bool auto_generate_bounds
Definition: render_model.h:33
bool use_bounding_sphere
Definition: render_model.h:32
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
bool unused8
Definition: render_model.h:40
int version
The tag class version. Should be incremented any time a tag class is modified whatsoever.
Definition: tags.h:207
bool unused5
Definition: render_model.h:37
bool pad_bounding_box
Definition: render_model.h:34
Structure representing a tag reference.
Definition: tags.h:289
b output the Images to a print format other than for collateral materials(such as sales literature and illustrations) which support your primary electronic use of the Images. Subject to the foregoing limitations
std::string class_name_long
The longer class name. Typically shown alongside short name for user-friendliness.
Definition: tags.h:205
long long int64_t
Definition: stdint.h:14
Class representing an int64 tag field.
Definition: int.h:33
Definition: material.h:54
data_reference name
The name of the model.
Definition: render_model.h:29
#define BLAM
Definition: render_model.h:19
RenderModelTagClass()
Definition: render_model.h:137
TAG_BLOCK(materials, { tag_reference material;TAG_BLOCK(parameters, { });int32_t imported_material_index;})
bool unused7
Definition: render_model.h:39
Class representing an int32 tag field.
Definition: int.h:46
bool unused13
Definition: render_model.h:45
Structure representing a data reference.
Definition: tags.h:342
bool unused4
Definition: render_model.h:36
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
Definition: render_model.h:30
bool unused12
Definition: render_model.h:44
bool unused10
Definition: render_model.h:42
Definition: render_model.h:134
bool infinite_bounds
Definition: render_model.h:35
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
#define tag_mode
Definition: render_model.h:22
bool unused6
Definition: render_model.h:38
vector3 default_scale_modifier
Definition: render_model.h:52
std::string tag_class
The tag's short class name.
Definition: tags.h:146
BLAM render_model * GetRenderModelTag(std::string tag_path)
Definition: render_model.cpp:16