summaryrefslogtreecommitdiff
path: root/src/net/tmwserv/generalhandler.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-10-01 19:09:25 -0600
committerJared Adams <jaxad0127@gmail.com>2009-10-01 19:10:06 -0600
commit50ff91186126a0e9cc7e216552c349d60d31f451 (patch)
tree918e10a585bf5685f76720f41844bba8fef4e67d /src/net/tmwserv/generalhandler.cpp
parentd974f23b42ddeca3c9cf0d8489dc38d8524c5f12 (diff)
downloadmana-50ff91186126a0e9cc7e216552c349d60d31f451.tar.gz
mana-50ff91186126a0e9cc7e216552c349d60d31f451.tar.bz2
mana-50ff91186126a0e9cc7e216552c349d60d31f451.tar.xz
mana-50ff91186126a0e9cc7e216552c349d60d31f451.zip
Redesign CharSelectDialog
Diffstat (limited to 'src/net/tmwserv/generalhandler.cpp')
-rw-r--r--src/net/tmwserv/generalhandler.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/net/tmwserv/generalhandler.cpp b/src/net/tmwserv/generalhandler.cpp
index 3102f746..ede20ff0 100644
--- a/src/net/tmwserv/generalhandler.cpp
+++ b/src/net/tmwserv/generalhandler.cpp
@@ -22,6 +22,7 @@
#include "net/tmwserv/generalhandler.h"
#include "gui/changeemaildialog.h"
+#include "gui/charselectdialog.h"
#include "gui/inventorywindow.h"
#include "gui/partywindow.h"
#include "gui/register.h"
@@ -101,6 +102,11 @@ GeneralHandler::GeneralHandler():
stats.push_back(ItemDB::Stat("will", N_("Willpower %+d")));
ItemDB::setStatsList(stats);
+
+ ChangeEmailDialog::setEmail(&userEmail);
+ CharSelectDialog::setNetworkOptions(true, true);
+ RegisterDialog::setEmail(&userEmail);
+ RegisterDialog::setGender(NULL);
}
void GeneralHandler::load()
@@ -157,11 +163,8 @@ void GeneralHandler::tick()
void GeneralHandler::guiWindowsLoaded()
{
- ChangeEmailDialog::setEmail(&userEmail);
inventoryWindow->setSplitAllowed(true);
partyWindow->clearPartyName();
- RegisterDialog::setEmail(&userEmail);
- RegisterDialog::setGender(NULL);
skillDialog->loadSkills("tmw-skills.xml");
specialsWindow->loadSpecials("specials.xml");