mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add minetest.parse_json, engine.parse_json
This commit is contained in:
parent
71a6ffa762
commit
1ecf51a13f
6 changed files with 141 additions and 0 deletions
|
@ -39,6 +39,8 @@ extern "C" {
|
|||
#include "irrlichttypes_bloated.h"
|
||||
#include "util/string.h"
|
||||
|
||||
namespace Json { class Value; }
|
||||
|
||||
struct MapNode;
|
||||
class INodeDefManager;
|
||||
struct PointedThing;
|
||||
|
@ -145,6 +147,10 @@ bool read_schematic (lua_State *L, int index,
|
|||
|
||||
void luaentity_get (lua_State *L,u16 id);
|
||||
|
||||
bool push_json_value (lua_State *L,
|
||||
const Json::Value &value,
|
||||
int nullindex);
|
||||
|
||||
extern struct EnumString es_TileAnimationType[];
|
||||
|
||||
#endif /* C_CONTENT_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue