summaryrefslogtreecommitdiff
path: root/src/gui/charcreatedialog.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-12 14:53:32 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-12 14:58:48 +0200
commit92a8e0403595cd0f4b8b2084c45ec79edca7e7c1 (patch)
treed1d4b2b6638935f666c6512b467a6ffc3017fb60 /src/gui/charcreatedialog.h
parent14a6e6a4bc5d39ddf8f31efc07a5e2493a6f6d0a (diff)
downloadmana-92a8e0403595cd0f4b8b2084c45ec79edca7e7c1.tar.gz
mana-92a8e0403595cd0f4b8b2084c45ec79edca7e7c1.tar.bz2
mana-92a8e0403595cd0f4b8b2084c45ec79edca7e7c1.tar.xz
mana-92a8e0403595cd0f4b8b2084c45ec79edca7e7c1.zip
Append _F or _M to username in eAthena network layer
Abstracts it away and out of main.cpp and register.cpp.
Diffstat (limited to 'src/gui/charcreatedialog.h')
-rw-r--r--src/gui/charcreatedialog.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/charcreatedialog.h b/src/gui/charcreatedialog.h
index 8897b5f7..5dbc6050 100644
--- a/src/gui/charcreatedialog.h
+++ b/src/gui/charcreatedialog.h
@@ -65,17 +65,17 @@ class CharCreateDialog : public Window, public gcn::ActionListener
void setAttributes(std::vector<std::string> labels, int available,
int min, int max);
- void setFixedGender(bool fixed, bool gender = false);
+ void setFixedGender(bool fixed, Gender gender = GENDER_FEMALE);
private:
- int getDistributedPoints();
+ int getDistributedPoints() const;
void updateSliders();
/**
* Returns the name of the character to create.
*/
- std::string getName();
+ std::string getName() const;
/**
* Communicate character creation to the server.