 |
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.
9 #define BLAM_EXT_API __declspec(dllexport)
11 #define BLAM_EXT_API __declspec(dllimport)
34 BlockField(
int _entry_size, std::string _display_name, std::string _extra_info, std::vector<BlamTagClassField*> _block_template);
36 BlockField(
int _entry_size, std::string _display_name, std::string _extra_info,
int _max_entries, std::vector<BlamTagClassField*> _block_template);
int entry_size
The size of each block entry.
Definition: tags.h:179
void ShowImPropertyControl()
Definition: block.cpp:52
void * entry_data_address
The address of the blocks' entry data.
Definition: tags.h:181
BLAM void LogEvent(std::string message)
Logs a message to the log and/or console.
Definition: aliases.cpp:142
IMGUI_API void PopItemWidth()
Definition: imgui.cpp:6183
#define BLAM_EXT_API
Definition: block.h:11
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
BlockField(int _entry_size, std::string _display_name, std::string _extra_info, std::vector< BlamTagClassField * > _block_template)
Definition: block.cpp:8
int entry_size
The size of each block entry.
Definition: block.h:31
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
int max_entries
The maximum number of entries that this block can contain.
Definition: block.h:32
int active_entry
The index of the active entry.
Definition: block.h:28
IMGUI_API bool CollapsingHeader(const char *label, ImGuiTreeNodeFlags flags=0)
Definition: imgui_widgets.cpp:5422
IMGUI_API void Unindent(float indent_w=0.0f)
Definition: imgui.cpp:7178
IMGUI_API void Text(const char *fmt,...) IM_FMTARGS(1)
Definition: imgui_widgets.cpp:238
int entry_count
The number of entries within the tag block.
Definition: tags.h:182
IMGUI_API bool BeginCombo(const char *label, const char *preview_value, ImGuiComboFlags flags=0)
Definition: imgui_widgets.cpp:1416
IMGUI_API bool Selectable(const char *label, bool selected=false, ImGuiSelectableFlags flags=0, const ImVec2 &size=ImVec2(0, 0))
Definition: imgui_widgets.cpp:5469
void * read_address
The address of the data the field is currently representing.
Definition: BlamTagClassField.h:36
IMGUI_API void PopID()
Definition: imgui.cpp:7026
std::string GetFieldXMLString(int offset)
Generates a string representing an XML node associated with this tag field, used for generating plugi...
Definition: block.cpp:32
virtual void SetMemoryLocation(void *new_address)
Sets the address of the data that the plugin field should display.
Definition: BlamTagClassField.cpp:27
IMGUI_API void EndCombo()
Definition: imgui_widgets.cpp:1522
tag_block< void > * block_info
Pointer to the current block info being represented.
Definition: block.h:29
int read_length
How many bytes to read from the start of the address.
Definition: BlamTagClassField.h:37
std::vector< BlamTagClassField * > block_template
The list of block entries in this block.
Definition: block.h:27
void SetMemoryLocation(void *new_address)
Sets the address of the data that the plugin field should display.
Definition: block.cpp:27
IMGUI_API void Indent(float indent_w=0.0f)
Definition: imgui.cpp:7170
virtual void ShowImPropertyControl()
Shows a set of ImGUI controls representing the tag field.
Definition: BlamTagClassField.cpp:22
Class representing a tag block field, also sometimes referred to as a struct or reflexive in the modd...
Definition: block.h:21
std::string extra_info
Additional information to show alongside the field.
Definition: BlamTagClassField.h:32
IMGUI_API void PushItemWidth(float item_width)
Definition: imgui.cpp:6160
IMGUI_API void PushID(const char *str_id)
Definition: imgui.cpp:6995
char block_identifier[4]
The tag block identifier. Will always be tbfd.
Definition: tags.h:177
IMGUI_API bool Button(const char *label, const ImVec2 &size=ImVec2(0, 0))
Definition: imgui_widgets.cpp:644
bool visible
Whether or not this field should be marked as visible within the editor.
Definition: BlamTagClassField.h:34