diff options
Diffstat (limited to 'src/game.c')
| -rw-r--r-- | src/game.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -11,7 +11,9 @@ #include <sys/types.h> #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) { |
