mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Allow vertical axis particle rotation constraint
Use tables for adding particles, deprecate former way. separate particles(pawner) definition, add default values, work with no arguments
This commit is contained in:
parent
a4c5f10ecf
commit
2b1eff7725
10 changed files with 266 additions and 93 deletions
|
@ -168,6 +168,7 @@ struct ClientEvent
|
|||
f32 expirationtime;
|
||||
f32 size;
|
||||
bool collisiondetection;
|
||||
bool vertical;
|
||||
std::string *texture;
|
||||
} spawn_particle;
|
||||
struct{
|
||||
|
@ -184,6 +185,7 @@ struct ClientEvent
|
|||
f32 minsize;
|
||||
f32 maxsize;
|
||||
bool collisiondetection;
|
||||
bool vertical;
|
||||
std::string *texture;
|
||||
u32 id;
|
||||
} add_particlespawner;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue