 |
Blamite Game Engine - blam!
00406.12.10.23.1457.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>
20 std::string display_format =
"{x} {y} {z} / {yaw} {pitch} / {speed} [{mode}]";
21 std::string label_pan_cam =
"pan-cam";
22 std::string label_normal_cam =
"normal";
23 std::string label_uninitialized_cam =
"uninitialized";
BLAM BlamDirector * GetCamera()
Retrieves the director instance.
Definition: director.cpp:31
@ 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:130
BLAM BlamColor GetLogLevelColor(BlamLogLevel log_level)
Retrieves the BlamColor that a specific log level should display with.
Definition: aliases.cpp:12
uint64_t creation_tick
The tick when this entry was created.
Definition: console.h:13
int character_height
The line height of this text widget, in pixels.
Definition: ui.h:520
Class used to represent a console command.
Definition: console.h:31
@ Console
Indicates the build string should be formatted for the in-game console.
@ BottomLeft
The widget will be placed at the bottom-left of the screen.
void SetHidden(bool new_hidden) override
Sets the hidden state of the widget.
Definition: text.cpp:451
@ SDLK_UP
Definition: SdlEmulationLayer.h:485
BLAM int MaxTicksPerSecond()
Retrieves the maximum number of ticks per second.
Definition: tick.cpp:208
void ShowImGuiPropertyEditor() override
Displays an ImGUI-based property editor.
Definition: text.cpp:72
~BlamConsoleHistoryEntry()
Definition: BlamConsoleHistoryEntry.cpp:17
float vertical_angle
Definition: director.h:111
BLAM BlamColor * GetGlobalAsColor(std::string name)
Retrieves a global's value as a BlamColor.
Definition: globals.cpp:415
@ SDLK_RETURN
Definition: SdlEmulationLayer.h:385
void UpdateMetrics() override
Updates metrics for the widget.
Definition: text.cpp:98
IMGUI_API bool CollapsingHeader(const char *label, ImGuiTreeNodeFlags flags=0)
Definition: imgui_widgets.cpp:5422
float horizontal_angle
Definition: director.h:110
void Draw() override
Draws the widget on-screen.
Definition: text.cpp:53
@ TopLeft
The widget will be placed at the top-left of the screen.
BLAM uint64_t GetTotalRuntimeTicks()
Gets the total amount of ticks that have elapsed during program runtime.
Definition: tick.cpp:233
BlamColor color
The text foreground color.
Definition: ui.h:522
ARPHIC PUBLIC LICENSE Ltd Yung Chi Taiwan All rights reserved except as specified below Everyone is permitted to copy and distribute verbatim copies of this license but changing it is forbidden Preamble The licenses for most software are designed to take away your freedom to share and change it By the ARPHIC PUBLIC LICENSE specifically permits and encourages you to use this provided that you give the recipients all the rights that we gave you and make sure they can get the modifications of this software Legal Terms Font means the TrueType fonts AR PL Mingti2L AR PL KaitiM AR PL KaitiM and the derivatives of those fonts created through any modification including modifying reordering converting format
Definition: ARPHICPL.TXT:16
@ SDLK_RIGHT
Definition: SdlEmulationLayer.h:482
void Reconfigure(BlamLogMessage _message)
Reconfigures this console history entry.
Definition: BlamConsoleHistoryEntry.cpp:23
byte opacity
The opacity of the message text.
Definition: console.h:15
Structure containing data for a game engine global.
Definition: globals.h:54
float speed
The camera's current speed.
Definition: director.h:94
ARPHIC PUBLIC LICENSE Ltd Yung Chi Taiwan All rights reserved except as specified below Everyone is permitted to copy and distribute verbatim copies of this license but changing it is forbidden Preamble The licenses for most software are designed to take away your freedom to share and change it By the ARPHIC PUBLIC LICENSE specifically permits and encourages you to use this provided that you give the recipients all the rights that we gave you and make sure they can get the modifications of this software Legal Terms Font means the TrueType fonts AR PL Mingti2L AR PL KaitiM AR PL KaitiM and the derivatives of those fonts created through any modification including modifying reordering converting changing font or adding deleting some characters in from glyph table PL means Public License Copyright Holder means whoever is named in the copyright or copyrights for the Font You means the or person redistributing or modifying the Font Freely Available means that you have the freedom to copy or modify the Font as well as redistribute copies of the Font under the same conditions you not price If you you can charge for this service Copying &Distribution You may copy and distribute verbatim copies of this Font in any without provided that you retain this license including modifying reordering converting changing font or adding deleting some characters in from glyph and copy and distribute such modifications under the terms of Section provided that the following conditions are such as by offering access to copy the modifications from a designated or distributing the modifications on a medium customarily used for software interchange c If the modified fonts normally reads commands interactively when you must cause it
Definition: ARPHICPL.TXT:36
BLAM std::map< std::string, BlamConsoleCommand * > GetCommandList()
Retrieves the list of all loaded console commands.
Definition: console.cpp:228
Class representing the Director.
Definition: director.h:27
@ SDLK_LEFT
Definition: SdlEmulationLayer.h:483
BLAM BlamResult RunCommandLine(std::string command_line)
Executed the provided string as a console command.
Definition: console.cpp:260
@ SDLK_DOWN
Definition: SdlEmulationLayer.h:484
@ CoordinatesDisplay
Special widget. Used for the coordinates display.
std::string text
The text to display within this text widget.
Definition: ui.h:526
void Deconfigure()
Deconfigures this console history entry.
Definition: BlamConsoleHistoryEntry.cpp:36
@ SDLK_TAB
Definition: SdlEmulationLayer.h:388
BlamColor shadow_color
The text shadow color.
Definition: ui.h:523
BLAM void LogEventForce(std::string message)
Forcibly logs a message to the log and/or console.
Definition: aliases.cpp:262
Class representing a console history entry.
Definition: console.h:10
BlamWidgetType
Enumerator listing possible UI widget types.
Definition: ui.h:60
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:97
BlamVector3 camera_pos
The current position of the camera.
Definition: director.h:80
BLAM bool * GetGlobalAsBoolean(std::string name)
Retrieves a global's value as a boolean.
Definition: globals.cpp:343
BlamLogMessage message
The message that this entry is displaying.
Definition: console.h:16
Class representing a Text widget.
Definition: ui.h:483
ARPHIC PUBLIC LICENSE Ltd Yung Chi Taiwan All rights reserved except as specified below Everyone is permitted to copy and distribute verbatim copies of this license but changing it is forbidden Preamble The licenses for most software are designed to take away your freedom to share and change it By the ARPHIC PUBLIC LICENSE specifically permits and encourages you to use this provided that you give the recipients all the rights that we gave you and make sure they can get the modifications of this software Legal Terms Font means the TrueType fonts AR PL Mingti2L AR PL KaitiM AR PL KaitiM and the derivatives of those fonts created through any modification including modifying reordering converting changing font name
Definition: ARPHICPL.TXT:16
BLAM std::map< std::string, BlamEngineGlobal > * GetGlobalsList()
Retrieves the list of loaded globals.
Definition: globals.cpp:22
BLAM int GetRenderWidth()
Retrieves the current width of the OGRE viewport.
Definition: ogre.cpp:363