From 4c2b9ed516e3109d5c74a37c9479a516beae4f50 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Fri, 18 Feb 2011 22:25:25 +0200 Subject: random code cleaning, shouldn't affect anything --- src/light.cpp | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'src/light.cpp') diff --git a/src/light.cpp b/src/light.cpp index 1e4dfcdf1..5dade2e16 100644 --- a/src/light.cpp +++ b/src/light.cpp @@ -19,7 +19,28 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "light.h" +// This is reasonable with classic lighting with a light source +/*u8 light_decode_table[LIGHT_MAX+1] = +{ +2, +3, +4, +6, +9, +13, +18, +25, +32, +35, +45, +57, +69, +79, +255 +};*/ + +// This is good // a_n+1 = a_n * 0.786 // Length of LIGHT_MAX+1 means LIGHT_MAX is the last value. // LIGHT_SUN is read as LIGHT_MAX from here. -- cgit v1.2.3