summaryrefslogtreecommitdiff
path: root/src/client.h
diff options
context:
space:
mode:
authorFoghrye4 <foghrye4@gmail.com>2016-11-14 18:09:59 +0400
committerZeno- <kde.psych@gmail.com>2016-11-15 00:09:59 +1000
commit93e3555eae2deaeca69ee252cfa9cc9c3e0e49ef (patch)
tree9b9b665b97c01f0b281652a85088b336cc4cefde /src/client.h
parent649448a2a91fbf3e944b2f2e739f4e2292af1df0 (diff)
downloadminetest-93e3555eae2deaeca69ee252cfa9cc9c3e0e49ef.tar.gz
minetest-93e3555eae2deaeca69ee252cfa9cc9c3e0e49ef.tar.bz2
minetest-93e3555eae2deaeca69ee252cfa9cc9c3e0e49ef.zip
Adding particle blend, glow and animation (#4705)
Diffstat (limited to 'src/client.h')
-rw-r--r--src/client.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/client.h b/src/client.h
index 9f5bda059..c51daf7bc 100644
--- a/src/client.h
+++ b/src/client.h
@@ -35,6 +35,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "hud.h"
#include "particles.h"
#include "network/networkpacket.h"
+#include "nodedef.h" // AnimationType
struct MeshMakeData;
class MapBlockMesh;
@@ -185,6 +186,14 @@ struct ClientEvent
bool collision_removal;
bool vertical;
std::string *texture;
+ u32 material_type_param;
+ AnimationType animation_type;
+ u16 vertical_frame_num;
+ u16 horizontal_frame_num;
+ u16 first_frame;
+ float frame_length;
+ bool loop_animation;
+ u8 glow;
} spawn_particle;
struct{
u16 amount;
@@ -205,6 +214,15 @@ struct ClientEvent
bool vertical;
std::string *texture;
u32 id;
+ u32 material_type_param;
+ AnimationType animation_type;
+ u16 vertical_frame_num;
+ u16 horizontal_frame_num;
+ u16 min_first_frame;
+ u16 max_first_frame;
+ float frame_length;
+ bool loop_animation;
+ u8 glow;
} add_particlespawner;
struct{
u32 id;