]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_map.h
got the jsmn library issue sorted out
[16.git] / src / lib / 16_map.h
index 26901678ae24b5a8f604b3b1a0605678a433451c..d40701db85772b40f8bf1a4c26192112b2ba6f56 100755 (executable)
@@ -1,5 +1,5 @@
 /* Project 16 Source Code~\r
- * Copyright (C) 2012-2017 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
+ * Copyright (C) 2012-2019 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
  *\r
  * This file is part of Project 16.\r
  *\r
 #define _16_MAP__H_\r
 \r
 #include "src/lib/16_head.h"\r
+#include "src/lib/16_tail.h"\r
 #include "src/lib/16_tdef.h"\r
-#include "src/lib/jsmn/jsmn.h"\r
 //#include "stdio.h" included in 16_head.h\r
 //#include "stdlib.h" included in 16_head.h\r
 #include "src/lib/16_vl.h"\r
 #include "src/lib/16_ca.h"\r
 #include "src/lib/16_mm.h"\r
 #include "src/lib/16_pm.h"\r
+/*#define JSMN_STATIC\r
+#include "src/lib/jsmn/jsmn.h"\r
+*/\r
+\r
 \r
 //#define DEBUG_MAPDATA\r
-//#define DEBUG_MAPVAR\r
-//#define DEBUG_DUMPVARS\r
+//#define DEBUG_MAPVARS\r
+//0000++#define DEBUG_OBVARS\r
 //#define DEBUG_JS\r
 \r
 //typedefs moved to 16_tdef.h\r
 \r
-int jsoneq(const char *json, jsmntok_t *tok, const char *s);\r
 //word dump(const char *js, jsmntok_t *t, size_t count, word indent, char *js_sv, map_t *map, dword q);\r
-int loadmap(char *mn, map_t *map, global_game_variables_t *gvar);\r
+//int loadmap(char *mn, map_t *map, global_game_variables_t *gvar);\r
 int newloadmap(char *mn, map_t *map);\r
 int CA_loadmap(char *mn, map_t *map, global_game_variables_t *gvar);\r
 \r