From 8302ab2e7ff69da4d3b8ce16b213a16cd80e6879 Mon Sep 17 00:00:00 2001 From: Fox-McCloud Date: Thu, 16 Jul 2015 08:10:54 -0400 Subject: [PATCH] Heavily Optimizes Lighting --- code/LINDA/LINDA_fire.dm | 3 ++- code/__DEFINES/lighting.dm | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/code/LINDA/LINDA_fire.dm b/code/LINDA/LINDA_fire.dm index adb59f7f0fe..e6858f04d18 100644 --- a/code/LINDA/LINDA_fire.dm +++ b/code/LINDA/LINDA_fire.dm @@ -85,7 +85,8 @@ if(item && item != src) // It's possible that the item is deleted in temperature_expose item.fire_act(null, temperature, volume) - animate(src, color = heat2color(temperature), 5) +// animate(src, color = heat2color(temperature), 5) + color = heat2color(temperature) set_light(l_color = color) return 0 diff --git a/code/__DEFINES/lighting.dm b/code/__DEFINES/lighting.dm index dbb34def5b6..0765980afc7 100644 --- a/code/__DEFINES/lighting.dm +++ b/code/__DEFINES/lighting.dm @@ -1,9 +1,9 @@ #define LIGHTING_INTERVAL 5 // frequency, in 1/10ths of a second, of the lighting process #define LIGHTING_FALLOFF 1 // type of falloff to use for lighting; 1 for circular, 2 for square -#define LIGHTING_LAMBERTIAN 1 // use lambertian shading for light sources +#define LIGHTING_LAMBERTIAN 0 // use lambertian shading for light sources #define LIGHTING_HEIGHT 1 // height off the ground of light sources on the pseudo-z-axis, you should probably leave this alone -#define LIGHTING_TRANSITIONS 1 // smooth, animated transitions, similar to /tg/station +#define LIGHTING_TRANSITIONS 0 // smooth, animated transitions, similar to /tg/station #define LIGHTING_LAYER 10 // drawing layer for lighting overlays #define LIGHTING_ICON 'icons/effects/lighting_overlay.dmi' // icon used for lighting shading effects