 |
Blamite Game Engine - Guerilla (Library)
00389.06.29.23.2106.blamite
The tag editor for the Blamite Game Engine.
|
Go to the documentation of this file.
8 #ifdef GUERILLA_LIB_EXPORTS
9 #define GUERILLA_LIB_API __declspec(dllexport)
11 #define GUERILLA_LIB_API __declspec(dllimport)
46 bool ParseXMLData(rapidxml::xml_node<>* field_node)
override;
61 std::string current_option =
"";
Class representing a tag field.
Definition: fields.h:243
BlamTagFieldType GetType()
Retrieves the type of this field.
Definition: BlamTagField.cpp:19
virtual BlamTagField * GenerateTagField(BlamTag *tag)
Generates a new tag field from this plugin field.
Definition: BlamPluginField.cpp:41
int value
The raw value of the option. This is what is stored within a compiled tag.
Definition: enum.h:21
std::vector< BlamEnumFieldOption > options
The list of options within the enum.
Definition: enum.h:34
@ Enum8
Indicates that the field is an Enum8.
Class representing a plugin enum field.
Definition: enum.h:31
std::vector< char > GetValueAsBytes()
Retrieves the field value as a list of bytes.
Definition: BlamTagField_Enum.cpp:42
std::string GenerateXMLString()
Generates a string with the field ID and value, ready to be written to an XML file.
Definition: BlamTagField_Enum.cpp:11
virtual std::string GenerateXMLString()
Generates a string representing this plugin field.
Definition: BlamPluginField.cpp:61
BlamTag * GetTag()
Retrieves the tag associated with this field.
Definition: BlamTagField.cpp:24
std::string field_id
The ID of this field.
Definition: fields.h:254
std::string GenerateCppClassString(std::string line_prefix="") override
Generates a string containing C++ code representing this plugin field.
Definition: BlamPluginField_Enum.cpp:49
BlamTagFieldType GetType()
Retrieves the type of this field.
Definition: BlamPluginField.cpp:31
@ Enum16
Indicates that the field is an Enum16.
std::string GenerateXMLString() override
Generates a string representing this plugin field.
Definition: BlamPluginField_Enum.cpp:13
BlamTagField * GenerateTagField(BlamTag *tag, void *address) override
Generates a new tag field from this plugin field.
Definition: BlamPluginField_Enum.cpp:154
BlamTagFieldType
Enumerator containing all possible tag field types.
Definition: fields.h:65
#define GUERILLA_LIB_API
Definition: enum.h:11
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 file_path
The path to the plugin file.
Definition: tags.h:112
std::string display_name
The display name of the field.
Definition: fields.h:111
Class representing a plugin field.
Definition: fields.h:101
Class representing a Tag.
Definition: tags.h:240
std::string id
The ID of the option.
Definition: enum.h:19
std::string current_option
The ID of the currently selected option.
Definition: enum.h:61
bool ParseXMLData(rapidxml::xml_node<> *field_node) override
Populates data within the plugin field from an XML node.
Definition: BlamPluginField_Enum.cpp:83
bool visible
Whether or not the field is visible.
Definition: fields.h:110
virtual std::string GenerateCppStructString(std::string line_prefix="")
Generates a string containing C++ code representing this plugin field.
Definition: BlamPluginField.cpp:75
bool HasPluginField()
Checks whether the field has plugin data available.
Definition: BlamTagField.cpp:34
virtual bool ParseXMLData(rapidxml::xml_node<> *field_node)
Populates data within the plugin field from an XML node.
Definition: BlamPluginField.cpp:85
Class representing a tag enum field.
Definition: enum.h:58
std::string field_id
The ID of the field.
Definition: fields.h:113
std::string name
The display name of the option.
Definition: enum.h:20
BlamPluginField * plugin_field
The plugin data associated with this field, if any.
Definition: fields.h:253
std::string description
An optional description of the field.
Definition: fields.h:112
Data structure representing an enum option.
Definition: enum.h:17
BlamPluginField_Enum(BlamPluginField *base_field)
Constructs a new block plugin field from an existing generic plugin field.
Definition: BlamPluginField_Enum.cpp:8
std::string GenerateCppStructString(std::string line_prefix="") override
Generates a string containing C++ code representing this plugin field.
Definition: BlamPluginField_Enum.cpp:32
BlamPlugin * GetPlugin()
Retrieves the plugin this field is associated with.
Definition: BlamPluginField.cpp:36
int offset
The offset of the field data.
Definition: fields.h:108
BlamTagField_Enum(BlamTag *_tag, BlamTagFieldType _type)
Creates a new enum tag field.
Definition: BlamTagField_Enum.cpp:6
virtual std::string GenerateCppClassString(std::string line_prefix="")
Generates a string containing C++ code representing this plugin field.
Definition: BlamPluginField.cpp:80
int length
The length of the field data.
Definition: fields.h:109
virtual std::vector< char > GetValueAsBytes()
Retrieves the field value as a list of bytes.
Definition: BlamTagField.cpp:14
@ Enum32
Indicates that the field is an Enum32.