diff options
Diffstat (limited to 'pacman-c++/constants.h')
| -rw-r--r-- | pacman-c++/constants.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pacman-c++/constants.h b/pacman-c++/constants.h index aacc964..90963fe 100644 --- a/pacman-c++/constants.h +++ b/pacman-c++/constants.h | |||
| @@ -15,13 +15,16 @@ namespace Constants { | |||
| 15 | const unsigned int sprite_margin = 2; | 15 | const unsigned int sprite_margin = 2; |
| 16 | const unsigned int sprite_offset = 20; | 16 | const unsigned int sprite_offset = 20; |
| 17 | const unsigned int tick = 250; // ms | 17 | const unsigned int tick = 250; // ms |
| 18 | static bool server = false; | ||
| 18 | 19 | ||
| 19 | namespace Networking { | 20 | namespace Networking |
| 21 | { | ||
| 20 | const unsigned int port = 7321; | 22 | const unsigned int port = 7321; |
| 21 | const unsigned int connection_timeout = 3000; | 23 | const unsigned int connection_timeout = 3000; |
| 22 | } | 24 | } |
| 23 | 25 | ||
| 24 | namespace Game { | 26 | namespace Game |
| 27 | { | ||
| 25 | const unsigned int bonus_point_value = 100; | 28 | const unsigned int bonus_point_value = 100; |
| 26 | const unsigned int point_value = 10; | 29 | const unsigned int point_value = 10; |
| 27 | } | 30 | } |
