 |
Blamite Game Engine - Guerilla (Library)
00390.07.02.23.1947.blamite
The tag editor for the Blamite Game Engine.
|
Go to the documentation of this file.
5 #include <blam/api/v1/types/tags.h>
6 #include <Strings/components/3rdparty/rapidxml/rapidxml.hpp>
8 #ifndef GUERILLA_LIB_INTERNAL
9 #define GUERILLA_LIB_INTERNAL
12 #ifdef GUERILLA_LIB_EXPORTS
13 #define GUERILLA_LIB_API __declspec(dllexport)
15 #define GUERILLA_LIB_API __declspec(dllimport)
111 std::string display_name =
"";
112 std::string description =
"";
113 std::string field_id =
"";
114 std::string input_hint =
"";
115 bool require_unused_visible =
false;
116 std::string default_value =
"";
187 virtual std::string GenerateXMLString();
198 virtual void UpdateOffsetData(
int new_offset);
210 virtual std::string GenerateCppStructString(std::string line_prefix =
"",
bool generate_doxygen_comments =
true);
223 virtual std::string GenerateCppClassString(std::string line_prefix =
"");
235 virtual bool ParseXMLData(rapidxml::xml_node<>* field_node);
268 int c_entry_index = 0;
269 int c_entry_size = 0;
272 std::string field_id =
"";
287 virtual std::string GenerateXMLString();
294 virtual std::vector<char> GetValueAsBytes();
322 bool HasPluginField();
Class representing a tag field.
Definition: fields.h:261
@ Int16
Indicates that the field is a 16-bit integer.
@ YAML
YAML Configuration.
@ Real
Indicates that the field is a Float32.
BlamDatarefValueHintType
Enumerator listing all supported dataref value hint types.
Definition: fields.h:30
@ Int32
Indicates that the field is a 32-bit integer.
Class representing an tagref plugin field.
Definition: tagref.h:20
@ Enum8
Indicates that the field is an Enum8.
Class representing a plugin enum field.
Definition: enum.h:31
@ Vector4
Indicates that the field is a vector4.
void verify_tag_field_name_map()
Verifies that the tag field name map has the appropriate data.
Definition: fields.cpp:80
BlamMap< BlamDatarefValueHintType, std::string > dataref_value_hint_map
A map containing a collection of dataref value hint types.
Definition: fields.cpp:25
@ Block
Indicates that the field is a tag block.
@ Ascii
Indicates that the field is a string of text.
Class representing a vector plugin field.
Definition: vector.h:18
@ Dataref
Indicates that the field is a data reference.
@ Enum16
Indicates that the field is an Enum16.
void verify_dataref_value_hint_map()
Verifies that the dataref value hint map has the appropriate data.
Definition: fields.cpp:39
@ Bitfield16
Indicates that the field is a Bitfield16.
BlamTagFieldType
Enumerator containing all possible tag field types.
Definition: fields.h:65
@ Int8
Indicates that the field is an 8-bit integer.
Class representing an integer plugin field.
Definition: int.h:16
Class representing a block plugin field.
Definition: block.h:66
@ Color
Indicates that the field is a color.
@ Comment
Indicates that the field is a comment. These do not store any tag data.
Class representing a color plugin field.
Definition: color.h:17
Class representing a plugin field.
Definition: fields.h:101
Class representing a Tag.
Definition: tags.h:277
@ NONE
No value hint, no special treatment will be given to the data.
@ Int64
Indicates that the field is a 32-bit integer.
@ Tagref
Indicates that the field is a tag reference.
Class representing a dataref plugin field.
Definition: dataref.h:17
@ Vector3
Indicates that the field is a vector3.
Class representing a Plugin.
Definition: tags.h:79
Clas representing a bitfield plugin field.
Definition: bitfield.h:39
@ Bitfield8
Indicates that the field is a Bitfield8.
Class representing an ascii plugin field.
Definition: ascii.h:18
BlamMap< std::string, BlamTagFieldType > tag_field_name_map
A map containing a collection of tag field type/name mappings.
Definition: fields.cpp:32
Class representing a real (float32) plugin field.
Definition: float32.h:16
@ Unspecified
Indicates that the field's type is not specified. Fields with this type should be considered invalid.
@ StringId
Indicates that the field is a String ID.
@ Bitfield32
Indicates that the field is a Bitfield32.
@ Vector2
Indicates that the field is a vector2.
#define GUERILLA_LIB_API
Definition: fields.h:15
@ Enum32
Indicates that the field is an Enum32.
@ HSC
BlamScript/HaloScript Script.