 |
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 MENU_ITEM_TYPE_UNKNOWN BlamDebugMenuItemType::Unknown
7 #define MENU_ITEM_TYPE_EXEC BlamDebugMenuItemType::Command
8 #define MENU_ITEM_TYPE_CATEGORY BlamDebugMenuItemType::Submenu
9 #define MENU_ITEM_TYPE_GLOBAL BlamDebugMenuItemType::Global
10 #define MENU_ITEM_TYPE_MULTIEXEC BlamDebugMenuItemType::CommandSequence
12 #define DEBUG_MENU_FILE "debug_menu_init"
73 std::vector<BlamDebugMenuItem>
items;
102 std::vector<BlamDebugMenuItem>
items;
@ SDLK_BACKSPACE
Definition: SdlEmulationLayer.h:387
BLAM void LogEvent(std::string message)
Logs a message to the log and/or console.
Definition: aliases.cpp:142
@ DataRoot
The root of all game engine data. Defaults to ./
BLAM EngineGlobal * GetGlobal(std::string name)
Retrieves a global with the specified ID.
Definition: globals.cpp:193
float float_value
The float value of the global.
Definition: globals.h:80
@ Int
Represents an int.
Definition: globals.h:49
@ SDLK_HOME
Definition: SdlEmulationLayer.h:477
@ Long
Represents a long.
Definition: globals.h:46
Namespace containing things relating to game engine globals.
Definition: globals.h:23
BLAM float * GetGlobalAsFloat(std::string name)
Retrieves a global's value as a float.
Definition: globals.cpp:407
void SetHidden(bool new_hidden) override
Definition: text.cpp:588
@ SDLK_UP
Definition: SdlEmulationLayer.h:485
#define USER_DATA_PATH(path)
Macro to quickly access a user data folder.
Definition: config.h:43
bool read_only
Whether or not the global is protected from modification.
Definition: globals.h:70
short short_value
The short value of the global.
Definition: globals.h:77
@ Global
A command that is used to modify a global.
D2D1_COLOR_F GetColor()
Returns the evaluated color data.
Definition: ColorTransition.h:173
@ SDLK_RETURN
Definition: SdlEmulationLayer.h:385
void Initialize(D2D1_COLOR_F _c1, D2D1_COLOR_F _c2, float fade_duration, bool _loop)
Prepares data needed for the animation.
Definition: ColorTransition.h:135
IMGUI_API bool CollapsingHeader(const char *label, ImGuiTreeNodeFlags flags=0)
Definition: imgui_widgets.cpp:5422
Structure containing data for a game engine global.
Definition: globals.h:64
void Draw() override
Definition: text.cpp:115
@ TopLeft
The widget will be placed at the top-left of the screen.
@ Float
Represents a float.
Definition: globals.h:50
BLAM void CreateFPSCounter()
BlamColor color
Definition: ui.h:323
@ SDLK_PAGEUP
Definition: SdlEmulationLayer.h:478
@ DebugMenuItem
Special widget. Represents an item within the debug menu.
@ SDLK_RIGHT
Definition: SdlEmulationLayer.h:482
#define ENGINE_DATA_PATH(path)
Macro to quickly access a game engine data folder.
Definition: config.h:36
BLAM HRESULT RunCommandLine(std::string command_line)
Executed the provided string as a console command.
Definition: console.cpp:271
long long_value
The long value of the global.
Definition: globals.h:78
@ Short
Represents a short.
Definition: globals.h:45
int int_value
The int value of the global.
Definition: globals.h:79
@ DefaultConfigs
Directory containing default configuration files. Defaults to ./content/blam/default_configs/
@ SDLK_LEFT
Definition: SdlEmulationLayer.h:483
@ SDLK_DOWN
Definition: SdlEmulationLayer.h:484
std::string text
Definition: ui.h:327
@ SDLK_TAB
Definition: SdlEmulationLayer.h:388
void Start()
Instructs the listener to start animating.
Definition: ColorTransition.h:159
Namespace containing things for the engine's "internal UI", which is powered through ImGUI.
Definition: debug_menu.h:18
BLAM void LogEventForce(std::string message)
Forcibly logs a message to the log and/or console.
Definition: aliases.cpp:274
BlamWidgetType
Enumerator listing possible UI widget types.
Definition: ui.h:60
std::string value_raw
The raw value of the global as a string.
Definition: globals.h:69
@ DataRoot
The root of all user data. Defaults to BlamStrings::Utils::IO::GetEngineDataRoot().
@ DebugMenu
Debug menu.
Definition: render_stack.h:79
BLAM void UpdateFPSCounter()
GvarType type
The type of the global.
Definition: globals.h:66
bool boolean_value
The boolean value of the global.
Definition: globals.h:76
BLAM std::string GetGvarTypeLabel(GvarType type)
Retrieves a string representation of a global's type, for use in UI.
Definition: globals.cpp:40