]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_map.h
new jsmn issue oopsie
[16.git] / src / lib / 16_map.h
index 8e56d67df59e7ee4684e59a426e31391d3cfe173..f99193b52097e70b7f8b0b697fd0de8377863ef9 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
@@ -23,6 +23,8 @@
 #ifndef _16_MAP__H_\r
 #define _16_MAP__H_\r
 \r
+#define JSMN_STATIC\r
+\r
 #include "src/lib/16_head.h"\r
 #include "src/lib/16_tdef.h"\r
 #include "src/lib/jsmn/jsmn.h"\r
@@ -44,7 +46,7 @@
 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 newloadmap(char *mn, map_t *map);\r
+int newloadmap(char *mn, map_t *map);\r
 int CA_loadmap(char *mn, map_t *map, global_game_variables_t *gvar);\r
 \r
 #endif/*_16_LIB__H_*/\r