mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
Add L-system trees as decorations (#14355)
This commit is contained in:
parent
f07e1026ac
commit
60810c2d37
10 changed files with 125 additions and 46 deletions
|
@ -70,6 +70,7 @@ struct NoiseParams;
|
|||
class Schematic;
|
||||
class ServerActiveObject;
|
||||
struct collisionMoveResult;
|
||||
namespace treegen { struct TreeDef; }
|
||||
|
||||
extern struct EnumString es_TileAnimationType[];
|
||||
|
||||
|
@ -189,6 +190,10 @@ bool read_noiseparams (lua_State *L, int index,
|
|||
NoiseParams *np);
|
||||
void push_noiseparams (lua_State *L, NoiseParams *np);
|
||||
|
||||
bool read_tree_def (lua_State *L, int idx,
|
||||
const NodeDefManager *ndef,
|
||||
treegen::TreeDef &tree_def);
|
||||
|
||||
void luaentity_get (lua_State *L,u16 id);
|
||||
|
||||
bool push_json_value (lua_State *L,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue