aboutsummaryrefslogtreecommitdiff
path: root/src/gui/cheatMenu.h
diff options
context:
space:
mode:
authorElias Fleckenstein <eliasfleckenstein@web.de>2020-11-04 14:19:15 +0100
committerElias Fleckenstein <eliasfleckenstein@web.de>2020-11-04 14:19:15 +0100
commita7dc1135e94bde5f8c3385d54388563eaffe7553 (patch)
tree111cbc0da4eecfccfe2bb6fbd25edb1c28d7118a /src/gui/cheatMenu.h
parentf1d9ac014efc6403e73223f36d3dbb7f5ed50236 (diff)
downloaddragonfireclient-a7dc1135e94bde5f8c3385d54388563eaffe7553.tar.xz
Added CheatHUD
Diffstat (limited to 'src/gui/cheatMenu.h')
-rw-r--r--src/gui/cheatMenu.h4
1 files changed, 4 insertions, 0 deletions
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;
};