From c343a7dfafb0b2e5e063ec83fd87cd05d5387b13 Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Tue, 4 Jul 2023 04:42:16 +1000 Subject: Add toggle for debug HUD --- source/frontend/StarClientCommandProcessor.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source/frontend/StarClientCommandProcessor.hpp') diff --git a/source/frontend/StarClientCommandProcessor.hpp b/source/frontend/StarClientCommandProcessor.hpp index 3093450..41809ed 100644 --- a/source/frontend/StarClientCommandProcessor.hpp +++ b/source/frontend/StarClientCommandProcessor.hpp @@ -19,6 +19,7 @@ public: StringList handleCommand(String const& commandLine); bool debugDisplayEnabled() const; + bool debugHudEnabled() const; bool fixedCameraEnabled() const; private: @@ -28,7 +29,7 @@ private: String reload(); String whoami(); String gravity(); - String debug(); + String debug(StringList const& arguments); String boxes(); String fullbright(); String asyncLighting(); @@ -66,6 +67,7 @@ private: ShellParser m_parser; LuaBaseComponent m_scriptComponent; bool m_debugDisplayEnabled = false; + bool m_debugHudEnabled = true; bool m_fixedCameraEnabled = false; }; -- cgit v1.2.3