summaryrefslogtreecommitdiffstats
path: root/pacman-c++/constants.h
diff options
context:
space:
mode:
authortotycro <totycro@unknown-horizons.org>2011-04-11 12:09:04 +0200
committertotycro <totycro@unknown-horizons.org>2011-04-11 12:09:04 +0200
commit98f4a31e1a359a69dbcc0fa4055f36cefb6d4e02 (patch)
treeddd164d3339a067116f02f88314e2f57457bb1df /pacman-c++/constants.h
parent30c36b7549f8ae411f8eca4de144627331895a24 (diff)
downloadfoop-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.h11
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
23namespace Color 30namespace Color