From ff536f6d76acd8a7daaf0a8ca27c2ec3f0f42be9 Mon Sep 17 00:00:00 2001 From: manuel Date: Mon, 11 Apr 2011 13:17:27 +0200 Subject: create and use Constants::server --- pacman-c++/constants.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'pacman-c++/constants.h') 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 { const unsigned int sprite_margin = 2; const unsigned int sprite_offset = 20; const unsigned int tick = 250; // ms + static bool server = false; - namespace Networking { + namespace Networking + { const unsigned int port = 7321; const unsigned int connection_timeout = 3000; } - namespace Game { + namespace Game + { const unsigned int bonus_point_value = 100; const unsigned int point_value = 10; } -- cgit v1.2.3