aboutsummaryrefslogtreecommitdiff
path: root/src/client/renderingengine.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/renderingengine.h')
-rw-r--r--src/client/renderingengine.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/client/renderingengine.h b/src/client/renderingengine.h
index ac6b6926c..8728363d2 100644
--- a/src/client/renderingengine.h
+++ b/src/client/renderingengine.h
@@ -110,6 +110,12 @@ public:
text, guienv, tsrc, dtime, percent, clouds);
}
+ inline static void draw_menu_scene(
+ gui::IGUIEnvironment *guienv, float dtime, bool clouds)
+ {
+ s_singleton->_draw_menu_scene(guienv, dtime, clouds);
+ }
+
inline static void draw_scene(video::SColor skycolor, bool show_hud,
bool show_minimap, bool draw_wield_tool, bool draw_crosshair)
{
@@ -138,6 +144,9 @@ private:
ITextureSource *tsrc, float dtime = 0, int percent = 0,
bool clouds = true);
+ void _draw_menu_scene(gui::IGUIEnvironment *guienv, float dtime = 0,
+ bool clouds = true);
+
void _draw_scene(video::SColor skycolor, bool show_hud, bool show_minimap,
bool draw_wield_tool, bool draw_crosshair);