![]() |
Blamite Game Engine - blam!
00296.01.12.21.0102.blamite
The core library for the Blamite Game Engine.
|
Structure containing data for a game engine global. More...
#include <globals.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 Blam::Globals::EngineGlobal::boolean_value = false |
The boolean value of the global.
BlamColor Blam::Globals::EngineGlobal::color_value = BlamColor(0, 0, 0) |
The color value of the global.
float Blam::Globals::EngineGlobal::float_value = 0.0f |
The float value of the global.
std::string Blam::Globals::EngineGlobal::info = "" |
An optional description of the global.
int Blam::Globals::EngineGlobal::int_value = 0 |
The int value of the global.
long Blam::Globals::EngineGlobal::long_value = 0 |
The long value of the global.
std::string Blam::Globals::EngineGlobal::name = "" |
The name of the global.
bool Blam::Globals::EngineGlobal::read_only = false |
Whether or not the global is protected from modification.
short Blam::Globals::EngineGlobal::short_value = 0 |
The short value of the global.
GvarType Blam::Globals::EngineGlobal::type |
The type of the global.
std::string Blam::Globals::EngineGlobal::value_raw = "" |
The raw value of the global as a string.