diff options
| author | manuel <manuel@mausz.at> | 2011-04-25 14:39:00 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2011-04-25 14:39:00 +0200 |
| commit | 41a31420cf091aeb4e986503387855d41e550106 (patch) | |
| tree | ffbe0be5f9630a0bab2deb0b5df37c174bf40db1 /pacman-c++/constants.h | |
| parent | bbd2a69a962d15f74a4afcb7b66462eac9fa5008 (diff) | |
| download | foop-41a31420cf091aeb4e986503387855d41e550106.tar.gz foop-41a31420cf091aeb4e986503387855d41e550106.tar.bz2 foop-41a31420cf091aeb4e986503387855d41e550106.zip | |
- add intro sound on every round
- add dieing sound
- add dieing animation
- add die on moving onto colorized block
Diffstat (limited to 'pacman-c++/constants.h')
| -rw-r--r-- | pacman-c++/constants.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pacman-c++/constants.h b/pacman-c++/constants.h index f9f40f9..e7dedbf 100644 --- a/pacman-c++/constants.h +++ b/pacman-c++/constants.h | |||
| @@ -83,12 +83,13 @@ namespace Transmission | |||
| 83 | const field_t bonuspoint = (1 << 6); | 83 | const field_t bonuspoint = (1 << 6); |
| 84 | const field_t pacman = (1 << 7); | 84 | const field_t pacman = (1 << 7); |
| 85 | const field_t empty = (1 << 8); // explicit empty for update | 85 | const field_t empty = (1 << 8); // explicit empty for update |
| 86 | const field_t death = (1 << 9); | ||
| 86 | 87 | ||
| 87 | const field_t direction_none = 0; | 88 | const field_t direction_none = 0; |
| 88 | const field_t direction_left = (1 << 9); | 89 | const field_t direction_left = (1 << 10); |
| 89 | const field_t direction_right = (1 << 10); | 90 | const field_t direction_right = (1 << 11); |
| 90 | const field_t direction_up = (1 << 11); | 91 | const field_t direction_up = (1 << 12); |
| 91 | const field_t direction_down = (1 << 12); | 92 | const field_t direction_down = (1 << 13); |
| 92 | 93 | ||
| 93 | const mask_t color_mask = Color::none | Color::red | Color::blue | Color::green | Color::yellow; | 94 | const mask_t color_mask = Color::none | Color::red | Color::blue | Color::green | Color::yellow; |
| 94 | const mask_t type_mask = block | bonuspoint; | 95 | const mask_t type_mask = block | bonuspoint; |
