Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed wave_player 4DGL-uLCD-SE MMA8452
Diff: map.cpp
- Revision:
- 12:116a4cc85b16
- Parent:
- 11:6cd02a8539d1
- Child:
- 13:798a4dd14c7e
--- a/map.cpp Thu Dec 02 06:24:22 2021 +0000 +++ b/map.cpp Thu Dec 02 16:58:38 2021 +0000 @@ -3,7 +3,7 @@ #include "globals.h" #include "graphics.h" -#define NumBuckets 10 +#define NumBuckets 5 #define NumMaps 3 #define HEIGHT 50 #define WIDTH 50 @@ -67,8 +67,8 @@ map[0].h = HEIGHT; map[1].items = createHashTable(map_hash,NumBuckets); - map[1].w = WIDTH-25; - map[1].h = HEIGHT-25; + map[1].w = WIDTH-30; + map[1].h = HEIGHT-30; }