mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 09:05:19 +02: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:
committed by
ShadowNinja
parent
a4c5f10ecf
commit
2b1eff7725
@@ -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;
|
||||
|
Reference in New Issue
Block a user