1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

all kinds of tweaking and fixing

This commit is contained in:
Perttu Ahola 2011-02-04 01:22:07 +02:00
parent 24c1ea7103
commit 102c5e31fe
8 changed files with 122 additions and 60 deletions

View file

@ -36,7 +36,9 @@ extern u32 daynight_cache_ratios[DAYNIGHT_CACHE_COUNT];*/
Lower level lighting stuff
*/
// This directly sets the range of light
// This directly sets the range of light.
// Actually this is not the real maximum, and this is not the
// brightest. The brightest is LIGHT_SUN.
#define LIGHT_MAX 14
// Light is stored as 4 bits, thus 15 is the maximum.
// This brightness is reserved for sunlight