about summary refs log tree commit diff
path: root/src/game/client/components/menus.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/client/components/menus.hpp')
-rw-r--r--src/game/client/components/menus.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/game/client/components/menus.hpp b/src/game/client/components/menus.hpp
index 71128498..f1c87270 100644
--- a/src/game/client/components/menus.hpp
+++ b/src/game/client/components/menus.hpp
@@ -72,7 +72,7 @@ class MENUS : public COMPONENT
 	// found in menus.cpp
 	int render();
 	void render_background();
-	void render_loading(float percent);
+	//void render_loading(float percent);
 	int render_menubar(RECT r);
 	void render_news(RECT main_view);
 	void render_game(RECT main_view);
@@ -91,6 +91,10 @@ class MENUS : public COMPONENT
 public:
 	MENUS();
 
+	void render_loading(float percent);
+
+	bool is_active() const { return menu_active; }
+
 	void init();
 
 	virtual void on_statechange(int new_state, int old_state);