diff options
Diffstat (limited to 'src/gui/char_select.h')
-rw-r--r-- | src/gui/char_select.h | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/src/gui/char_select.h b/src/gui/char_select.h index cf770010..171c49f6 100644 --- a/src/gui/char_select.h +++ b/src/gui/char_select.h @@ -109,81 +109,4 @@ class CharSelectDialog : public Window, public gcn::ActionListener void attemptCharSelect(); }; -/** - * Character creation dialog. - * - * \ingroup Interface - */ -class CharCreateDialog : public Window, public gcn::ActionListener -{ - public: - /** - * Constructor. - */ -#ifdef TMWSERV_SUPPORT - CharCreateDialog(Window *parent, int slot); -#else - CharCreateDialog(Window *parent, int slot, Gender gender); -#endif - - /** - * Destructor. - */ - ~CharCreateDialog(); - - void action(const gcn::ActionEvent &event); - - /** - * Unlocks the dialog, enabling the create character button again. - */ - void unlock(); - - private: -#ifdef TMWSERV_SUPPORT - int getDistributedPoints(); - - void updateSliders(); -#endif - - /** - * Returns the name of the character to create. - */ - std::string getName(); - - /** - * Communicate character creation to the server. - */ - void attemptCharCreate(); - - gcn::TextField *mNameField; - gcn::Label *mNameLabel; - gcn::Button *mNextHairColorButton; - gcn::Button *mPrevHairColorButton; - gcn::Label *mHairColorLabel; - gcn::Button *mNextHairStyleButton; - gcn::Button *mPrevHairStyleButton; - gcn::Label *mHairStyleLabel; - -#ifdef TMWSERV_SUPPORT - gcn::RadioButton *mMale; - gcn::RadioButton *mFemale; - - gcn::Slider *mAttributeSlider[6]; - gcn::Label *mAttributeLabel[6]; - gcn::Label *mAttributeValue[6]; - gcn::Label *mAttributesLeft; - - static const int mMaxPoints = 60; - int mUsedPoints; -#endif - - gcn::Button *mCreateButton; - gcn::Button *mCancelButton; - - Player *mPlayer; - PlayerBox *mPlayerBox; - - int mSlot; -}; - #endif |