summaryrefslogtreecommitdiff
path: root/src/gui/char_select.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/char_select.h')
-rw-r--r--src/gui/char_select.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/gui/char_select.h b/src/gui/char_select.h
index 3692c1e4..a00ada26 100644
--- a/src/gui/char_select.h
+++ b/src/gui/char_select.h
@@ -108,6 +108,8 @@ class CharCreateDialog : public Window, public gcn::ActionListener
* Constructor.
*/
CharCreateDialog(Window *parent = NULL);
+
+ void logic();
void action(const std::string& eventId);
@@ -126,12 +128,18 @@ class CharCreateDialog : public Window, public gcn::ActionListener
gcn::Button *cancelButton;
PlayerBox *playerBox;
+
+ int mStatus;
/**
- * Communicate character creation to the server and receive new char
- * info.
+ * Communicate character creation to the server.
+ */
+ void attemptCharCreate();
+
+ /**
+ * Receive new char info.
*/
- void serverCharCreate();
+ void checkCharCreate();
};
void charSelectInputHandler(SDL_KeyboardEvent *keyEvent);