diff options
author | sfan5 <sfan5@live.de> | 2020-05-22 14:17:03 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2020-05-23 22:52:21 +0200 |
commit | 9d6e7e48d6fb1daff8fedcb2f111164bef61f1e7 (patch) | |
tree | b4526e1feb6a2423b967ba120afd5da37d813d41 /src/client/particles.h | |
parent | 15ba75e4cf1d1b8ceaa9d8ce33dcfdd7dbe80741 (diff) | |
download | minetest-9d6e7e48d6fb1daff8fedcb2f111164bef61f1e7.tar.gz minetest-9d6e7e48d6fb1daff8fedcb2f111164bef61f1e7.tar.bz2 minetest-9d6e7e48d6fb1daff8fedcb2f111164bef61f1e7.zip |
Implement spawning particles with node texture appearance
Diffstat (limited to 'src/client/particles.h')
-rw-r--r-- | src/client/particles.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/particles.h b/src/client/particles.h index 7dda0e1b1..2011f0262 100644 --- a/src/client/particles.h +++ b/src/client/particles.h @@ -42,7 +42,7 @@ class Particle : public scene::ISceneNode video::ITexture *texture, v2f texpos, v2f texsize, - video::SColor color = video::SColor(0xFFFFFFFF) + video::SColor color ); ~Particle() = default; @@ -171,7 +171,7 @@ public: protected: static bool getNodeParticleParams(const MapNode &n, const ContentFeatures &f, ParticleParameters &p, video::ITexture **texture, v2f &texpos, - v2f &texsize, video::SColor *color); + v2f &texsize, video::SColor *color, u8 tilenum = 0); void addParticle(Particle* toadd); |