From b5ceaf445a68b9cda47fbd4246f074aa0a1d3966 Mon Sep 17 00:00:00 2001 From: Ciaran Gultnieks Date: Thu, 19 May 2011 12:18:42 +0100 Subject: Don't say 'Creating server and client' if the server is remote, so not being created --- src/game.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/game.cpp') diff --git a/src/game.cpp b/src/game.cpp index d90262060..d6b1117c1 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -672,7 +672,6 @@ void the_game( guienv->drawAll(); driver->endScene(); - std::cout< server; if(address == ""){ + std::cout<start(port); } @@ -688,6 +688,7 @@ void the_game( Create client */ + std::cout< Date: Fri, 20 May 2011 20:28:03 +0100 Subject: Passwords - password entry at main menu, stored and checked by server --- src/game.cpp | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'src/game.cpp') diff --git a/src/game.cpp b/src/game.cpp index d6b1117c1..69e673fa4 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -634,6 +634,7 @@ void the_game( gui::IGUIFont* font, std::string map_dir, std::string playername, + std::string password, std::string address, u16 port, std::wstring &error_message @@ -689,7 +690,7 @@ void the_game( */ std::cout<= 10.0) { @@ -756,8 +761,16 @@ void the_game( if(could_connect == false) { - std::cout<remove(); return; } -- cgit v1.2.3