X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fclient%2Fgameui.h;h=e22be068b2ced66d30cf27f85878390eef936ae7;hb=21df26984da91143c15587f5a03c98d68c3adc4e;hp=3f31f1b57ac4913f0fa9002e565e6a43f517b216;hpb=d51d0f3a5a60679436bf7d4e1980f3a82f229848;p=dragonfireclient.git diff --git a/src/client/gameui.h b/src/client/gameui.h index 3f31f1b57..e22be068b 100644 --- a/src/client/gameui.h +++ b/src/client/gameui.h @@ -61,6 +61,7 @@ class GameUI bool show_minimal_debug = false; bool show_basic_debug = false; bool show_profiler_graph = false; + bool show_cheat_menu = true; }; void init(); @@ -94,6 +95,7 @@ class GameUI void updateProfiler(); void toggleChat(); + void toggleCheatMenu(); void toggleHud(); void toggleProfiler(); @@ -110,9 +112,12 @@ class GameUI private: Flags m_flags; + float m_drawtime_avg = 0; + gui::IGUIStaticText *m_guitext = nullptr; // First line of debug text gui::IGUIStaticText *m_guitext2 = nullptr; // Second line of debug text - + gui::IGUIStaticText *m_guitext_coords = nullptr; + gui::IGUIStaticText *m_guitext_info = nullptr; // At the middle of the screen std::wstring m_infotext;