Add cancel button to password change menu. (#5720)
[oweals/minetest.git] / src / game.h
index df32e339716876cd19a06329f379bf5e41f21c5a..eaedca165d3831b958bcfb3aa05114bdfa3a21d6 100644 (file)
@@ -143,6 +143,18 @@ public:
 class ChatBackend;  /* to avoid having to include chat.h */
 struct SubgameSpec;
 
+// Flags that can, or may, change during main game loop
+struct GameUIFlags
+{
+       bool show_chat;
+       bool show_hud;
+       bool show_minimap;
+       bool force_fog_off;
+       bool show_debug;
+       bool show_profiler_graph;
+       bool disable_camera_update;
+};
+
 void the_game(bool *kill,
                bool random_input,
                InputHandler *input,
@@ -159,4 +171,3 @@ void the_game(bool *kill,
                bool simple_singleplayer_mode);
 
 #endif
-