mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 17:15:21 +02:00
GameUI refactor (part 5/X): Move Game::guitext_chat to GameUI class
Other enhancements: * Move update_profiler_gui to Game class * Move updateChat to Game class
This commit is contained in:
@@ -265,7 +265,7 @@ public:
|
||||
// Get the recent messages buffer
|
||||
ChatBuffer& getRecentBuffer();
|
||||
// Concatenate all recent messages
|
||||
EnrichedString getRecentChat();
|
||||
EnrichedString getRecentChat() const;
|
||||
// Get the console prompt
|
||||
ChatPrompt& getPrompt();
|
||||
|
||||
@@ -285,7 +285,7 @@ public:
|
||||
|
||||
// Resize recent buffer based on settings
|
||||
void applySettings();
|
||||
|
||||
|
||||
private:
|
||||
ChatBuffer m_console_buffer;
|
||||
ChatBuffer m_recent_buffer;
|
||||
|
Reference in New Issue
Block a user