diff options
| author | totycro <totycro@unknown-horizons.org> | 2011-04-09 16:05:52 +0200 |
|---|---|---|
| committer | totycro <totycro@unknown-horizons.org> | 2011-04-09 16:05:52 +0200 |
| commit | cd1b32f87128de8cc948d4f6cfa1da67291c970b (patch) | |
| tree | 7b43fe71a08b9d1fc82faac6d06ce0dc31b672ef /pacman-c++/server.cpp | |
| parent | 4c8c448a6de8b33e4a64271d6b2d0d25e00043ab (diff) | |
| download | foop-cd1b32f87128de8cc948d4f6cfa1da67291c970b.tar.gz foop-cd1b32f87128de8cc948d4f6cfa1da67291c970b.tar.bz2 foop-cd1b32f87128de8cc948d4f6cfa1da67291c970b.zip | |
added .proto file and generated sources
Diffstat (limited to 'pacman-c++/server.cpp')
| -rw-r--r-- | pacman-c++/server.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pacman-c++/server.cpp b/pacman-c++/server.cpp index be24da0..8539410 100644 --- a/pacman-c++/server.cpp +++ b/pacman-c++/server.cpp | |||
| @@ -2,6 +2,8 @@ | |||
| 2 | 2 | ||
| 3 | #include "util.h" | 3 | #include "util.h" |
| 4 | 4 | ||
| 5 | #include "pacman.pb.h" | ||
| 6 | |||
| 5 | Server::Server(QWidget *parent) | 7 | Server::Server(QWidget *parent) |
| 6 | : SceneHolder(parent) | 8 | : SceneHolder(parent) |
| 7 | { | 9 | { |
| @@ -46,7 +48,6 @@ Transmission::map_t Server::calculateUpdates() | |||
| 46 | map[newMapPosition.x()][newMapPosition.y()] = | 48 | map[newMapPosition.x()][newMapPosition.y()] = |
| 47 | Transmission::pacman | i.key() | | 49 | Transmission::pacman | i.key() | |
| 48 | Util::actorMovementToTransmission(i.value()) ; | 50 | Util::actorMovementToTransmission(i.value()) ; |
| 49 | |||
| 50 | } | 51 | } |
| 51 | return map; | 52 | return map; |
| 52 | } | 53 | } |
