diff options
| author | totycro <totycro@unknown-horizons.org> | 2011-04-11 12:09:04 +0200 |
|---|---|---|
| committer | totycro <totycro@unknown-horizons.org> | 2011-04-11 12:09:04 +0200 |
| commit | 98f4a31e1a359a69dbcc0fa4055f36cefb6d4e02 (patch) | |
| tree | ddd164d3339a067116f02f88314e2f57457bb1df /pacman-c++/constants.h | |
| parent | 30c36b7549f8ae411f8eca4de144627331895a24 (diff) | |
| download | foop-98f4a31e1a359a69dbcc0fa4055f36cefb6d4e02.tar.gz foop-98f4a31e1a359a69dbcc0fa4055f36cefb6d4e02.tar.bz2 foop-98f4a31e1a359a69dbcc0fa4055f36cefb6d4e02.zip | |
Added basic game logic
Diffstat (limited to 'pacman-c++/constants.h')
| -rw-r--r-- | pacman-c++/constants.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/pacman-c++/constants.h b/pacman-c++/constants.h index e7330ae..aacc964 100644 --- a/pacman-c++/constants.h +++ b/pacman-c++/constants.h | |||
| @@ -16,8 +16,15 @@ namespace Constants { | |||
| 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 | 18 | ||
| 19 | const unsigned int port = 7321; | 19 | namespace Networking { |
| 20 | const unsigned int connection_timeout = 3000; | 20 | const unsigned int port = 7321; |
| 21 | const unsigned int connection_timeout = 3000; | ||
| 22 | } | ||
| 23 | |||
| 24 | namespace Game { | ||
| 25 | const unsigned int bonus_point_value = 100; | ||
| 26 | const unsigned int point_value = 10; | ||
| 27 | } | ||
| 21 | } | 28 | } |
| 22 | 29 | ||
| 23 | namespace Color | 30 | namespace Color |
