mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Actually pause singleplayer game in pause menu and use lower maximum FPS in it
This commit is contained in:
parent
6833e04bc5
commit
92aa38bdfc
7 changed files with 41 additions and 17 deletions
|
@ -124,6 +124,7 @@ public:
|
|||
virtual void drawMenu() = 0;
|
||||
virtual bool preprocessEvent(const SEvent& event) { return false; };
|
||||
virtual bool OnEvent(const SEvent& event) { return false; };
|
||||
virtual bool pausesGame(){ return false; } // Used for pause menu
|
||||
|
||||
protected:
|
||||
//bool m_force_regenerate_gui;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue