From 6a8f1f5914721d1e8b8f9688b1d6ab71c0ed9bce Mon Sep 17 00:00:00 2001 From: Björn Steinbrink Date: Tue, 13 Sep 2005 01:08:06 +0000 Subject: Unified the loops for the various dialogs that are shown before the actual game starts. --- src/gui/char_select.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/gui/char_select.h') diff --git a/src/gui/char_select.h b/src/gui/char_select.h index b229a04c..c4aac4b9 100644 --- a/src/gui/char_select.h +++ b/src/gui/char_select.h @@ -31,6 +31,7 @@ class PlayerBox; struct PLAYER_INFO; +struct SDL_KeyboardEvent; /** * Character selection dialog. @@ -87,6 +88,8 @@ class CharSelectDialog : public Window, public gcn::ActionListener { void action(const std::string& eventId); void setPlayerInfo(PLAYER_INFO* pi); + + void logic(); }; /** @@ -131,6 +134,6 @@ class CharCreateDialog : public Window, public gcn::ActionListener { std::string getName(); }; -void charSelect(); +void charSelectInputHandler(SDL_KeyboardEvent *keyEvent); #endif -- cgit v1.2.3-70-g09d2