summaryrefslogtreecommitdiffstats
path: root/pacman-c++/constants.h
diff options
context:
space:
mode:
authortotycro <totycro@unknown-horizons.org>2011-04-09 15:08:13 +0200
committertotycro <totycro@unknown-horizons.org>2011-04-09 15:08:13 +0200
commit979c3b4528da1608404d6e163211280fee5da9c5 (patch)
treedd5584640933fc6bce1820bcc452af74d356396f /pacman-c++/constants.h
parentd547dec802f76c346538144f4eacf6d8ca6310c4 (diff)
downloadfoop-979c3b4528da1608404d6e163211280fee5da9c5.tar.gz
foop-979c3b4528da1608404d6e163211280fee5da9c5.tar.bz2
foop-979c3b4528da1608404d6e163211280fee5da9c5.zip
added some utility
Diffstat (limited to 'pacman-c++/constants.h')
-rw-r--r--pacman-c++/constants.h9
1 files changed, 5 insertions, 4 deletions
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
39 const field_t point = (1 << 4); 39 const field_t point = (1 << 4);
40 const field_t bonuspoint = (1 << 5); 40 const field_t bonuspoint = (1 << 5);
41 const field_t pacman = (1 << 6); 41 const field_t pacman = (1 << 6);
42 const field_t empty = (1 << 7); // explicit empty for update
42 43
43 const field_t direction_none = 0; 44 const field_t direction_none = 0;
44 const field_t direction_left = (1 << 7); 45 const field_t direction_left = (1 << 8);
45 const field_t direction_right = (1 << 8); 46 const field_t direction_right = (1 << 9);
46 const field_t direction_up = (1 << 9); 47 const field_t direction_up = (1 << 10);
47 const field_t direction_down = (1 << 10); 48 const field_t direction_down = (1 << 11);
48 49
49 const mask_t color_mask = Color::none | Color::red | Color::blue | Color::green; 50 const mask_t color_mask = Color::none | Color::red | Color::blue | Color::green;
50 const mask_t type_mask = block | bonuspoint; 51 const mask_t type_mask = block | bonuspoint;