diff options
Diffstat (limited to 'pacman-c++/constants.h')
| -rw-r--r-- | pacman-c++/constants.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pacman-c++/constants.h b/pacman-c++/constants.h index 34f29d0..46791be 100644 --- a/pacman-c++/constants.h +++ b/pacman-c++/constants.h | |||
| @@ -2,15 +2,15 @@ | |||
| 2 | #define CONSTANTS_H | 2 | #define CONSTANTS_H |
| 3 | 3 | ||
| 4 | namespace Constants { | 4 | namespace Constants { |
| 5 | 5 | const struct | |
| 6 | const struct { | 6 | { |
| 7 | const unsigned int width, height; | 7 | const unsigned int width, height; |
| 8 | } field_size = { 16, 16 }, | 8 | } field_size = { 16, 16 }, |
| 9 | map_size = { 20, 20 }, | 9 | map_size = { 20, 20 }, |
| 10 | map_size_pixel = { field_size.width * map_size.width, | 10 | map_size_pixel = { field_size.width * map_size.width, |
| 11 | field_size.height * map_size.height}; | 11 | field_size.height * map_size.height}; |
| 12 | |||
| 13 | const unsigned int sprite_margin = 2; | 12 | const unsigned int sprite_margin = 2; |
| 13 | const unsigned int sprite_offset = 20; | ||
| 14 | } | 14 | } |
| 15 | 15 | ||
| 16 | namespace Color | 16 | namespace Color |
