\r
/* create the map */
loadmap("data/test.map", &map/*, 0*/);\r
- map = allocMap(map.width,map.height); //20x15 is the resolution of the screen you can make maps smaller than 20x15 but the null space needs to be drawn properly
+ //map = allocMap(map.width,map.height); //20x15 is the resolution of the screen you can make maps smaller than 20x15 but the null space needs to be drawn properly
//if(isEMS()) printf("%d tesuto\n", coretotalEMS());\r
//++++
initMap(&map);\r
int i;\r
int tile = 1;\r
//if(!isEMS() || !checkEMS())\r
- map->tiles = malloc(sizeof(tiles_t));\r
+// map->tiles = malloc(sizeof(tiles_t));\r
//else\r
// map->tiles = (tiles_t *)alloc_emem(sizeof(tiles_t));\r
\r
/* create the tile set */\r
//if(!isEMS() || !checkEMS())\r
- map->tiles->data = malloc(sizeof(bitmap_t));\r
+// map->tiles->data = malloc(sizeof(bitmap_t));\r
//else\r
// map->tiles->data = (bitmap_t *)alloc_emem(sizeof(bitmap_t));\r
- map->tiles->data->width = (TILEWH*2);\r
- map->tiles->data->height= TILEWH;\r
+// map->tiles->data->width = (TILEWH*2);\r
+// map->tiles->data->height= TILEWH;\r
//if(!isEMS() || !checkEMS())\r
- map->tiles->data->data = malloc((TILEWH*2)*TILEWH);\r
+// map->tiles->data->data = malloc((TILEWH*2)*TILEWH);\r
//else\r
// map->tiles->data->data = (byte *)alloc_emem((TILEWH*2)*TILEWH);\r
map->tiles->tileHeight = TILEWH;\r