aboutsummaryrefslogtreecommitdiff
path: root/src/game.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.h')
-rw-r--r--src/game.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/game.h b/src/game.h
index df32e3397..19992ce3d 100644
--- a/src/game.h
+++ b/src/game.h
@@ -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,