From 4232f8450d896068713d988cf5541835c3818682 Mon Sep 17 00:00:00 2001 From: manuel Date: Tue, 5 Apr 2011 01:29:33 +0200 Subject: - we love ogg, we hate mp3/wav - a lot of coding style/intent fix - add constant.h to pro files --- pacman-c++/constants.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'pacman-c++/constants.h') diff --git a/pacman-c++/constants.h b/pacman-c++/constants.h index 088fcb8..d9362d8 100644 --- a/pacman-c++/constants.h +++ b/pacman-c++/constants.h @@ -4,7 +4,8 @@ const unsigned int map_size[2] = { 20, 20 }; const unsigned int field_size[2] = { 16, 16 }; -enum Color { +enum Color +{ noColor = 0, red = (1 << 0), blue = (1 << 1), @@ -12,8 +13,8 @@ enum Color { }; // constants for data transmission to client -namespace transmission { - +namespace transmission +{ typedef unsigned int field_t; typedef unsigned int mask_t; -- cgit v1.2.3