From 6cd1a38f1d3a0a45846d63a75475400372af1277 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 8 Nov 2008 16:51:28 +0000 Subject: moved message functions into Player class --- src/core/netclient.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/core/netclient.h') diff --git a/src/core/netclient.h b/src/core/netclient.h index 879a801..6e5bcf9 100644 --- a/src/core/netclient.h +++ b/src/core/netclient.h @@ -29,7 +29,12 @@ #include #include -#include "core/player.h" +namespace core +{ +class NetClient; +} + +#include "core/netplayer.h" namespace core { @@ -82,8 +87,9 @@ private: struct sockaddr_in client_addr; std::string client_host; int client_port; - Player client_player; bool client_error; + + NetPlayer *client_player; std::string messageblock; std::deque recvq; -- cgit v1.2.3