summaryrefslogtreecommitdiff
path: root/src/gui/char_select.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2006-08-25 21:31:57 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2006-08-25 21:31:57 +0000
commitb08056a18524d65924e2eb3e3ea4b7843e492cca (patch)
tree5e7186eb1dcf59f51f52370ab179a15bfd3be8f5 /src/gui/char_select.h
parent833abc3732c87ed4822fa31065f84d857e9018cc (diff)
downloadmana-b08056a18524d65924e2eb3e3ea4b7843e492cca.tar.gz
mana-b08056a18524d65924e2eb3e3ea4b7843e492cca.tar.bz2
mana-b08056a18524d65924e2eb3e3ea4b7843e492cca.tar.xz
mana-b08056a18524d65924e2eb3e3ea4b7843e492cca.zip
Applied patch by Matthias, adding --playername command line option.
Diffstat (limited to 'src/gui/char_select.h')
-rw-r--r--src/gui/char_select.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/char_select.h b/src/gui/char_select.h
index 20105516..6784c073 100644
--- a/src/gui/char_select.h
+++ b/src/gui/char_select.h
@@ -57,6 +57,11 @@ class CharSelectDialog : public Window, public gcn::ActionListener
void logic();
+ /**
+ * Returns name of selected player
+ */
+ std::string getName();
+
private:
Network *mNetwork;
LockedArray<LocalPlayer*> *mCharInfo;