summaryrefslogtreecommitdiff
path: root/src/dyetool/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-10 14:35:08 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-10 15:07:44 +0300
commitb77da1aadafb7879e14fdea0c63e5e11b7bf3361 (patch)
tree44f2ff125ed0c4b6d398c734142b6342a4997273 /src/dyetool/gui
parent486fc09eb779c9265299a937486d98f9ab036219 (diff)
downloadplus-b77da1aadafb7879e14fdea0c63e5e11b7bf3361.tar.gz
plus-b77da1aadafb7879e14fdea0c63e5e11b7bf3361.tar.bz2
plus-b77da1aadafb7879e14fdea0c63e5e11b7bf3361.tar.xz
plus-b77da1aadafb7879e14fdea0c63e5e11b7bf3361.zip
Fix code style.
Diffstat (limited to 'src/dyetool/gui')
-rw-r--r--src/dyetool/gui/viewport.cpp25
-rw-r--r--src/dyetool/gui/viewport.h2
2 files changed, 0 insertions, 27 deletions
diff --git a/src/dyetool/gui/viewport.cpp b/src/dyetool/gui/viewport.cpp
index 26de44a3a..6a19ab663 100644
--- a/src/dyetool/gui/viewport.cpp
+++ b/src/dyetool/gui/viewport.cpp
@@ -22,42 +22,17 @@
#include "gui/viewport.h"
-#include "actormanager.h"
#include "configuration.h"
-#include "game.h"
-#include "settings.h"
#include "sdlshared.h"
-#include "textmanager.h"
-
-#include "enums/resources/map/mapitemtype.h"
-
-#include "resources/map/map.h"
-#include "resources/map/mapitem.h"
-#include "resources/map/speciallayer.h"
-
-#include "being/localplayer.h"
-#include "being/playerinfo.h"
-
-#include "input/inputmanager.h"
#include "gui/gui.h"
#include "gui/popupmanager.h"
-#include "gui/userpalette.h"
-
-#include "gui/fonts/font.h"
-
-#include "gui/popups/beingpopup.h"
-#include "gui/popups/popupmenu.h"
-#include "gui/popups/textpopup.h"
-
-#include "gui/windows/ministatuswindow.h"
#include "debug.h"
Viewport *viewport = nullptr;
extern volatile int tick_time;
-extern MiniStatusWindow *miniStatusWindow;
Viewport::Viewport() :
WindowContainer(nullptr),
diff --git a/src/dyetool/gui/viewport.h b/src/dyetool/gui/viewport.h
index 12527d962..f3b042bd3 100644
--- a/src/dyetool/gui/viewport.h
+++ b/src/dyetool/gui/viewport.h
@@ -25,8 +25,6 @@
#include "position.h"
-#include "enums/simpletypes/beingid.h"
-
#include "gui/widgets/windowcontainer.h"
#include "listeners/mouselistener.h"