diff options
| author | manuel <manuel@mausz.at> | 2011-04-05 01:29:33 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2011-04-05 01:29:33 +0200 |
| commit | 4232f8450d896068713d988cf5541835c3818682 (patch) | |
| tree | 470916a3e1978419d41115eb1e87a0928769e03c /pacman-c++/constants.h | |
| parent | 3dba415cd9741874cdaf0781d7e725808c8a2b8d (diff) | |
| download | foop-4232f8450d896068713d988cf5541835c3818682.tar.gz foop-4232f8450d896068713d988cf5541835c3818682.tar.bz2 foop-4232f8450d896068713d988cf5541835c3818682.zip | |
- we love ogg, we hate mp3/wav
- a lot of coding style/intent fix
- add constant.h to pro files
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 | ||
