 |
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)
21 AsciiField(std::string _display_name, std::string _extra_info);
int64_t GetInt64()
Definition: field_reference.cpp:61
BLAM void LogEvent(std::string message)
Logs a message to the log and/or console.
Definition: aliases.cpp:142
std::string GetFieldXMLString(int offset)
Generates a string representing an XML node associated with this tag field, used for generating plugi...
Definition: ascii.cpp:26
void GeneratePluginFile()
Generates a plugin file from the given tag.
Definition: BlamTagClass.cpp:34
void ShowImPropertyControl()
Shows a set of ImGUI controls representing the tag field.
Definition: ascii.cpp:15
bool GetBoolean()
Definition: field_reference.cpp:41
vector2 GetVector2()
Definition: field_reference.cpp:106
Class representing an ascii tag field.
Definition: ascii.h:18
std::string description
The description of the changes made to the tag.
Definition: tags.h:117
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
Typedef for a bitfield32 field, used in tag data definitions.
Definition: tags.h:314
BlamTagFieldType referenced_field_type
Definition: tags.h:370
Structure representing a tag class revision.
Definition: tags.h:113
bool IsValid(BlamTagFieldType expected_type)
Definition: field_reference.cpp:5
color GetColor()
Definition: field_reference.cpp:101
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
signed char int8_t
Definition: stdint.h:11
std::vector< BlamTagClassField * > fields
A series of tag fields that store the layout of the tag.
Definition: tags.h:138
Typedef for a bitfield8 field, used in tag data definitions.
Definition: tags.h:275
bitfield8 GetBitfield8()
Definition: field_reference.cpp:81
int8_t GetInt8()
Definition: field_reference.cpp:46
AsciiField(std::string _display_name, std::string _extra_info)
Definition: ascii.cpp:9
int8_t GetEnum8()
Definition: field_reference.cpp:66
std::vector< BlamTagClassRevision > revisions
List of all tag class revisions. Does not get written to tags, but is included in plugin files.
Definition: tags.h:137
int int32_t
Definition: stdint.h:13
#define BLAM_EXT_API
Definition: ascii.h:8
int16_t GetEnum16()
Definition: field_reference.cpp:71
void ShowImPropertyEditor()
Shows a series of ImGUI controls used to modify tag data with a simple UI.
Definition: BlamTagClass.cpp:12
std::string class_name_short
The short, 4-character name of the tag class.
Definition: tags.h:135
real GetReal()
Definition: field_reference.cpp:96
#define ENGINE_DATA_PATH(path)
Macro to quickly access a game engine data folder.
Definition: config.h:36
bitfield32 GetBitfield32()
Definition: field_reference.cpp:91
const BLAM char * GetVersion()
Retrieves the version of the engine in the following format:
Definition: engine_definitions.cpp:150
vector3 GetVector3()
Definition: field_reference.cpp:111
void * tag_address
The memory address of a tag. Used when a tag class is used in the context of a tag.
Definition: tags.h:140
int32_t GetInt32()
Definition: field_reference.cpp:56
std::string class_name_long
The longer class name. Typically shown alongside short name for user-friendliness.
Definition: tags.h:134
void * read_address
The address of the data the field is currently representing.
Definition: BlamTagClassField.h:36
long long int64_t
Definition: stdint.h:14
bitfield16 GetBitfield16()
Definition: field_reference.cpp:86
int16_t GetInt16()
Definition: field_reference.cpp:51
Typedef for a bitfield16 field, used in tag data definitions.
Definition: tags.h:290
int revision
The revision number.
Definition: tags.h:115
int read_length
How many bytes to read from the start of the address.
Definition: BlamTagClassField.h:37
int32_t GetEnum32()
Definition: field_reference.cpp:76
int tag_size
The size of the tag's data. Used on loading/writing tag files.
Definition: tags.h:139
@ Plugins
Directory used to store built-in plugin files for use with the Editing Kit. Defaults to ....
short int16_t
Definition: stdint.h:12
void SetMemoryLocation(void *address)
Sets the address and size of the tag that this class should be applied to.
Definition: BlamTagClass.cpp:20
void * field_address
Definition: tags.h:371
vector4 GetVector4()
Definition: field_reference.cpp:116
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
data_type get_field_ref_data(void *address, BlamTagFieldType type, BlamTagFieldType expected_type, std::string display_name)
Definition: field_reference.cpp:22
std::string author
The author of the tag revision.
Definition: tags.h:116
bool visible
Whether or not this field should be marked as visible within the editor.
Definition: BlamTagClassField.h:34