1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 00:25:19 +02:00

Add warning for initial properties directly inside definition (#9650)

This commit is contained in:
rubenwardy
2023-08-13 00:19:03 +01:00
committed by GitHub
parent 98f097dc2f
commit c6a0ead72d
7 changed files with 95 additions and 5 deletions

View File

@@ -33,6 +33,7 @@ extern "C" {
#include <iostream>
#include <vector>
#include <array>
#include "irrlichttypes_bloated.h"
#include "util/string.h"
@@ -71,6 +72,9 @@ struct collisionMoveResult;
extern struct EnumString es_TileAnimationType[];
extern const std::array<const char *, 33> object_property_keys;
void read_content_features (lua_State *L, ContentFeatures &f,
int index);
void push_content_features (lua_State *L,
@@ -118,6 +122,7 @@ void read_object_properties (lua_State *L, int index,
ServerActiveObject *sao,
ObjectProperties *prop,
IItemDefManager *idef);
void push_object_properties (lua_State *L,
ObjectProperties *prop);