Hide chat at startup via config

User avatar
lightonflux
Member
 
Posts: 384
Joined: Mon Nov 11, 2013 07:22
In-game: lof

Hide chat at startup via config

by lightonflux » Sat Jan 25, 2014 00:58

If you play singleplayer it very annoying if the chat is open and you see some lines about whatever.

Would be nice if there was an option in the config to hide the chat from start.
 

gsmanners
Member
 
Posts: 159
Joined: Fri Jan 10, 2014 21:37

by gsmanners » Sat Jan 25, 2014 05:38

There's an idea. In fact, it would be pretty easy to implement:

game.cpp:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
-    bool show_chat = true;

+    bool show_chat = g_settings->getBool("show_chat");


defaultsettings.cpp:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
+    settings->setDefault("show_chat", "true");
 

User avatar
LuxAtheris
Member
 
Posts: 169
Joined: Fri Oct 25, 2013 00:54

by LuxAtheris » Sat Jan 25, 2014 07:12

Well F2 is useful
Believe you can and you’re halfway there.
 


Return to Minetest Features

Who is online

Users browsing this forum: Google [Bot] and 11 guests

cron