From 7ca893e9357e9153ba35a248564c1134af0f1f54 Mon Sep 17 00:00:00 2001 From: manuel Date: Wed, 6 Apr 2011 16:41:42 +0200 Subject: sample map --- pacman-c++/constants.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'pacman-c++/constants.h') diff --git a/pacman-c++/constants.h b/pacman-c++/constants.h index 46791be..e009d40 100644 --- a/pacman-c++/constants.h +++ b/pacman-c++/constants.h @@ -6,7 +6,7 @@ namespace Constants { { const unsigned int width, height; } field_size = { 16, 16 }, - map_size = { 20, 20 }, + map_size = { 30, 30 }, map_size_pixel = { field_size.width * map_size.width, field_size.height * map_size.height}; const unsigned int sprite_margin = 2; @@ -30,15 +30,15 @@ namespace Transmission typedef unsigned int field_t; typedef unsigned int mask_t; - const field_t block = (1 << 3); - const field_t bonuspoint = (1 << 4); - const field_t pacman = (1 << 5); + const field_t block = (1 << 3); + const field_t bonuspoint = (1 << 4); + const field_t pacman = (1 << 5); - const field_t direction_none = 0; - const field_t direction_left = (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_up = (1 << 8); + const field_t direction_down = (1 << 9); const mask_t color_mask = Color::none | Color::red | Color::blue | Color::green; const mask_t type_mask = block | bonuspoint; -- cgit v1.2.3