mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Soft node overlay (#5186)
This commit adds node overlays, which are tiles that are drawn on top of other tiles.
This commit is contained in:
parent
2ad74a9e8b
commit
1ffb180868
18 changed files with 763 additions and 467 deletions
|
@ -620,7 +620,7 @@ void ParticleManager::addNodeParticle(IGameDef* gamedef,
|
|||
{
|
||||
// Texture
|
||||
u8 texid = myrand_range(0, 5);
|
||||
const TileSpec &tile = f.tiles[texid];
|
||||
const TileLayer &tile = f.tiles[texid].layers[0];
|
||||
video::ITexture *texture;
|
||||
struct TileAnimationParams anim;
|
||||
anim.type = TAT_NONE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue