 |
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.
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: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:142
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
Definition: ui.h:321
Class used to represent a console command.
Definition: console.h:56
@ Console
Console widget.
Definition: render_stack.h:77
@ BottomLeft
The widget will be placed at the bottom-left of the screen.
void SetHidden(bool new_hidden) override
Definition: text.cpp:588
@ SDLK_UP
Definition: SdlEmulationLayer.h:485
BLAM int MaxTicksPerSecond()
Retrieves the maximum number of ticks per second.
Definition: tick.cpp:152
void ShowImGuiPropertyEditor() override
Definition: text.cpp:168
~BlamConsoleHistoryEntry()
Definition: BlamConsoleHistoryEntry.cpp:17
float vertical_angle
Definition: director.h:106
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: text.cpp:194
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
void Draw() override
Definition: text.cpp:115
@ 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:177
BlamColor color
Definition: ui.h:323
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
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:23
byte opacity
The opacity of the message text.
Definition: console.h:15
float speed
The camera's current speed.
Definition: director.h:88
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: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:327
void Deconfigure()
Deconfigures this console history entry.
Definition: BlamConsoleHistoryEntry.cpp:36
@ SDLK_TAB
Definition: SdlEmulationLayer.h:388
BlamColor shadow_color
Definition: ui.h:324
BLAM int GetRenderWidth()
Definition: ogre.cpp:370
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: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: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
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