Ripped out all networking systems; simply not working correctly

This commit is contained in:
Kayne Ruse
2013-05-17 19:59:31 +10:00
parent 24e48dec53
commit 5ade2cc98e
17 changed files with 9 additions and 787 deletions
+1 -11
View File
@@ -9,25 +9,17 @@ using namespace std;
//Public access members
//-------------------------
Lobby::Lobby(ConfigUtility* cUtil, SurfaceManager* sMgr, TCPSocket* sock) {
Lobby::Lobby(ConfigUtility* cUtil, SurfaceManager* sMgr) {
#ifdef DEBUG
cout << "entering Lobby" << endl;
#endif
configUtil = cUtil;
surfaceMgr = sMgr;
socket = sock;
//ping the network, ping the preset "phone home" servers
//generate the server list
//eventually
try {
socket->Open(configUtil->CString("ip"), configUtil->Integer("port"));
}
catch(exception& e) {
cerr << "Network Error: " << e.what() << endl;
}
SetNextScene(SceneList::TESTSYSTEMS);
}
@@ -84,5 +76,3 @@ void Lobby::KeyDown(SDL_KeyboardEvent const& key) {
void Lobby::KeyUp(SDL_KeyboardEvent const& key) {
//
}