From 6820c635353b25f12401f8610c140c8608051ded Mon Sep 17 00:00:00 2001 From: Mario Kilies Date: Mon, 24 Jan 2011 11:15:56 +0100 Subject: Source code refactoring. Moved net/client/server stuff to 'net' subfolder. --- src/game.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/game.c') diff --git a/src/game.c b/src/game.c index f4bb226..e6291a0 100644 --- a/src/game.c +++ b/src/game.c @@ -11,7 +11,9 @@ #include #include "ui.h" #include "global.h" -#include "net.h" +#include "net/comm.h" +#include "net/client.h" +#include "net/server.h" static void init_mainstack(card *stack, const uint32_t size) { @@ -35,7 +37,7 @@ static void init_mainstack(card *stack, const uint32_t size) static void main_loop_client(int sock) { bool running = true; - gamestate state = STATE_CLIENT_WAIT_CARDS; + //gamestate state = STATE_CLIENT_WAIT_CARDS; while(running) { @@ -117,7 +119,7 @@ static void main_loop_client(int sock) static void main_loop_server(socket_list_t* sock) { bool running = true; - gamestate state = STATE_SERVER_DEAL_CARDS; + //gamestate state = STATE_SERVER_DEAL_CARDS; while(running) { -- cgit v1.2.3