]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/mapread.h
huge memory model fucks up everything! wwww
[16.git] / src / lib / mapread.h
index dbb4bfa34b1be7571e0c96b601ab13aada647c84..eaca2566bc242e049775479ee896062238e4b2aa 100644 (file)
@@ -1,14 +1,16 @@
 #ifndef _LIBMAPREAD_H_
 #define _LIBMAPREAD_H_
-#include <stdlib.h>
-#include <stdio.h>
 #include <string.h>
 #include <errno.h>
+
+//#include <stdlib.h>
+
 #include "src/lib/jsmn/jsmn.h"
 #include "src/lib/modex16.h"
+#include "src/lib/lib_head.h"
 
+//---- temp!
 static char *js_sv;
-//byte bgdata[4096];
 
 typedef struct {\r
        bitmap_t *data;
@@ -26,7 +28,7 @@ typedef struct {
 } map_t;
 
 static int jsoneq(const char *json, jsmntok_t *tok, const char *s);
-static int dump(const char *js, jsmntok_t *t, size_t count, int indent, /*char *js_sv,*/ map_t *map, int q/*, word w*/);
-static int loadmap(char *mn, map_t *map/*, word w*/);
+static int dump(const char *js, jsmntok_t *t, size_t count, int indent, map_t *map, int q);
+static int loadmap(char *mn, map_t *map);
 
 #endif/*_LIBMAPREAD_H_*/