From 85b09864f6d489e8c998e9f172d25079d572c602 Mon Sep 17 00:00:00 2001 From: manuel Date: Mon, 18 Apr 2011 19:47:34 +0200 Subject: - 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 --- pacman-c++/server.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pacman-c++/server.h') 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: Transmission::map_t calculateUpdates(); /* update client maps */ - void sendUpdate(Transmission::map_t map); + void sendUpdate(Transmission::map_t map, bool firstPacket = false); QPoint addRandomPoint(Transmission::map_t map, Transmission::field_t type = Transmission::bonuspoint); void colorizeBlocks(Transmission::map_t map); -- cgit v1.2.3