From a7dc1135e94bde5f8c3385d54388563eaffe7553 Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Wed, 4 Nov 2020 14:19:15 +0100 Subject: Added CheatHUD --- src/gui/cheatMenu.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gui/cheatMenu.h') diff --git a/src/gui/cheatMenu.h b/src/gui/cheatMenu.h index ea9a9d853..f67cdea5a 100644 --- a/src/gui/cheatMenu.h +++ b/src/gui/cheatMenu.h @@ -42,6 +42,8 @@ public: CheatMenu(Client *client); void draw(video::IVideoDriver *driver, bool show_debug); + + void drawHUD(video::IVideoDriver *driver, double dtime); void drawEntry(video::IVideoDriver *driver, std::string name, int number, bool selected, bool active, @@ -72,4 +74,6 @@ private: gui::IGUIFont *m_font = nullptr; v2u32 m_fontsize; + + float m_rainbow_offset = 0.0; }; -- cgit v1.2.3