 |
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.
8 #define BLAM_EXT_API __declspec(dllexport)
10 #define BLAM_EXT_API __declspec(dllimport)
IMGUI_API bool Checkbox(const char *label, bool *v)
Definition: imgui_widgets.cpp:974
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
IMGUI_API bool InputText(const char *label, char *buf, size_t buf_size, ImGuiInputTextFlags flags=0, ImGuiInputTextCallback callback=NULL, void *user_data=NULL)
Definition: imgui_widgets.cpp:3068
Class representing a data reference, or dataref for short.
Definition: dataref.h:19
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
void ShowImPropertyControl()
Shows a set of ImGUI controls representing the tag field.
Definition: dataref.cpp:31
#define BLAM_EXT_API
Definition: dataref.h:10
DataReferenceField(std::string _display_name, std::string _extra_info)
Definition: dataref.cpp:9
void * read_address
The address of the data the field is currently representing.
Definition: BlamTagClassField.h:36
char value_hint[4]
The value hint providing context on what type of data is stored. Used in Editing Kit.
Definition: tags.h:267
IMGUI_API bool InputTextMultiline(const char *label, char *buf, size_t buf_size, const ImVec2 &size=ImVec2(0, 0), ImGuiInputTextFlags flags=0, ImGuiInputTextCallback callback=NULL, void *user_data=NULL)
Definition: imgui_widgets.cpp:3074
void * data_address
The address of the referenced data.
Definition: tags.h:265
Structure representing a data reference.
Definition: tags.h:261
int read_length
How many bytes to read from the start of the address.
Definition: BlamTagClassField.h:37
char identifier[4]
Dataref identifier. Will always be drfd.
Definition: tags.h:263
int data_size
The size of the referenced data.
Definition: tags.h:266
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
std::string GetFieldXMLString(int offset)
Generates a string representing an XML node associated with this tag field, used for generating plugi...
Definition: dataref.cpp:15
IMGUI_API bool InputInt(const char *label, int *v, int step=1, int step_fast=100, ImGuiInputTextFlags flags=0)
Definition: imgui_widgets.cpp:3031
bool visible
Whether or not this field should be marked as visible within the editor.
Definition: BlamTagClassField.h:34