 |
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.
7 #ifdef GUERILLA_LIB_EXPORTS
8 #define GUERILLA_LIB_API __declspec(dllexport)
10 #define GUERILLA_LIB_API __declspec(dllimport)
42 std::vector<BlamBitfieldBitInfo>
bits;
52 std::string
GenerateCppStructString(std::string line_prefix =
"",
bool generate_doxygen_comments =
true)
override;
54 bool ParseXMLData(rapidxml::xml_node<>* field_node)
override;
67 std::vector<BlamBitfieldBitData>
bits;
Class representing a tag field.
Definition: fields.h:261
virtual BlamTagField * GenerateTagField(BlamTag *tag)
Generates a new tag field from this plugin field.
Definition: BlamPluginField.cpp:41
#define GUERILLA_LIB_API
Definition: bitfield.h:10
std::vector< BlamBitfieldBitData > bits
The list of bits within this bitfield.
Definition: bitfield.h:67
virtual std::string GenerateXMLString()
Generates a string representing this plugin field.
Definition: BlamPluginField.cpp:61
std::string default_value
The default text value for the field.
Definition: fields.h:116
@ Ascii
Indicates that the field is a string of text.
std::string field_id
The ID of this field.
Definition: fields.h:272
BlamTagField_Ascii(BlamTag *_tag)
Constructs a new ascii field.
Definition: BlamTagField_Ascii.cpp:3
BlamTagFieldType
Enumerator containing all possible tag field types.
Definition: fields.h:65
std::string id
The ID of the bit.
Definition: bitfield.h:30
int index
The bit's index.
Definition: bitfield.h:22
BlamTagField * GenerateTagField(BlamTag *tag, void *address) override
Generates a new tag field from this plugin field.
Definition: BlamPluginField_Ascii.cpp:27
virtual std::string GenerateXMLString()
Generates a string with the field ID and value, ready to be written to an XML file.
Definition: BlamTagField.cpp:9
std::string id
The ID of the bit.
Definition: bitfield.h:20
std::string display_name
The display name of the field.
Definition: fields.h:111
Clas representing a bitfield tag field.
Definition: bitfield.h:64
Class representing a plugin field.
Definition: fields.h:101
Class representing a Tag.
Definition: tags.h:277
bool value
The bit's value.
Definition: bitfield.h:31
virtual bool ParseXMLData(rapidxml::xml_node<> *field_node)
Populates data within the plugin field from an XML node.
Definition: BlamPluginField.cpp:106
std::string GenerateXMLString()
Generates a string with the field ID and value, ready to be written to an XML file.
Definition: BlamTagField_Ascii.cpp:8
std::vector< char > GetValueAsBytes()
Retrieves the field value as a list of bytes.
Definition: BlamTagField_Ascii.cpp:13
std::string name
The display name of the bit.
Definition: bitfield.h:21
std::string field_id
The ID of the field.
Definition: fields.h:113
std::string GenerateCppClassString(std::string line_prefix="") override
Generates a string containing C++ code representing this plugin field.
Definition: BlamPluginField_Ascii.cpp:22
std::string GenerateCppStructString(std::string line_prefix="", bool generate_doxygen_comments=true) override
Generates a string containing C++ code representing this plugin field.
Definition: BlamPluginField_Ascii.cpp:10
Clas representing a bitfield plugin field.
Definition: bitfield.h:39
BlamPluginField * plugin_field
The plugin data associated with this field, if any.
Definition: fields.h:271
std::string description
An optional description of the field.
Definition: fields.h:112
std::vector< BlamBitfieldBitInfo > bits
The list of bits within this bitfield.
Definition: bitfield.h:42
Data structure containing data for a bitfield bit.
Definition: bitfield.h:28
BlamPluginField_Ascii(BlamPluginField *base_field)
Definition: BlamPluginField_Ascii.cpp:5
virtual std::string GenerateCppClassString(std::string line_prefix="")
Generates a string containing C++ code representing this plugin field.
Definition: BlamPluginField.cpp:101
int length
The length of the field data.
Definition: fields.h:109
virtual std::string GenerateCppStructString(std::string line_prefix="", bool generate_doxygen_comments=true)
Generates a string containing C++ code representing this plugin field.
Definition: BlamPluginField.cpp:96
virtual std::vector< char > GetValueAsBytes()
Retrieves the field value as a list of bytes.
Definition: BlamTagField.cpp:14
std::string value
The value of the field.
Definition: ascii.h:39
Data structure containing extra data for a bitfield bit.
Definition: bitfield.h:18
Class representing an ascii tag field.
Definition: ascii.h:34