diff options
Diffstat (limited to 'src/gui/charselectdialog.h')
-rw-r--r-- | src/gui/charselectdialog.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/gui/charselectdialog.h b/src/gui/charselectdialog.h index b6e71715..e180b2c2 100644 --- a/src/gui/charselectdialog.h +++ b/src/gui/charselectdialog.h @@ -22,10 +22,6 @@ #ifndef CHAR_SELECT_H #define CHAR_SELECT_H -#include "guichanfwd.h" -#include "main.h" -#include "player.h" - #include "gui/widgets/window.h" #include "net/charhandler.h" @@ -54,9 +50,6 @@ class CharSelectDialog : public Window, public gcn::ActionListener, friend class CharDeleteConfirm; friend class Net::CharHandler; - /** - * Constructor. - */ CharSelectDialog(LoginData *loginData); ~CharSelectDialog(); @@ -100,8 +93,8 @@ class CharSelectDialog : public Window, public gcn::ActionListener, gcn::Button *mUnregisterButton; gcn::Button *mChangeEmailButton; - enum { MAX_CHARACTER_COUNT = 3 }; - CharacterDisplay *mCharacterEntries[MAX_CHARACTER_COUNT]; + /** The player boxes */ + std::vector<CharacterDisplay*> mCharacterEntries; LoginData *mLoginData; |