mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
before adding day/night lighting
--HG-- rename : data/light.png => data/cloud.png
This commit is contained in:
parent
385dd9917f
commit
15a43c5ed0
18 changed files with 662 additions and 487 deletions
|
@ -75,6 +75,7 @@ enum Content
|
|||
CONTENT_MESE,
|
||||
CONTENT_MUD,
|
||||
CONTENT_OCEAN,
|
||||
CONTENT_CLOUD,
|
||||
|
||||
// This is set to the number of the actual values in this enum
|
||||
USEFUL_CONTENT_COUNT
|
||||
|
@ -367,7 +368,8 @@ struct MapNode
|
|||
// If not transparent, can't set light
|
||||
if(light_propagates() == false)
|
||||
return;
|
||||
param = a_light;
|
||||
param &= 0xf0;
|
||||
param |= a_light;
|
||||
}
|
||||
|
||||
u16 getTile(v3s16 dir)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue