From 4f5164afa504f3eb0dc3e15ad2d84ebc5790807e Mon Sep 17 00:00:00 2001 From: Kyle Spier-Swenson Date: Sun, 8 Jan 2017 00:21:46 -0800 Subject: [PATCH] [ci skip]Min alpha part 1 --- code/__DEFINES/lighting.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/__DEFINES/lighting.dm b/code/__DEFINES/lighting.dm index 1fdbfaee663..14df624969e 100644 --- a/code/__DEFINES/lighting.dm +++ b/code/__DEFINES/lighting.dm @@ -5,7 +5,8 @@ #define LIGHTING_CAP_FRAC (255/LIGHTING_CAP) //A precal'd variable we'll use in turf/redraw_lighting() #define LIGHTING_ICON 'icons/effects/alphacolors.dmi' #define LIGHTING_ICON_STATE "" -#define LIGHTING_TIME 2 //Time to do any lighting change. Actual number pulled out of my ass +#define LIGHTING_ANIMATE_TIME 2 //Time to animate() any lighting change. Actual number pulled out of my ass +#define LIGHTING_MIN_ALPHA_DELTA_TO_ANIMATE 20 //How much does the alpha have to change to warrent an animation. #define LIGHTING_DARKEST_VISIBLE_ALPHA 250 //Anything darker than this is so dark, we'll just consider the whole tile unlit #define LIGHTING_LUM_FOR_FULL_BRIGHT 6 //Anything who's lum is lower then this starts off less bright. #define LIGHTING_MIN_RADIUS 4 //Lowest radius a light source can effect. @@ -13,4 +14,4 @@ //different modes that lights can operate in #define LIGHTING_REGULAR 1 //Apply all effects additively -#define LIGHTING_STARLIGHT 2 //Track all starlight but only apply brightest \ No newline at end of file +#define LIGHTING_STARLIGHT 2 //Track all starlight but only apply brightest