Rewriting sender yet again to fit the new asio design. Polling for new send data is no longer needed, this also reduces lag.

This commit is contained in:
lotodore
2009-06-07 08:51:43 +00:00
parent 9e50969bdc
commit 5f3369432a
14 changed files with 187 additions and 269 deletions
+3
View File
@@ -145,9 +145,12 @@ protected:
void TimerNextHand(ServerGame &server);
void TimerNextGame(ServerGame &server);
int GetDealCardsDelaySec(ServerGame &server);
static void StartNewHand(ServerGame &server);
private:
static ServerGameStateHand s_state;
friend class ServerGameStateStartGame;
};
// State: Wait for a player action.