]> 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 91ab7b7ab3073c6f789861c7a529e2eadc6f5c85..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;
-//static long int bgdata[4096];
 
 typedef struct {\r
        bitmap_t *data;
@@ -25,9 +27,8 @@ typedef struct {
        int height;\r
 } map_t;
 
-//static void initMap(map_t *map, int maps);
 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/*, int 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_*/