 |
Blamite Game Engine - Guerilla (Library)
00449.01.12.26.0555.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)
101 BlamTagFieldType type = BlamTagFieldType::Unspecified;
108 std::string display_name =
"";
109 std::string description =
"";
110 std::string field_id =
"";
111 std::string input_hint =
"";
112 bool require_unused_visible =
false;
113 std::string default_value =
"";
135 BlamTagFieldType GetType();
184 virtual std::string GenerateXMLString();
195 virtual void UpdateOffsetData(
int new_offset);
221 virtual std::string GenerateCppClassString(std::string line_prefix =
"");
233 virtual bool ParseXMLData(rapidxml::xml_node<>* field_node);
263 void ChangeType(BlamTagFieldType new_type);
275 BlamTagFieldType type = BlamTagFieldType::Unspecified;
279 int c_entry_index = 0;
280 int c_entry_size = 0;
281 int c_file_offset = 0;
284 std::string field_id =
"";
299 virtual std::string GenerateXMLString();
306 virtual std::vector<char> GetValueAsBytes();
313 BlamTagFieldType GetType();
334 bool HasPluginField();
Class representing a tag field.
Definition: fields.h:272
@ YAML
YAML Configuration.
BlamDatarefValueHintType
Enumerator listing all supported dataref value hint types.
Definition: fields.h:57
bool generate_doxygen_comments
Whether or not to include doxygen-compatible comments when generating the tag struct.
Definition: fields.h:29
Class representing an tagref plugin field.
Definition: tagref.h:20
Class representing a plugin enum field.
Definition: enum.h:41
void verify_tag_field_name_map()
Verifies that the tag field name map has the appropriate data.
Definition: fields.cpp:81
BlamMap< BlamDatarefValueHintType, std::string > dataref_value_hint_map
A map containing a collection of dataref value hint types.
Definition: fields.cpp:26
bool include_comments
Whether or not to include comment fields when generating the tag data structure.
Definition: fields.h:28
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:40
Class representing an integer plugin field.
Definition: int.h:16
Class representing a block plugin field.
Definition: block.h:113
bool define_in_global_scope
Whether or not this enum is defined in the global C++ scope.
Definition: enum.h:46
Class representing a color plugin field.
Definition: color.h:17
Class representing a plugin field.
Definition: fields.h:98
Class representing a Tag.
Definition: tags.h:319
@ NONE
No value hint, no special treatment will be given to the data.
Class representing a dataref plugin field.
Definition: dataref.h:17
bool export_comment_descriptions
Whether or not to include descriptions when exporting comment fields.
Definition: fields.h:45
Class representing a Plugin.
Definition: tags.h:93
Class representing a fieldref plugin field.
Definition: fieldref.h:21
Clas representing a bitfield plugin field.
Definition: bitfield.h:39
std::vector< BlamPluginField * > fields
The list of fields within the tag block.
Definition: block.h:117
BlamMap< std::string, BlamTagFieldType > tag_field_name_map
A map containing a collection of tag field type/name mappings.
Definition: fields.cpp:33
Class representing a real (float32) plugin field.
Definition: float32.h:16
bool export_legacy_bitfields
Whether or not to export bitfields using the legacy output method.
Definition: fields.h:43
Data structure containing plugin export options.
Definition: fields.h:26
Class representing a boolean plugin field.
Definition: boolean.h:18
bool bound_to_global_enum
Whether or not this enum is bound to an existing global enum.
Definition: enum.h:49
#define GUERILLA_LIB_API
Definition: fields.h:15
@ HSC
BlamScript/HaloScript Script.