![]() |
Blamite Game Engine - Blam (Core)
|
Structure containing data for a game engine global. More...
#include <haloscript.h>
Public Attributes | |
GvarType | type |
The type of the global. More... | |
std::string | name = "" |
The name of the global. More... | |
std::string | info = "" |
An optional description of the global. More... | |
std::string | value_raw = "" |
The raw value of the global as a string. More... | |
bool | read_only = false |
Whether or not the global is protected from modification. More... | |
bool | boolean_value = false |
The boolean value of the global. More... | |
short | short_value = 0 |
The short value of the global. More... | |
long | long_value = 0 |
The long value of the global. More... | |
int | int_value = 0 |
The int value of the global. More... | |
float | float_value = 0.0f |
The float value of the global. More... | |
BlamColor | color_value = BlamColor(0, 0, 0) |
The color value of the global. More... | |
Structure containing data for a game engine global.
value_raw
is ALWAYS updated, as it is used in several places for displaying the value as text. The UpdateGlobal() functions handle this all on their own. bool BlamScript::Globals::ScriptGlobal::boolean_value = false |
The boolean value of the global.
The color value of the global.
float BlamScript::Globals::ScriptGlobal::float_value = 0.0f |
The float value of the global.
std::string BlamScript::Globals::ScriptGlobal::info = "" |
An optional description of the global.
int BlamScript::Globals::ScriptGlobal::int_value = 0 |
The int value of the global.
long BlamScript::Globals::ScriptGlobal::long_value = 0 |
The long value of the global.
std::string BlamScript::Globals::ScriptGlobal::name = "" |
The name of the global.
bool BlamScript::Globals::ScriptGlobal::read_only = false |
Whether or not the global is protected from modification.
short BlamScript::Globals::ScriptGlobal::short_value = 0 |
The short value of the global.
GvarType BlamScript::Globals::ScriptGlobal::type |
The type of the global.
std::string BlamScript::Globals::ScriptGlobal::value_raw = "" |
The raw value of the global as a string.