From c1413464930fa82073800a6c58334099bbef370b Mon Sep 17 00:00:00 2001 From: manuel Date: Thu, 7 Apr 2011 00:02:36 +0200 Subject: adding normal points --- pacman-c++/constants.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'pacman-c++/constants.h') diff --git a/pacman-c++/constants.h b/pacman-c++/constants.h index f0e7903..3d78d1d 100644 --- a/pacman-c++/constants.h +++ b/pacman-c++/constants.h @@ -34,15 +34,17 @@ namespace Transmission typedef unsigned int field_t; typedef unsigned int mask_t; + const field_t none = 0; const field_t block = (1 << 3); - const field_t bonuspoint = (1 << 4); - const field_t pacman = (1 << 5); + const field_t point = (1 << 4); + const field_t bonuspoint = (1 << 5); + const field_t pacman = (1 << 6); const field_t direction_none = 0; - const field_t direction_left = (1 << 6); - const field_t direction_right = (1 << 7); - const field_t direction_up = (1 << 8); - const field_t direction_down = (1 << 9); + const field_t direction_left = (1 << 7); + const field_t direction_right = (1 << 8); + const field_t direction_up = (1 << 9); + const field_t direction_down = (1 << 10); const mask_t color_mask = Color::none | Color::red | Color::blue | Color::green; const mask_t type_mask = block | bonuspoint; -- cgit v1.2.3