 |
Blamite Game Engine - Guerilla (Library)
00386.06.16.23.0646.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)
70 std::string display_name =
"";
71 std::string description =
"";
72 std::string field_id =
"";
73 std::string input_hint =
"";
74 bool require_unused_visible =
false;
145 virtual std::string GenerateXMLString();
156 virtual void UpdateOffsetData(
int new_offset);
168 virtual std::string GenerateCppStructString(std::string line_prefix =
"");
181 virtual std::string GenerateCppClassString(std::string line_prefix =
"");
193 virtual bool ParseXMLData(rapidxml::xml_node<>* field_node);
209 int c_entry_index = 0;
210 int c_entry_size = 0;
213 std::string field_id =
"";
228 virtual std::string GenerateXMLString();
235 virtual std::vector<char> GetValueAsBytes();
263 bool HasPluginField();
Class representing a tag field.
Definition: fields.h:202
@ Int16
Indicates that the field is a 16-bit integer.
@ Real
Indicates that the field is a Float32.
@ Int32
Indicates that the field is a 32-bit integer.
@ Enum8
Indicates that the field is an Enum8.
@ Vector4
Indicates that the field is a vector4.
@ Block
Indicates that the field is a tag block.
@ Ascii
Indicates that the field is a string of text.
@ Dataref
Indicates that the field is a data reference.
@ Enum16
Indicates that the field is an Enum16.
@ Bitfield16
Indicates that the field is a Bitfield16.
BlamTagFieldType
Enumerator containing all possible tag field types.
Definition: fields.h:24
@ Int8
Indicates that the field is an 8-bit integer.
@ 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 plugin field.
Definition: fields.h:60
Class representing a Tag.
Definition: tags.h:232
@ Int64
Indicates that the field is a 32-bit integer.
@ Tagref
Indicates that the field is a tag reference.
@ Vector3
Indicates that the field is a vector3.
Class representing a Plugin.
Definition: tags.h:79
@ Bitfield8
Indicates that the field is a Bitfield8.
@ 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.