[Gcblue-commits] gcb_wx/include/network tcMultiplayerInterface.h, 1.29, 1.30 tcNetworkInterface.h,
Status: Alpha
Brought to you by:
ddcforge
From: Dewitt C. <ddc...@us...> - 2006-10-24 01:34:07
|
Update of /cvsroot/gcblue/gcb_wx/include/network In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv8449/include/network Modified Files: tcMultiplayerInterface.h tcNetworkInterface.h Log Message: Index: tcMultiplayerInterface.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/network/tcMultiplayerInterface.h,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** tcMultiplayerInterface.h 21 Apr 2006 23:28:32 -0000 1.29 --- tcMultiplayerInterface.h 24 Oct 2006 01:33:58 -0000 1.30 *************** *** 133,137 **** bool IsChatTextAvail(); bool IsCommand(const std::string& text); ! bool IsServer(); int LogInPlayer(const std::string& username, int connectionId, tcPlayerStatus& playerStatus, wxString& msg); --- 133,138 ---- bool IsChatTextAvail(); bool IsCommand(const std::string& text); ! bool IsConnecting() const; ! bool IsServer() const; int LogInPlayer(const std::string& username, int connectionId, tcPlayerStatus& playerStatus, wxString& msg); Index: tcNetworkInterface.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/network/tcNetworkInterface.h,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** tcNetworkInterface.h 22 Mar 2006 01:23:29 -0000 1.14 --- tcNetworkInterface.h 24 Oct 2006 01:33:58 -0000 1.15 *************** *** 68,72 **** --- 68,74 ---- unsigned int GetNumConnections(); tcConnectionData* GetConnection(int id); + bool IsConnecting() const; + void Clear(); bool IsServer() const; void MakeClient(); *************** *** 117,121 **** void AddConnection(wxSocketBase *socket); // adds new connection using socket ! void Clear(); void ClearConnectionMessages(int id); int CheckoutMessage(); --- 119,123 ---- void AddConnection(wxSocketBase *socket); // adds new connection using socket ! void ClearConnectionMessages(int id); int CheckoutMessage(); |