diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-01 21:21:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-01 22:13:44 +0300 |
commit | 41ffafd17ad8f0a7ee060cc9f48bca04a1e16cb6 (patch) | |
tree | 75a934dd456f4079898b77f17fc2e5da631ba761 /src/gui/popupmanager.cpp | |
parent | 33ef923235aeabd07308816bb07ef790cc6c1024 (diff) | |
download | manaverse-41ffafd17ad8f0a7ee060cc9f48bca04a1e16cb6.tar.gz manaverse-41ffafd17ad8f0a7ee060cc9f48bca04a1e16cb6.tar.bz2 manaverse-41ffafd17ad8f0a7ee060cc9f48bca04a1e16cb6.tar.xz manaverse-41ffafd17ad8f0a7ee060cc9f48bca04a1e16cb6.zip |
Fix code style.
Diffstat (limited to 'src/gui/popupmanager.cpp')
-rw-r--r-- | src/gui/popupmanager.cpp | 25 |
1 files changed, 2 insertions, 23 deletions
diff --git a/src/gui/popupmanager.cpp b/src/gui/popupmanager.cpp index b5abb4f04..24c816008 100644 --- a/src/gui/popupmanager.cpp +++ b/src/gui/popupmanager.cpp @@ -22,36 +22,14 @@ #include "gui/popupmanager.h" -#include "actormanager.h" -#include "configuration.h" -#include "game.h" -#include "settings.h" #include "sdlshared.h" -#include "textmanager.h" -#include "resources/mapitemtype.h" - -#include "resources/map/map.h" -#include "resources/map/mapitem.h" -#include "resources/map/maptype.h" -#include "resources/map/speciallayer.h" - -#include "being/localplayer.h" -#include "being/playerinfo.h" - -#include "input/inputmanager.h" - -#include "gui/gui.h" #include "gui/viewport.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 "utils/delete2.h" #include "debug.h" @@ -200,7 +178,8 @@ void PopupManager::showAttackMonsterPopup(const std::string &name, void PopupManager::showPickupItemPopup(const std::string &name) { - mPopupMenu->showPickupItemPopup(viewport->getMouseX(), viewport->getMouseY(), + mPopupMenu->showPickupItemPopup(viewport->getMouseX(), + viewport->getMouseY(), name); } |