summaryrefslogtreecommitdiffstats
path: root/pacman-c++/constants.h
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2011-04-07 00:02:36 +0200
committermanuel <manuel@mausz.at>2011-04-07 00:02:36 +0200
commitc1413464930fa82073800a6c58334099bbef370b (patch)
tree53e3c33ac245f8531f858783d7da5e8b94ddd858 /pacman-c++/constants.h
parentf2a7c8baea93aeffaddc8474e3b4d1a2d58d2516 (diff)
downloadfoop-c1413464930fa82073800a6c58334099bbef370b.tar.gz
foop-c1413464930fa82073800a6c58334099bbef370b.tar.bz2
foop-c1413464930fa82073800a6c58334099bbef370b.zip
adding normal points
Diffstat (limited to 'pacman-c++/constants.h')
-rw-r--r--pacman-c++/constants.h14
1 files changed, 8 insertions, 6 deletions
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
34 typedef unsigned int field_t; 34 typedef unsigned int field_t;
35 typedef unsigned int mask_t; 35 typedef unsigned int mask_t;
36 36
37 const field_t none = 0;
37 const field_t block = (1 << 3); 38 const field_t block = (1 << 3);
38 const field_t bonuspoint = (1 << 4); 39 const field_t point = (1 << 4);
39 const field_t pacman = (1 << 5); 40 const field_t bonuspoint = (1 << 5);
41 const field_t pacman = (1 << 6);
40 42
41 const field_t direction_none = 0; 43 const field_t direction_none = 0;
42 const field_t direction_left = (1 << 6); 44 const field_t direction_left = (1 << 7);
43 const field_t direction_right = (1 << 7); 45 const field_t direction_right = (1 << 8);
44 const field_t direction_up = (1 << 8); 46 const field_t direction_up = (1 << 9);
45 const field_t direction_down = (1 << 9); 47 const field_t direction_down = (1 << 10);
46 48
47 const mask_t color_mask = Color::none | Color::red | Color::blue | Color::green; 49 const mask_t color_mask = Color::none | Color::red | Color::blue | Color::green;
48 const mask_t type_mask = block | bonuspoint; 50 const mask_t type_mask = block | bonuspoint;