From f24c91c4876e44ff9bed04bc5065f7966406bb87 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 24 Oct 2010 20:07:32 +0000 Subject: (svn r21030) -Codechange: move ClientStatus into the network server socket class --- src/network/core/tcp_game.h | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/network/core') diff --git a/src/network/core/tcp_game.h b/src/network/core/tcp_game.h index 6fd5649c1..a2e0226be 100644 --- a/src/network/core/tcp_game.h +++ b/src/network/core/tcp_game.h @@ -147,21 +147,6 @@ public: uint Count() const { return this->count; } }; -/** Status of a client */ -enum ClientStatus { - STATUS_INACTIVE, ///< The client is not connected nor active - STATUS_NEWGRFS_CHECK, ///< The client is checking NewGRFs - STATUS_AUTH_GAME, ///< The client is authorizing with game (server) password - STATUS_AUTH_COMPANY, ///< The client is authorizing with company password - STATUS_AUTHORIZED, ///< The client is authorized - STATUS_MAP_WAIT, ///< The client is waiting as someone else is downloading the map - STATUS_MAP, ///< The client is downloading the map - STATUS_DONE_MAP, ///< The client has downloaded the map - STATUS_PRE_ACTIVE, ///< The client is catching up the delayed frames - STATUS_ACTIVE, ///< The client is active within in the game - STATUS_END ///< Must ALWAYS be on the end of this list!! (period) -}; - #define DECLARE_GAME_RECEIVE_COMMAND(type) virtual NetworkRecvStatus NetworkPacketReceive_## type ##_command(Packet *p) #define DEF_GAME_RECEIVE_COMMAND(cls, type) NetworkRecvStatus cls ##NetworkGameSocketHandler::NetworkPacketReceive_ ## type ## _command(Packet *p) -- cgit v1.2.3-70-g09d2