diff options
| author | manuel <manuel@mausz.at> | 2011-04-11 02:11:10 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2011-04-11 02:11:10 +0200 |
| commit | 57e3e48eb558b73077c2b5b4e531ee1cd75b0fbf (patch) | |
| tree | b71c6cf7b777cbf87875940f1b283779c1d2e0db /pacman-c++/constants.h | |
| parent | 817dcc4e4493fb89c6d52b5e5ce1548b6a047d08 (diff) | |
| download | foop-57e3e48eb558b73077c2b5b4e531ee1cd75b0fbf.tar.gz foop-57e3e48eb558b73077c2b5b4e531ee1cd75b0fbf.tar.bz2 foop-57e3e48eb558b73077c2b5b4e531ee1cd75b0fbf.zip | |
- second cleanup: move game/round points inside array
- order is defined by Color::order[] used by server and client (gui too)
Diffstat (limited to 'pacman-c++/constants.h')
| -rw-r--r-- | pacman-c++/constants.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 | |||
| 30 | green = (1 << 2), | 30 | green = (1 << 2), |
| 31 | max = (1 << 2), | 31 | max = (1 << 2), |
| 32 | }; | 32 | }; |
| 33 | |||
| 34 | /* colororder used in protocol and gui */ | ||
| 35 | const Color order[] = | ||
| 36 | { Color::red, Color::blue, Color::green, Color::none }; | ||
| 33 | } | 37 | } |
| 34 | 38 | ||
| 35 | // constants for data transmission to client | 39 | // constants for data transmission to client |
