 |
Blamite Game Engine - Guerilla (Library)
00402.09.29.23.0627.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)
74 BlamTagFieldType type = BlamTagFieldType::Unspecified;
81 std::string display_name =
"";
82 std::string description =
"";
83 std::string field_id =
"";
84 std::string input_hint =
"";
85 bool require_unused_visible =
false;
86 std::string default_value =
"";
108 BlamTagFieldType GetType();
157 virtual std::string GenerateXMLString();
168 virtual void UpdateOffsetData(
int new_offset);
180 virtual std::string GenerateCppStructString(std::string line_prefix =
"",
bool generate_doxygen_comments =
true);
193 virtual std::string GenerateCppClassString(std::string line_prefix =
"");
205 virtual bool ParseXMLData(rapidxml::xml_node<>* field_node);
222 void ChangeType(BlamTagFieldType new_type);
234 BlamTagFieldType type = BlamTagFieldType::Unspecified;
238 int c_entry_index = 0;
239 int c_entry_size = 0;
240 int c_file_offset = 0;
243 std::string field_id =
"";
258 virtual std::string GenerateXMLString();
265 virtual std::vector<char> GetValueAsBytes();
272 BlamTagFieldType GetType();
293 bool HasPluginField();
Class representing a tag field.
Definition: fields.h:231
@ YAML
YAML Configuration.
BlamDatarefValueHintType
Enumerator listing all supported dataref value hint types.
Definition: fields.h:30
Class representing an tagref plugin field.
Definition: tagref.h:20
Class representing a plugin enum field.
Definition: enum.h:31
void verify_tag_field_name_map()
Verifies that the tag field name map has the appropriate data.
Definition: fields.cpp:82
BlamMap< BlamDatarefValueHintType, std::string > dataref_value_hint_map
A map containing a collection of dataref value hint types.
Definition: fields.cpp:27
Class representing a vector plugin field.
Definition: vector.h:18
void verify_dataref_value_hint_map()
Verifies that the dataref value hint map has the appropriate data.
Definition: fields.cpp:41
Class representing an integer plugin field.
Definition: int.h:16
Class representing a block plugin field.
Definition: block.h:68
bool define_in_global_scope
Definition: enum.h:36
Class representing a color plugin field.
Definition: color.h:17
Class representing a plugin field.
Definition: fields.h:71
Class representing a Tag.
Definition: tags.h:277
@ NONE
No value hint, no special treatment will be given to the data.
Class representing a dataref plugin field.
Definition: dataref.h:17
Class representing a Plugin.
Definition: tags.h:79
Class representing a fieldref plugin field.
Definition: fieldref.h:18
Clas representing a bitfield plugin field.
Definition: bitfield.h:39
Class representing an ascii plugin field.
Definition: ascii.h:18
std::vector< BlamPluginField * > fields
The list of fields within the tag block.
Definition: block.h:72
BlamMap< std::string, BlamTagFieldType > tag_field_name_map
A map containing a collection of tag field type/name mappings.
Definition: fields.cpp:34
Class representing a real (float32) plugin field.
Definition: float32.h:16
Class representing a boolean plugin field.
Definition: boolean.h:18
bool bound_to_global_enum
Definition: enum.h:39
#define GUERILLA_LIB_API
Definition: fields.h:15
@ HSC
BlamScript/HaloScript Script.