summaryrefslogtreecommitdiffstats
path: root/pacman-c++/constants.h
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2011-04-11 02:11:10 +0200
committermanuel <manuel@mausz.at>2011-04-11 02:11:10 +0200
commit57e3e48eb558b73077c2b5b4e531ee1cd75b0fbf (patch)
treeb71c6cf7b777cbf87875940f1b283779c1d2e0db /pacman-c++/constants.h
parent817dcc4e4493fb89c6d52b5e5ce1548b6a047d08 (diff)
downloadfoop-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.h4
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