mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Adding particle blend, glow and animation (#4705)
This commit is contained in:
18
src/client.h
18
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;
|
||||
|
Reference in New Issue
Block a user