diff options
| author | manuel <manuel@mausz.at> | 2011-04-18 19:47:34 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2011-04-18 19:47:34 +0200 |
| commit | 85b09864f6d489e8c998e9f172d25079d572c602 (patch) | |
| tree | a6e38da5dc828810b21045d0ac1e4babcf198825 /pacman-c++/server.h | |
| parent | e373442901064d07791c9739daa380acb1dfbb8c (diff) | |
| download | foop-85b09864f6d489e8c998e9f172d25079d572c602.tar.gz foop-85b09864f6d489e8c998e9f172d25079d572c602.tar.bz2 foop-85b09864f6d489e8c998e9f172d25079d572c602.zip | |
- add actor.canEat(other) to check if actor can eat other (note: that doesn't mean that other can eat actor!!)
- server now generated and sends the colorlist to the server in the first map update packet
- add a better AI
Diffstat (limited to 'pacman-c++/server.h')
| -rw-r--r-- | pacman-c++/server.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pacman-c++/server.h b/pacman-c++/server.h index 8d40f27..826c701 100644 --- a/pacman-c++/server.h +++ b/pacman-c++/server.h | |||
| @@ -32,7 +32,7 @@ protected: | |||
| 32 | Transmission::map_t calculateUpdates(); | 32 | Transmission::map_t calculateUpdates(); |
| 33 | 33 | ||
| 34 | /* update client maps */ | 34 | /* update client maps */ |
| 35 | void sendUpdate(Transmission::map_t map); | 35 | void sendUpdate(Transmission::map_t map, bool firstPacket = false); |
| 36 | 36 | ||
| 37 | QPoint addRandomPoint(Transmission::map_t map, Transmission::field_t type = Transmission::bonuspoint); | 37 | QPoint addRandomPoint(Transmission::map_t map, Transmission::field_t type = Transmission::bonuspoint); |
| 38 | void colorizeBlocks(Transmission::map_t map); | 38 | void colorizeBlocks(Transmission::map_t map); |
