summaryrefslogtreecommitdiff
path: root/src/chat.h
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2018-01-04 23:04:40 +0100
committerLoïc Blot <nerzhul@users.noreply.github.com>2018-01-05 20:59:30 +0100
commit326b0faa5e0bee62ee3100f345c021cee020f2dd (patch)
treed3a4875e98e0698184297b3d1231857a68363c72 /src/chat.h
parentfe510d90c15d9bec3a8c1dafc7b1730b11a9f6bd (diff)
downloadminetest-326b0faa5e0bee62ee3100f345c021cee020f2dd.tar.gz
minetest-326b0faa5e0bee62ee3100f345c021cee020f2dd.tar.bz2
minetest-326b0faa5e0bee62ee3100f345c021cee020f2dd.zip
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
Diffstat (limited to 'src/chat.h')
-rw-r--r--src/chat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chat.h b/src/chat.h
index 40d9b771d..ef5a9d47a 100644
--- a/src/chat.h
+++ b/src/chat.h
@@ -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;