From 57e3e48eb558b73077c2b5b4e531ee1cd75b0fbf Mon Sep 17 00:00:00 2001 From: manuel Date: Mon, 11 Apr 2011 02:11:10 +0200 Subject: - second cleanup: move game/round points inside array - order is defined by Color::order[] used by server and client (gui too) --- pacman-c++/pacman.proto | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'pacman-c++/pacman.proto') diff --git a/pacman-c++/pacman.proto b/pacman-c++/pacman.proto index 3a09702..0472697 100644 --- a/pacman-c++/pacman.proto +++ b/pacman-c++/pacman.proto @@ -7,12 +7,8 @@ message KeyPressUpdate { //TODO move points inside array message MapUpdate { repeated uint32 field = 1 [packed=true]; - required uint32 round_points_red = 2; - required uint32 round_points_green = 3; - required uint32 round_points_blue = 4; - required uint32 game_points_red = 5; - required uint32 game_points_green = 6; - required uint32 game_points_blue = 7; + repeated uint32 round_points = 2; + repeated uint32 game_points = 3; } message WhoAmI { -- cgit v1.2.3