pocket tanks

Dependencies:   4DGL-uLCD-SE pockettanks SDFileSystem mbed wave_player

Fork of ECE2035_FroggerGame_SUM1025 by Le Tran

Revision:
1:172fbc00199c
Parent:
0:7fe3c940e4b5
Child:
3:8f68c00dd75a
--- a/map/map_private.h	Thu Jun 25 14:35:52 2015 +0000
+++ b/map/map_private.h	Sun Oct 04 22:05:25 2015 +0000
@@ -33,8 +33,8 @@
 #include "map_public.h"
 
 // It defines the settings for drawing the map
-#define SIDE_WALK_COLOR_2    0x999999
-#define SIDE_WALK_COLOR    0x198C19
+#define SIDE_WALK_COLOR_2    0x00ffdf //SKy blue
+#define SIDE_WALK_COLOR    0x198C19 // green
 #define LINE_COLOR  0xE5E500
 #define CANDY_COLOR  0xFF7F7F
 #define CANDY_RADIUS 1
@@ -54,24 +54,38 @@
 #define MAP_ATTRIBUTE_SIDE_WALK_2 7
 
 
+
+//0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,  \
+//0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,  \
+//0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,  \
+//0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,  \
+//0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,  \
+//0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,  \
+//0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,  \
+//0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,  \
+//0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,  \
+//0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,  \
+//0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,  \
+//7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,  \
+//7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,  \
+//7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,  \
+//7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,  \
+//7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,  }
 #define DEFAULT_MAP {\
-0,   0,   0,   7,   3,   4,   5,   3,   4,   5,   3,   4,   5,   7,   6,   6,   6,  \
-0,   0,   0,   7,   3,   4,   5,   3,   4,   5,   3,   4,   5,   7,   6,   6,   6,  \
-0,   0,   0,   7,   3,   1,   5,   3,   4,   5,   3,   4,   5,   7,   6,   6,   6,  \
-0,   0,   0,   7,   3,   4,   5,   3,   4,   5,   3,   4,   5,   7,   6,   6,   6,  \
-0,   0,   0,   7,   3,   4,   5,   3,   4,   5,   3,   4,   5,   7,   6,   6,   6,  \
-0,   0,   0,   7,   3,   2,   5,   3,   4,   5,   3,   4,   5,   7,   6,   6,   6,  \
-0,   0,   0,   7,   3,   4,   5,   3,   4,   5,   3,   4,   5,   7,   6,   6,   6,  \
-0,   0,   0,   7,   3,   4,   5,   3,   4,   5,   3,   4,   5,   7,   6,   6,   6,  \
-0,   0,   0,   7,   3,   4,   5,   3,   4,   5,   3,   4,   5,   7,   6,   6,   6,  \
-0,   0,   0,   7,   3,   4,   5,   3,   4,   5,   3,   4,   5,   7,   6,   6,   6,  \
-0,   0,   0,   7,   3,   1,   5,   3,   4,   5,   3,   4,   5,   7,   6,   6,   6,  \
-0,   0,   0,   7,   3,   4,   5,   3,   4,   5,   3,   4,   5,   7,   6,   6,   6,  \
-0,   0,   0,   7,   3,   4,   5,   3,   4,   5,   3,   4,   5,   7,   6,   6,   6,  \
-0,   0,   0,   7,   3,   4,   5,   3,   4,   5,   3,   4,   5,   7,   6,   6,   6,  \
-0,   0,   0,   7,   3,   4,   5,   3,   4,   5,   3,   4,   5,   7,   6,   6,   6,  \
-0,   0,   0,   7,   3,   4,   5,   3,   4,   5,   3,   4,   5,   7,   6,   6,   6, }
-
+0,   0,   0,   0,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,  \
+0,   0,   0,   0,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,  \
+0,   0,   0,   0,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,  \
+0,   0,   0,   0,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,  \
+0,   0,   0,   0,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,  \
+0,   0,   0,   0,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,  \
+0,   0,   0,   0,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,  \
+0,   0,   0,   0,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,  \
+0,   0,   0,   0,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,  \
+0,   0,   0,   0,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,  \
+0,   0,   0,   0,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,  \
+0,   0,   0,   0,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,  \
+0,   0,   0,   0,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,  \
+0,   0,   0,   0,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,  }
 // Here defines some useful macros
 #define IDX2X(idx)  (idx%NUM_GRID_X)
 #define IDX2Y(idx)  (idx/NUM_GRID_X)