summaryrefslogtreecommitdiffstats
path: root/pacman-c++/mainwidget.h
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2011-04-14 19:18:48 +0200
committermanuel <manuel@mausz.at>2011-04-14 19:18:48 +0200
commit197708500f3adaaa50bc1a5a94aec0db8ea621e5 (patch)
tree9fd6c9de8aef4f62e34e2d28fd485eaf52a5c909 /pacman-c++/mainwidget.h
parent3fd1334e6d5339cad07ac4e4e23991a73d960a8e (diff)
downloadfoop-197708500f3adaaa50bc1a5a94aec0db8ea621e5.tar.gz
foop-197708500f3adaaa50bc1a5a94aec0db8ea621e5.tar.bz2
foop-197708500f3adaaa50bc1a5a94aec0db8ea621e5.zip
add dynamic player count for client. currently works only with 1 player as server doesn't send the initial map to the clients
Diffstat (limited to 'pacman-c++/mainwidget.h')
-rw-r--r--pacman-c++/mainwidget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pacman-c++/mainwidget.h b/pacman-c++/mainwidget.h
index 6ecd812..ef282c1 100644
--- a/pacman-c++/mainwidget.h
+++ b/pacman-c++/mainwidget.h
@@ -54,6 +54,7 @@ private:
54 54
55 QTcpSocket *m_socket; 55 QTcpSocket *m_socket;
56 SceneHolder *m_scene; 56 SceneHolder *m_scene;
57 unsigned int m_maxplayers;
57 58
58 /* allocate as member variable as this packet is large and used often */ 59 /* allocate as member variable as this packet is large and used often */
59 ProtoBuf::MapUpdate m_updatepacket; 60 ProtoBuf::MapUpdate m_updatepacket;