From f971e8903ae6e7f01adb7b2f252c6482fa258ebb Mon Sep 17 00:00:00 2001 From: Stefan Dombrowski Date: Fri, 20 May 2011 17:26:29 +0200 Subject: Removing KEY_PATHFIND and moving its function into the debug window * The f-key is no longer used. That means new players are less likely to get into trouble by accidentally activating the debug mode. * The debug mode can now be activated in a new tab in the debug window. * The main advantage of using a gui is its extensibility. At the moment the debug mode does show too much information at once. In a follow-up patch the user should get more choices. Reviewed-by: Bjorn --- src/gui/debugwindow.h | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/gui/debugwindow.h') diff --git a/src/gui/debugwindow.h b/src/gui/debugwindow.h index 6fd34420..800d0129 100644 --- a/src/gui/debugwindow.h +++ b/src/gui/debugwindow.h @@ -24,8 +24,6 @@ #include "gui/widgets/window.h" -class Label; - /** * The debug window. * @@ -35,19 +33,6 @@ class DebugWindow : public Window { public: DebugWindow(); - - /** - * Logic (updates components' size and infos) - */ - void logic(); - - private: - Label *mMusicFileLabel, *mMapLabel, *mMinimapLabel; - Label *mTileMouseLabel, *mFPSLabel; - Label *mParticleCountLabel, *mParticleDetailLabel; - Label *mAmbientDetailLabel; - - std::string mFPSText; }; extern DebugWindow *debugWindow; -- cgit v1.2.3-70-g09d2