1 #ifndef _LIBMAPREAD_H_
\r
2 #define _LIBMAPREAD_H_
\r
3 //#include <stdlib.h>
\r
9 #include "src/lib/jsmn/jsmn.h"
\r
10 #include "src/lib/modex16.h"
\r
11 #include "src/lib/16_head.h"
\r
13 //#define DEBUG_MAPDATA
\r
14 //#define DEBUG_MAPVAR
\r
15 //#define DEBUG_DUMPVARS
\r
19 bitmap_t huge *btdata;
\r
20 planar_buf_t huge *data;
\r
25 boolean debug_text; //show the value of the tile! wwww
\r
32 int width; //this has to be signed!
\r
33 int height; //this has to be signed!
\r
36 int jsoneq(const char *json, jsmntok_t *tok, const char *s);
\r
37 word dump(const char *js, jsmntok_t *t, size_t count, word indent, char *js_sv, map_t *map, dword q);
\r
38 int loadmap(char *mn, map_t *map);
\r
40 #endif/*_LIBMAPREAD_H_*/
\r