summaryrefslogtreecommitdiffstats
path: root/pacman-c++/mainwidget.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++/mainwidget.h
parent2c351a8bccdfe0fe9ad0ccb4dba5e15ef23b4c0c (diff)
downloadfoop-3d20638fa8e295271ce38953ad1c657d9275bd99.tar.gz
foop-3d20638fa8e295271ce38953ad1c657d9275bd99.tar.bz2
foop-3d20638fa8e295271ce38953ad1c657d9275bd99.zip
some speed improvments regarding protobuf
Diffstat (limited to 'pacman-c++/mainwidget.h')
-rw-r--r--pacman-c++/mainwidget.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pacman-c++/mainwidget.h b/pacman-c++/mainwidget.h
index cbc195e..a316d9e 100644
--- a/pacman-c++/mainwidget.h
+++ b/pacman-c++/mainwidget.h
@@ -56,6 +56,9 @@ private:
56 56
57 QTcpSocket *m_socket; 57 QTcpSocket *m_socket;
58 SceneHolder *m_scene; 58 SceneHolder *m_scene;
59
60 /* allocate as member variable as this packet is large and used often */
61 ProtoBuf::MapUpdate m_updatepacket;
59}; 62};
60 63
61#endif // MAINWIDGET_H 64#endif // MAINWIDGET_H