diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-09-13 01:08:06 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-09-13 01:08:06 +0000 |
commit | 6a8f1f5914721d1e8b8f9688b1d6ab71c0ed9bce (patch) | |
tree | 1a846219c3fdf6b3a0b2f17f15c4da4fec406845 /src/gui/char_select.h | |
parent | 07b3632e605488221f34bff48f298b394af7083a (diff) | |
download | mana-6a8f1f5914721d1e8b8f9688b1d6ab71c0ed9bce.tar.gz mana-6a8f1f5914721d1e8b8f9688b1d6ab71c0ed9bce.tar.bz2 mana-6a8f1f5914721d1e8b8f9688b1d6ab71c0ed9bce.tar.xz mana-6a8f1f5914721d1e8b8f9688b1d6ab71c0ed9bce.zip |
Unified the loops for the various dialogs that are shown before the actual game starts.
Diffstat (limited to 'src/gui/char_select.h')
-rw-r--r-- | src/gui/char_select.h | 5 |
1 files changed, 4 insertions, 1 deletions
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 |