summaryrefslogtreecommitdiff
path: root/src/engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine.cpp')
-rw-r--r--src/engine.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/engine.cpp b/src/engine.cpp
index 9b26f08d..5e175e32 100644
--- a/src/engine.cpp
+++ b/src/engine.cpp
@@ -26,10 +26,6 @@
#include <list>
#include <sstream>
-#ifdef DEBUG
-#include <guichan/widgets/label.hpp>
-#endif
-
#include "being.h"
#include "floor_item.h"
#include "game.h"
@@ -43,7 +39,6 @@
#include "gui/gui.h"
#include "gui/minimap.h"
-#include "gui/windowcontainer.h"
#include "resources/image.h"
#include "resources/iteminfo.h"
@@ -60,10 +55,6 @@ extern int frame;
char itemCurrenyQ[10] = "0";
int camera_x, camera_y;
-#ifdef DEBUG
-gcn::Label *debugInfo;
-#endif
-
std::map<int, Spriteset*> monsterset;
ItemManager *itemDb; /**< Item database object */
@@ -78,12 +69,6 @@ Engine::Engine():
mCurrentMap(NULL)
{
// Initializes GUI
-#ifdef DEBUG
- debugInfo = new gcn::Label();
- // Oh, come on guichan folks, how useful is it to have a single widget gui?
- // (Well, the BasicContainer interface isn't that much more useful... ;)
- dynamic_cast<WindowContainer*>(gui->getTop())->add(debugInfo);
-#endif
// Load the sprite sets
ResourceManager *resman = ResourceManager::getInstance();
@@ -132,9 +117,6 @@ Engine::~Engine()
attackTarget->decRef();
delete itemDb;
-#ifdef DEBUG
- delete debugInfo;
-#endif
}
Map *Engine::getCurrentMap()