- //printf("Total used @ before map load: %zu\n", oldfreemem-GetFreeSize());
- printf("Total free @ before map load: %zu\n", GetFreeSize());
- printf("Total near free @ before map load: %zu\n", GetNearFreeSize());
- printf("Total far free @ before map load: %zu\n", GetFarFreeSize());
-// getch();
-//0000 fprintf(stderr, "testing~\n");
-// loadmap("data/test.map", &map);
- map.width=0;
- map.height=0;
- chkmap(&map, 1);
-//0000 fprintf(stderr, "yay map loaded~~\n");
-//---- 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());
-//---- initMap(&map);
+ fprintf(stderr, "testing map load~\n");
+ loadmap("data/test.map", &map);
+//0000 map.width=0;
+//0000 map.height=0;
+ chkmap(&map, 0);
+ printf("chkmap ok\n");
+ fprintf(stderr, "yay map loaded~~\n");