 |
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.
4 #include <Strings/components/classes/vector/vector.h>
6 #ifdef GUERILLA_LIB_EXPORTS
7 #define GUERILLA_LIB_API __declspec(dllexport)
9 #define GUERILLA_LIB_API __declspec(dllimport)
40 BlamVector4 value = { 0.0f, 0.0f, 0.0f, 0.0f };
53 BlamVector2 GetVector2();
54 BlamVector3 GetVector3();
Class representing a tag field.
Definition: fields.h:202
BlamTagField_Vector(BlamTag *_tag, BlamTagFieldType _type)
Constructs a new integer tag field.
Definition: BlamTagField_Vector.cpp:8
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:40
BlamVector2 GetVector2()
Definition: BlamTagField_Vector.cpp:77
@ Vector4
Indicates that the field is a vector4.
BlamTag * GetTag()
Retrieves the tag associated with this field.
Definition: BlamTagField.cpp:24
Class representing a vector plugin field.
Definition: vector.h:18
std::string field_id
The ID of this field.
Definition: fields.h:213
BlamVector4 value
The value of the field, represented as a 4D vector.
Definition: vector.h:40
BlamTagFieldType GetType()
Retrieves the type of this field.
Definition: BlamPluginField.cpp:30
BlamTagFieldType
Enumerator containing all possible tag field types.
Definition: fields.h:24
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 display_name
The display name of the field.
Definition: fields.h:70
Class representing a plugin field.
Definition: fields.h:60
Class representing a Tag.
Definition: tags.h:232
BlamTagField * GenerateTagField(BlamTag *tag, void *address) override
Generates a new tag field from this plugin field.
Definition: BlamPluginField_Vector.cpp:44
std::string GenerateXMLString()
Generates a string with the field ID and value, ready to be written to an XML file.
Definition: BlamTagField_Vector.cpp:13
virtual std::string GenerateCppStructString(std::string line_prefix="")
Generates a string containing C++ code representing this plugin field.
Definition: BlamPluginField.cpp:74
@ Vector3
Indicates that the field is a vector3.
std::string field_id
The ID of the field.
Definition: fields.h:72
Class representing a vector tag field.
Definition: vector.h:35
BlamPluginField_Vector(BlamPluginField *base_field)
Definition: BlamPluginField_Vector.cpp:3
std::string GenerateCppStructString(std::string line_prefix="") override
Generates a string containing C++ code representing this plugin field.
Definition: BlamPluginField_Vector.cpp:8
BlamVector3 GetVector3()
Definition: BlamTagField_Vector.cpp:82
BlamPluginField * plugin_field
The plugin data associated with this field, if any.
Definition: fields.h:212
std::string GenerateCppClassString(std::string line_prefix="") override
Generates a string containing C++ code representing this plugin field.
Definition: BlamPluginField_Vector.cpp:26
#define GUERILLA_LIB_API
Definition: vector.h:9
std::string description
An optional description of the field.
Definition: fields.h:71
@ Vector2
Indicates that the field is a vector2.
std::vector< char > GetValueAsBytes()
Retrieves the field value as a list of bytes.
Definition: BlamTagField_Vector.cpp:43
virtual std::string GenerateCppClassString(std::string line_prefix="")
Generates a string containing C++ code representing this plugin field.
Definition: BlamPluginField.cpp:79
int length
The length of the field data.
Definition: fields.h:68
virtual std::vector< char > GetValueAsBytes()
Retrieves the field value as a list of bytes.
Definition: BlamTagField.cpp:14