 |
Blamite Game Engine - blam!
00388.06.24.23.2301.blamite
The core library for the Blamite Game Engine.
|
Go to the documentation of this file.
5 #include <Strings/components/classes/events/game_engine_events/Tick/TickEvent.h>
6 #include <Strings/components/classes/events/events.h>
14 std::string display_format =
"{x} {y} {z} / {yaw} {pitch} / {speed} [{mode}]";
15 std::string label_pan_cam =
"pan-cam";
16 std::string label_normal_cam =
"normal";
17 std::string label_uninitialized_cam =
"uninitialized";
BLAM BlamDirector * GetCamera()
Retrieves the director instance.
Definition: director.cpp:28
@ SDLK_BACKSPACE
Definition: SdlEmulationLayer.h:387
BlamUIWidget_Text * text_element
The UI widget used for displaying the message.
Definition: console.h:14
int visible_ticks
The amount of ticks that the message has been visible.
Definition: console.h:18
BlamConsoleHistoryEntry()
Definition: BlamConsoleHistoryEntry.cpp:5
BLAM void LogEvent(std::string message)
Logs a message to the log and/or console.
Definition: aliases.cpp:142
BLAM BlamColor GetLogLevelColor(BlamLogLevel log_level)
Retrieves the BlamColor that a specific log level should display with.
Definition: aliases.cpp:12
void ShowImGuiPropertyEditor()
Definition: BlamUIWidget_Text.cpp:91
uint64_t creation_tick
The tick when this entry was created.
Definition: console.h:13
int character_height
Definition: ui.h:164
Class used to represent a console command.
Definition: console.h:56
@ Console
Console widget.
Definition: render_stack.h:77
@ SDLK_UP
Definition: SdlEmulationLayer.h:485
BLAM int MaxTicksPerSecond()
Retrieves the maximum number of ticks per second.
Definition: tick.cpp:152
~BlamConsoleHistoryEntry()
Definition: BlamConsoleHistoryEntry.cpp:16
std::map< std::string, EngineGlobal > globals
The list of loaded globals.
Definition: globals.cpp:20
float vertical_angle
Definition: director.h:106
void Draw()
Definition: BlamUIWidget_Text.cpp:59
BLAM BlamColor * GetGlobalAsColor(std::string name)
Retrieves a global's value as a BlamColor.
Definition: globals.cpp:419
@ SDLK_RETURN
Definition: SdlEmulationLayer.h:385
void UpdateMetrics() override
Definition: BlamUIWidget_Text.cpp:117
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
float horizontal_angle
Definition: director.h:105
BLAM uint64_t GetTotalRuntimeTicks()
Gets the total amount of ticks that have elapsed during program runtime.
Definition: tick.cpp:177
BlamColor color
Definition: ui.h:166
@ SDLK_RIGHT
Definition: SdlEmulationLayer.h:482
@ TopLeft
The widget will be placed at the top-left of the screen.
BLAM HRESULT RunCommandLine(std::string command_line)
Executed the provided string as a console command.
Definition: console.cpp:271
void Reconfigure(BlamLogMessage _message)
Reconfigures this console history entry.
Definition: BlamConsoleHistoryEntry.cpp:22
byte opacity
The opacity of the message text.
Definition: console.h:15
bool auto_update
Definition: ui.h:162
float speed
The camera's current speed.
Definition: director.h:88
@ BottomLeft
The widget will be placed at the bottom-left of the screen.
BLAM std::map< std::string, BlamConsoleCommand * > GetCommandList()
Retrieves the list of all loaded console commands.
Definition: console.cpp:237
Class representing the Director.
Definition: director.h:27
@ SDLK_LEFT
Definition: SdlEmulationLayer.h:483
@ SDLK_DOWN
Definition: SdlEmulationLayer.h:484
BLAM std::map< std::string, EngineGlobal > * GetGlobalsList()
Retrieves the list of loaded globals.
Definition: globals.cpp:22
@ CoordinatesDisplay
Special widget. Used for the coordinates display.
std::string text
Definition: ui.h:170
void Deconfigure()
Deconfigures this console history entry.
Definition: BlamConsoleHistoryEntry.cpp:35
@ SDLK_TAB
Definition: SdlEmulationLayer.h:388
BlamColor shadow_color
Definition: ui.h:167
BLAM int GetRenderWidth()
Definition: ogre.cpp:307
BLAM void LogEventForce(std::string message)
Forcibly logs a message to the log and/or console.
Definition: aliases.cpp:274
Class representing a console history entry.
Definition: console.h:10
BlamWidgetType
Enumerator listing possible UI widget types.
Definition: ui.h:53
config GlyphExtraSpacing x
Definition: README.txt:30
bool pancam
Whether or not the camera is currently in pan-cam mode. Pan-cam locks Z movement of the camera when n...
Definition: director.h:92
BlamVector3 camera_pos
The current position of the camera.
Definition: director.h:77
BLAM bool * GetGlobalAsBoolean(std::string name)
Retrieves a global's value as a boolean.
Definition: globals.cpp:347
BlamLogMessage message
The message that this entry is displaying.
Definition: console.h:16