]> 4ch.mooo.com Git - 16.git/commitdiff
i need to migrate to the memory manager stuff sometime
authorsparky4 <sparky4@cock.li>
Thu, 16 Feb 2017 18:47:53 +0000 (12:47 -0600)
committersparky4 <sparky4@cock.li>
Thu, 16 Feb 2017 18:47:53 +0000 (12:47 -0600)
src/lib/scroll16.c
src/lib/scroll16.h

index 12d8991c2ba19698da06b2b0f3b41bd24b51613e..5f7ae115358fb296d562b2170bcfb9a9597c34dc 100755 (executable)
@@ -502,9 +502,9 @@ sword chkmap(map_t *map, word q)
                //initiate a null map!\r
                map->width=MAPW;///2;\r
                map->height=MAPH;///2;\r
-//             map->layerdata[0].data = malloc(((map->width*map->height)+1)*sizeof(byte));\r
+//             map->layerdata[0].data = fmfaflflfofcf(((map->width*map->height)+1)*sizeof(byte));\r
                map->layerdata[0].data = &x;\r
-               map->tiles = malloc(sizeof(tiles_t));\r
+               //map->tiles = fmfafflflfofc(sizeof(tiles_t));\r
                //fix this to be far~\r
 //             bp = bitmapLoadPcx("data/ed.pcx");\r
 //             map->tiles->data = &bp;\r
index 45105a2741bb95d4a657a154dfbffaefd63a3e63..a749d7f943368d6e4f75fa7c1b7c19515d4633ba 100755 (executable)
@@ -97,7 +97,6 @@ extern boolean pagenorendermap, pagedelayrendermap;
 extern char global_temp_status_text[512];\r
 extern char global_temp_status_text2[512];\r
 \r
-//map_t allocMap(int w, int h);\r
 void initMap(map_t *map);\r
 void ZC_walk(map_view_t *pip, player_t *player, word pn);\r
 void ZC_panPageManual(map_view_t *pip, player_t *player, word pn);\r