From 979c3b4528da1608404d6e163211280fee5da9c5 Mon Sep 17 00:00:00 2001 From: totycro Date: Sat, 9 Apr 2011 15:08:13 +0200 Subject: added some utility --- pacman-c++/constants.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'pacman-c++/constants.h') diff --git a/pacman-c++/constants.h b/pacman-c++/constants.h index e7755d4..8977b08 100644 --- a/pacman-c++/constants.h +++ b/pacman-c++/constants.h @@ -39,12 +39,13 @@ namespace Transmission const field_t point = (1 << 4); const field_t bonuspoint = (1 << 5); const field_t pacman = (1 << 6); + const field_t empty = (1 << 7); // explicit empty for update const field_t direction_none = 0; - 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 field_t direction_left = (1 << 8); + const field_t direction_right = (1 << 9); + const field_t direction_up = (1 << 10); + const field_t direction_down = (1 << 11); const mask_t color_mask = Color::none | Color::red | Color::blue | Color::green; const mask_t type_mask = block | bonuspoint; -- cgit v1.2.3