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