Removed dependencies on old preflop/flop/turn/river interface from networking. Compiles, but networking is BROKEN. Also includes first try of computer players for networking, which is broken, too.

This commit is contained in:
lotodore
2007-08-06 21:38:09 +00:00
parent 96419b3588
commit 0aef0d9e42
18 changed files with 233 additions and 121 deletions
+4
View File
@@ -112,6 +112,8 @@ protected:
void RemoveNotEstablishedSessions();
void RemoveDisconnectedPlayers();
void AddComputerPlayer(boost::shared_ptr<PlayerData> player);
size_t GetCurNumberOfPlayers() const;
bool IsPlayerConnected(const std::string &playerName) const;
bool IsPlayerConnected(unsigned uniquePlayerId) const;
@@ -147,6 +149,8 @@ private:
SocketSessionMap m_sessionMap;
mutable boost::mutex m_sessionMapMutex;
PlayerDataList m_computerPlayers;
CloseSessionList m_closeSessionList;
std::auto_ptr<ReceiverHelper> m_receiver;