summaryrefslogtreecommitdiff
path: root/server/lobby.h
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2010-12-01 14:07:20 +0100
committerVegard Storheil Eriksen <zyp@jvnv.net>2010-12-01 14:07:20 +0100
commitab6a569afd9dffc45fac0d0ef92063d6b55904df (patch)
tree4c9b24196e8f43967c58189775d0dfadb71db1e7 /server/lobby.h
parentd8f9d6c3baaaf6bd1b6615bd38201c5bcf2fee57 (diff)
Added game mode selection, with 1p and 4p testing modes.
Diffstat (limited to 'server/lobby.h')
-rw-r--r--server/lobby.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/lobby.h b/server/lobby.h
index 0e25975..fa0e5fe 100644
--- a/server/lobby.h
+++ b/server/lobby.h
@@ -18,8 +18,11 @@ class Lobby {
//! Handle new connection.
void handle_connect(Connection::p connection);
+ //! Handle login.
+ void handle_login(Client::p client);
+
//! Handle action.
- void handle_action(Client::p client);
+ void handle_action(Client::p client, int game_mode);
public:
Lobby();