summaryrefslogtreecommitdiffstats
path: root/pacman-c++/server.h
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2011-04-13 17:41:28 +0200
committermanuel <manuel@mausz.at>2011-04-13 17:41:28 +0200
commit3d20638fa8e295271ce38953ad1c657d9275bd99 (patch)
tree66cc9f2c3cc1e8772cb99b27b0c20ec8067ff80f /pacman-c++/server.h
parent2c351a8bccdfe0fe9ad0ccb4dba5e15ef23b4c0c (diff)
downloadfoop-3d20638fa8e295271ce38953ad1c657d9275bd99.tar.gz
foop-3d20638fa8e295271ce38953ad1c657d9275bd99.tar.bz2
foop-3d20638fa8e295271ce38953ad1c657d9275bd99.zip
some speed improvments regarding protobuf
Diffstat (limited to 'pacman-c++/server.h')
-rw-r--r--pacman-c++/server.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pacman-c++/server.h b/pacman-c++/server.h
index f7505a6..8c9e741 100644
--- a/pacman-c++/server.h
+++ b/pacman-c++/server.h
@@ -35,6 +35,9 @@ protected:
35 35
36 /* current movements. required to make pacmans continue their movement */ 36 /* current movements. required to make pacmans continue their movement */
37 QMap<Color::Color, Actor::Movement> m_actorMovements; 37 QMap<Color::Color, Actor::Movement> m_actorMovements;
38
39 /* allocate as member variable as this packet is large and used often */
40 ProtoBuf::MapUpdate m_updatepacket;
38}; 41};
39 42
40#endif // SERVER_H 43#endif // SERVER_H