summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--src/itemhandler.cpp29
-rw-r--r--src/itemhandler.h56
3 files changed, 1 insertions, 85 deletions
diff --git a/ChangeLog b/ChangeLog
index 63e7ad53..a869fde6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -56,6 +56,7 @@
* src/main.cpp, src/Makefile.am: Created main files in both
src/account-server and src/game-server. Modified makefiles to produce
two server binaries.
+ * src/itemhandler.h, src/itemhandler.cpp: Removed: useless and unused.
2006-12-29 Philipp Sehmisch <tmw@crushnet.org>
diff --git a/src/itemhandler.cpp b/src/itemhandler.cpp
deleted file mode 100644
index 9b918489..00000000
--- a/src/itemhandler.cpp
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * The Mana World
- * Copyright 2004 The Mana World Development Team
- *
- * This file is part of The Mana World.
- *
- * The Mana World is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * any later version.
- *
- * The Mana World is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with The Mana World; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- *
- * $Id$
- */
-
-#include "itemhandler.h"
-
-#include "storage.h"
-
-#include "utils/logger.h"
-
diff --git a/src/itemhandler.h b/src/itemhandler.h
deleted file mode 100644
index 796234b1..00000000
--- a/src/itemhandler.h
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * The Mana World
- * Copyright 2004 The Mana World Development Team
- *
- * This file is part of The Mana World.
- *
- * The Mana World is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * any later version.
- *
- * The Mana World is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with The Mana World; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- *
- * $Id$
- */
-
-#ifndef _TMW_ITEMHANDLER_H
-#define _TMW_ITEMHANDLER_H
-
-#include "item.h"
-#include "mapcomposite.h"
-
-/**
- * The Item Handler loads the item reference database
- * and also manage everyone items interaction with other objects
- * (including other players) and the world.
- */
-class ItemHandler
-{
- public:
- ItemHandler(std::string itemReferenceFile);
-
- /**
- * Drop items on the map.
- */
- bool
- drop(BeingPtr beingPtr, unsigned int itemId, unsigned short amount);
-
- /**
- * Pick an item on the ground
- */
- bool
- getItem(BeingPtr beingPtr, ItemPtr itemPtr);
-
- private:
- std::pair<unsigned int, ItemPtr> ItemReference;
-};
-
-#endif