pocket tanks

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

Fork of ECE2035_FroggerGame_SUM1025 by Le Tran

Revision:
3:8f68c00dd75a
Parent:
1:172fbc00199c
diff -r 25f099687458 -r 8f68c00dd75a map/map_private.h
--- a/map/map_private.h	Sun Oct 04 22:06:38 2015 +0000
+++ b/map/map_private.h	Thu Oct 22 03:47:32 2015 +0000
@@ -35,7 +35,7 @@
 // It defines the settings for drawing the map
 #define SIDE_WALK_COLOR_2    0x00ffdf //SKy blue
 #define SIDE_WALK_COLOR    0x198C19 // green
-#define LINE_COLOR  0xE5E500
+#define LINE_COLOR  0x674529
 #define CANDY_COLOR  0xFF7F7F
 #define CANDY_RADIUS 1
 #define BIG_CANDY_RADIUS 2
@@ -47,11 +47,11 @@
 #define MAP_ATTRIBUTE_SIDE_WALK         0 //side walk
 #define MAP_ATTRIBUTE_CANDY       1 //candy
 #define MAP_ATTRIBUTE_BIG_CANDY 2 //big candy
-#define MAP_ATTRIBUTE_ROAD_L 3
-#define MAP_ATTRIBUTE_ROAD 4
+#define MAP_ATTRIBUTE_ROAD_L 4
+#define MAP_ATTRIBUTE_ROAD 3
 #define MAP_ATTRIBUTE_ROAD_R 5
 #define MAP_ATTRIBUTE_V_LINE 6
-#define MAP_ATTRIBUTE_SIDE_WALK_2 7
+#define MAP_ATTRIBUTE_SIDE_WALK_2 7     //green
 
 
 
@@ -72,20 +72,38 @@
 //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,   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,  }
+0,   0,   0,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,  \
+0,   0,   0,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,  \
+0,   0,   0,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,  \
+0,   0,   0,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,  \
+0,   0,   0,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,  \
+0,   0,   0,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,  \
+0,   0,   0,   3,   3,   3,   3,   3,   3,   3,   7,   7,   7,   7,   7,  \
+0,   0,   0,   3,   3,   3,   3,   3,   3,   3,   7,   7,   7,   7,   7,  \
+0,   0,   0,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,  \
+0,   0,   0,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,  \
+0,   0,   0,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,  \
+0,   0,   0,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,  \
+0,   0,   0,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,  \
+0,   0,   0,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,  }
+
+
+/*#define DEFAULT_MAP {\
+0,   0,   0,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,  7,  \
+0,   0,   0,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,  7,  \
+0,   0,   0,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,  7,  \
+0,   0,   0,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,  7,  \
+0,   0,   0,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,  7,  \
+0,   0,   0,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,  7,  \
+0,   0,   0,   3,   3,   3,   3,   3,   3,   3,   7,   7,   7,   7,   7,  7,  \
+0,   0,   0,   3,   3,   3,   3,   3,   3,   3,   7,   7,   7,   7,   7,  7,  \
+0,   0,   0,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,  7,  \
+0,   0,   0,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,  7,  \
+0,   0,   0,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,  7,  \
+0,   0,   0,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,  7,  \
+0,   0,   0,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,  7,  \
+0,   0,   0,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,  7,  \
+0,   0,   0,   7,   7,   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)