diff options
Diffstat (limited to 'pacman-c++/constants.h')
| -rw-r--r-- | pacman-c++/constants.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pacman-c++/constants.h b/pacman-c++/constants.h index 088fcb8..d9362d8 100644 --- a/pacman-c++/constants.h +++ b/pacman-c++/constants.h | |||
| @@ -4,7 +4,8 @@ | |||
| 4 | const unsigned int map_size[2] = { 20, 20 }; | 4 | const unsigned int map_size[2] = { 20, 20 }; |
| 5 | const unsigned int field_size[2] = { 16, 16 }; | 5 | const unsigned int field_size[2] = { 16, 16 }; |
| 6 | 6 | ||
| 7 | enum Color { | 7 | enum Color |
| 8 | { | ||
| 8 | noColor = 0, | 9 | noColor = 0, |
| 9 | red = (1 << 0), | 10 | red = (1 << 0), |
| 10 | blue = (1 << 1), | 11 | blue = (1 << 1), |
| @@ -12,8 +13,8 @@ enum Color { | |||
| 12 | }; | 13 | }; |
| 13 | 14 | ||
| 14 | // constants for data transmission to client | 15 | // constants for data transmission to client |
| 15 | namespace transmission { | 16 | namespace transmission |
| 16 | 17 | { | |
| 17 | typedef unsigned int field_t; | 18 | typedef unsigned int field_t; |
| 18 | typedef unsigned int mask_t; | 19 | typedef unsigned int mask_t; |
| 19 | 20 | ||
