 |
Blamite Game Engine - blam!
00453.06.08.26.0624.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>
19 std::string display_format =
"[{last}] {avg}\n{thread_mode}";
20 bool needs_update =
false;
BLAM float GetCurrentFrameRate()
Definition: bgfx.cpp:443
BLAM BlamConfigurationFile * GetEngineConfiguration()
Retrieves the main engine configuration file.
Definition: config.cpp:60
BLAM bool GlobalExists(std::string id)
Determines whether or not a global exists.
Definition: globals.cpp:27
@ String
Represents a std::string.
Definition: globals.h:29
@ Boolean
Represents a boolean. Can be true or false.
Definition: globals.h:24
bool UsingBgfx()
Definition: bgfx.cpp:63
void SetHidden(bool new_hidden) override
Sets the hidden state of the widget.
Definition: text.cpp:678
@ BottomRight
The widget will be placed at the bottom-right of the screen.
bool boolean_value
The boolean value of the global.
Definition: globals.h:56
void ShowImGuiPropertyEditor() override
Displays an ImGUI-based property editor.
Definition: text.cpp:119
BLAM int GetCurrentTickRate1M()
Retrieves the average tick rate over the last minute.
Definition: tick.cpp:53
BlamGlobalType type
The type of the global.
Definition: globals.h:46
void UpdateMetrics() override
Updates metrics for the widget.
Definition: text.cpp:147
IMGUI_API bool CollapsingHeader(const char *label, ImGuiTreeNodeFlags flags=0)
Definition: imgui_widgets.cpp:5422
void Draw() override
Draws the widget on-screen.
Definition: text.cpp:67
@ TopLeft
The widget will be placed at the top-left of the screen.
BLAM int GetCurrentTickRate10S()
Retrieves the average tick rate over the last 10 seconds.
Definition: tick.cpp:85
BlamColor color
The text foreground color.
Definition: ui.h:618
Structure containing data for a game engine global.
Definition: globals.h:44
BLAM Demo::GraphicsSystem * GetGraphicsSystem()
Retrieves the graphics system used by OGRE.
Definition: ogre.cpp:645
BLAM BlamEngineGlobal * GetGlobal(std::string name)
Retrieves a global with the specified ID.
Definition: globals.cpp:189
std::string text
The text to display within this text widget.
Definition: ui.h:622
IMGUI_API void Separator()
Definition: imgui_widgets.cpp:1284
BLAM float GetAverageFrameRate()
Definition: bgfx.cpp:448
BLAM int GetCurrentTickRate5M()
Retrieves the average tick rate over the last 5 minutes.
Definition: tick.cpp:69
Ogre::Root * getRoot(void) const
Definition: GraphicsSystem.h:147
std::string value_raw
The raw value of the global as a string.
Definition: globals.h:49
BLAM bool * GetGlobalAsBoolean(std::string name)
Retrieves a global's value as a boolean.
Definition: globals.cpp:343
Class representing a Text widget.
Definition: ui.h:550