 |
Blamite Game Engine - blam!
00423.10.27.24.0533.blamite
The core library for the Blamite Game Engine.
|
Go to the documentation of this file.
4 #include <Strings/components/classes/events/events.h>
13 bool needs_reconfigure =
false;
14 bool needs_deconfigure =
false;
60 std::vector<BlamConsoleHistoryEntry*> history = std::vector<BlamConsoleHistoryEntry*>();
62 std::vector<std::vector<BlamConsoleHistoryEntry*>> help_columns = std::vector<std::vector<BlamConsoleHistoryEntry*>>();
64 std::vector<std::string> input_history = std::vector<std::string>();
65 int selected_history_index = -1;
67 std::string command_input =
"";
68 int cursor_position = 0;
69 bool prompt_hidden =
true;
72 int column_width = 346;
73 int max_output_lines = 32;
74 float output_line_height = 16.0f;
86 void RebuildHelpColumns(
bool keep_content);
91 void BuildHelpGuide();
104 void Draw()
override;
BlamUIWidget_Text * text_element
The UI widget used for displaying the message.
Definition: console.h:18
int visible_ticks
The amount of ticks that the message has been visible.
Definition: console.h:22
BlamConsoleHistoryEntry()
Definition: BlamConsoleHistoryEntry.cpp:5
uint64_t creation_tick
The tick when this entry was created.
Definition: console.h:17
~BlamConsoleHistoryEntry()
Definition: BlamConsoleHistoryEntry.cpp:17
void Draw()
Definition: BlamConsoleHistoryEntry.cpp:38
unsigned long long uint64_t
Definition: stdint.h:18
void Reconfigure(BlamLogMessage _message)
Reconfigures this console history entry.
Definition: BlamConsoleHistoryEntry.cpp:23
byte opacity
The opacity of the message text.
Definition: console.h:19
void Deconfigure()
Deconfigures this console history entry.
Definition: BlamConsoleHistoryEntry.cpp:33
Class representing a console history entry.
Definition: console.h:10
BlamLogMessage message
The message that this entry is displaying.
Definition: console.h:20
Class representing a Text widget.
Definition: ui.h:485