 |
Blamite Game Engine - blam!
00398.09.22.23.2015.blamite
The core library for the Blamite Game Engine.
|
Go to the documentation of this file.
6 #define BLAM_EXT_API __declspec(dllexport)
8 #define BLAM_EXT_API __declspec(dllimport)
37 Vector2Field(std::string _display_name, std::string _extra_info);
39 Vector2Field(std::string _display_name, std::string _extra_info, std::string _input_hint);
50 Vector3Field(std::string _display_name, std::string _extra_info);
52 Vector3Field(std::string _display_name, std::string _extra_info, std::string _input_hint);
63 Vector4Field(std::string _display_name, std::string _extra_info);
65 Vector4Field(std::string _display_name, std::string _extra_info, std::string _input_hint);
std::string GetFieldXMLString(int offset)
Generates a string representing an XML node associated with this tag field, used for generating plugi...
Definition: vector.cpp:76
#define BLAM_EXT_API
Definition: vector.h:8
Class representing a vector4 tag field.
Definition: vector.h:60
Class representing a vector2 tag field.
Definition: vector.h:34
std::string display_name
The display name of the tag field.
Definition: BlamTagClassField.h:31
virtual std::string GetFieldXMLString(int offset)
Generates a string representing an XML node associated with this tag field, used for generating plugi...
Definition: BlamTagClassField.cpp:32
Class representing a vector3 tag field.
Definition: vector.h:47
IMGUI_API void SameLine(float offset_from_start_x=0.0f, float spacing=-1.0f)
Definition: imgui.cpp:7147
Base class representing a plugin field.
Definition: BlamTagClassField.h:28
Vector2Field(std::string _display_name, std::string _extra_info)
Definition: vector.cpp:101
Class representing a vector tag field.
Definition: vector.h:17
IMGUI_API bool DragFloat2(const char *label, float v[2], float v_speed=1.0f, float v_min=0.0f, float v_max=0.0f, const char *format="%.3f", float power=1.0f)
Definition: imgui_widgets.cpp:2169
std::string input_hint
A label specifying possible valid input. Not always shown.
Definition: BlamTagClassField.h:33
void ShowImPropertyControl()
Shows a set of ImGUI controls representing the tag field.
Definition: vector.cpp:42
void * read_address
The address of the data the field is currently representing.
Definition: BlamTagClassField.h:36
IMGUI_API bool DragFloat3(const char *label, float v[3], float v_speed=1.0f, float v_min=0.0f, float v_max=0.0f, const char *format="%.3f", float power=1.0f)
Definition: imgui_widgets.cpp:2174
BlamTagFieldType type
The type of the field.
Definition: BlamTagClassField.h:39
int read_length
How many bytes to read from the start of the address.
Definition: BlamTagClassField.h:37
Vector4Field(std::string _display_name, std::string _extra_info)
Definition: vector.cpp:123
IMGUI_API bool DragFloat4(const char *label, float v[4], float v_speed=1.0f, float v_min=0.0f, float v_max=0.0f, const char *format="%.3f", float power=1.0f)
Definition: imgui_widgets.cpp:2179
VectorField(BlamTagFieldType _type, std::string _display_name, std::string _extra_info)
Definition: vector.cpp:9
Vector3Field(std::string _display_name, std::string _extra_info)
Definition: vector.cpp:112
virtual void ShowImPropertyControl()
Shows a set of ImGUI controls representing the tag field.
Definition: BlamTagClassField.cpp:22
std::string extra_info
Additional information to show alongside the field.
Definition: BlamTagClassField.h:32
bool visible
Whether or not this field should be marked as visible within the editor.
Definition: BlamTagClassField.h:34