mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-16 18:01:40 +00:00
Create faster key cache for main game loop (client)
This commit is contained in:
parent
18c583ee0b
commit
987e565eeb
4 changed files with 202 additions and 53 deletions
|
@ -29,6 +29,11 @@ private:
|
|||
u32 m_selected_i;
|
||||
std::string m_message;
|
||||
public:
|
||||
bool hasMessage()
|
||||
{
|
||||
return m_message != "";
|
||||
}
|
||||
|
||||
std::string getMessage()
|
||||
{
|
||||
std::string s = m_message;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue