From ec98567cc51fa1d559cf1fe076898b6537053499 Mon Sep 17 00:00:00 2001 From: Mario Kilies Date: Tue, 25 Jan 2011 13:28:15 +0100 Subject: Minor changes. Renamed global.[ch] to data_store.[ch], data_store to data_store_t and datamodel() to data_store(). --- src/game.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/game.c') diff --git a/src/game.c b/src/game.c index 1c86c73..6addee3 100644 --- a/src/game.c +++ b/src/game.c @@ -10,7 +10,7 @@ #include #include #include "ui.h" -#include "global.h" +#include "data_store.h" #include "net/comm.h" #include "net/client.h" #include "net/server.h" @@ -102,7 +102,7 @@ void start_game(const bool servermode, const char* addr, const char* port) srand(time(0)); // Initialize RNG - data_store* data = datamodel(); + data_store_t *data = data_store(); server_sock = server_start(port); server_get_players(server_sock, &client_socks, num_players); @@ -130,7 +130,7 @@ void start_game(const bool servermode, const char* addr, const char* port) sleep(1); // TODO make sure server process is listening sock = client_connect_server(addr, port); - data_store* data = datamodel(); + data_store_t *data = data_store(); strncpy(data->nickname, "nickname", 10); net_send(sock, msg_type_hello, NULL); -- cgit v1.2.3