diff options
author | Paramat <paramat@users.noreply.github.com> | 2019-10-24 01:08:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-24 01:08:49 +0100 |
commit | 1f142ec06fc146464822a322fdf39bddb680bfe6 (patch) | |
tree | 3b508ac3a0a59ff07e41e6c33a42c1e30b10c175 /build | |
parent | cd35949cd07dff9f64f982b7a28999b89dfbeb5a (diff) | |
download | minetest-1f142ec06fc146464822a322fdf39bddb680bfe6.tar.gz minetest-1f142ec06fc146464822a322fdf39bddb680bfe6.tar.bz2 minetest-1f142ec06fc146464822a322fdf39bddb680bfe6.zip |
Improve light curve parameter limits and documentation (#9054)
Revert gamma upper limit to 3.0 because that was raised based on
a misunderstanding and had no benefit. A sane upper limit is
needed as players on a competitive server tend to use the maximum.
Set gamma lower limit to 0.33 for consistency with 3.0.
Set sane limits on alpha, beta, boost and enforce these in code
to limit values entered in minetest.conf and to avoid easy cheating
by editing settingtypes.txt.
Improve documentation and 'readable' setting names.
Clarify that gamma does not significantly affect natural night light.
light.cpp: Various codestyle and comment improvements.
Diffstat (limited to 'build')
0 files changed, 0 insertions, 0 deletions