summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2007-08-30 16:46:21 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2007-08-30 16:46:21 +0000
commit928fcf801f53d44d8b31b4285052a067340ab4ff (patch)
tree91f8b62b56467d63b1e6a4f49cecab63971dd43f /src/main.cpp
parentc8c4fd4850b543215faf4de83cc0f93c17b5a038 (diff)
downloadmana-928fcf801f53d44d8b31b4285052a067340ab4ff.tar.gz
mana-928fcf801f53d44d8b31b4285052a067340ab4ff.tar.bz2
mana-928fcf801f53d44d8b31b4285052a067340ab4ff.tar.xz
mana-928fcf801f53d44d8b31b4285052a067340ab4ff.zip
Merged equipment database with items database and got rid of the unused item
art attribute. Removed the now unnecessary multiplication of weapon IDs with 10000. Added a fallback item icon and used it for unknown items or when an item image fails to load.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 061f8461..c6544017 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -74,7 +74,6 @@
#include "net/messageout.h"
#include "net/network.h"
-#include "resources/equipmentdb.h"
#include "resources/image.h"
#include "resources/itemdb.h"
#include "resources/monsterdb.h"
@@ -348,7 +347,6 @@ void exit_engine()
sound.close();
// Unload XML databases
- EquipmentDB::unload();
ItemDB::unload();
MonsterDB::unload();
@@ -732,7 +730,6 @@ int main(int argc, char *argv[])
false);
// Load XML databases
- EquipmentDB::load();
ItemDB::load();
MonsterDB::load();
state = LOGIN_STATE;
@@ -825,7 +822,6 @@ int main(int argc, char *argv[])
break;
case CHAR_CONNECT_STATE:
- logger->log("Char: %i\n", loginData.sex);
progressBar->setVisible(true);
progressLabel->setCaption(
"Connecting to character server...");
@@ -834,7 +830,6 @@ int main(int argc, char *argv[])
break;
case ACCOUNT_STATE:
- logger->log("Account: %i", loginData.sex);
progressBar->setVisible(true);
progressLabel->setCaption(
"Connecting to account server...");