]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/mapread.c
wwww added timer!!
[16.git] / src / lib / mapread.c
index e3f40b441bbee036658cc132a5a95a89d4a28a17..b6219969d60be486d77a2d255f97439ebbd6079e 100644 (file)
@@ -76,11 +76,11 @@ word dump(const char *js, jsmntok_t *t, size_t count, word indent, char *js_sv,
                        bp = bitmapLoadPcx("data/ed.pcx");
                        map->tiles->data = &bp;
                        //map->tiles->data->data = malloc((16/**2*/)*16);
-                       //map->tiles->data->width = (16/**2*/);\r
-                       //map->tiles->data->height= 16;\r
-                       map->tiles->tileHeight = 16;\r
-                       map->tiles->tileWidth = 16;\r
-                       map->tiles->rows = 1;\r
+                       //map->tiles->data->width = (16/**2*/);
+                       //map->tiles->data->height= 16;
+                       map->tiles->tileHeight = 16;
+                       map->tiles->tileWidth = 16;
+                       map->tiles->rows = 1;
                        map->tiles->cols = 1;
                        strcpy(js_sv, "data");//strdup(js+t->start);//, t->end - t->start);
                }
@@ -127,7 +127,6 @@ int loadmap(char *mn, map_t *map)
        char *js = NULL;
        size_t jslen = 0;
        char buf[BUFSIZ];
-//---- char *buff = &buf;
        static char js_ss[16];
 
        jsmn_parser p;