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++/constants.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pacman-c++/constants.h') diff --git a/pacman-c++/constants.h b/pacman-c++/constants.h index d81f474..e7330ae 100644 --- a/pacman-c++/constants.h +++ b/pacman-c++/constants.h @@ -30,6 +30,10 @@ namespace Color green = (1 << 2), max = (1 << 2), }; + + /* colororder used in protocol and gui */ + const Color order[] = + { Color::red, Color::blue, Color::green, Color::none }; } // constants for data transmission to client -- cgit v1.2.3