From 715d0c3952a3a1d59b64074e472d0a9a3b414351 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Thu, 14 Feb 2008 18:04:25 +0000 Subject: dedicated server accepts incoming connections --- src/game/game.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/game/game.h') diff --git a/src/game/game.h b/src/game/game.h index d8a6185..3811a06 100644 --- a/src/game/game.h +++ b/src/game/game.h @@ -36,6 +36,12 @@ public: /// execute one game grame void frame(float seconds); + /// is called when a player connects + void player_connect(core::Player &player); + + /// is called when a player disconnects + void player_disconnect(core::Player &player); + /// sectors in space std::vector sectors; -- cgit v1.2.3