diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-04 04:42:16 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-04 04:42:16 +1000 |
commit | c343a7dfafb0b2e5e063ec83fd87cd05d5387b13 (patch) | |
tree | d525d784492eadc66963fb4af20b8d2b9f6ec48b /source/frontend/StarClientCommandProcessor.hpp | |
parent | 081dd693ca57ef624342e729c5b27b2e5da98410 (diff) |
Add toggle for debug HUD
Diffstat (limited to 'source/frontend/StarClientCommandProcessor.hpp')
-rw-r--r-- | source/frontend/StarClientCommandProcessor.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
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; }; |