summaryrefslogtreecommitdiff
path: root/src/game.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.c')
-rw-r--r--src/game.c8
1 files changed, 5 insertions, 3 deletions
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 <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)
{