mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 05:57:24 +01:00
Reduced six-state lighting to five-state, removed debug verbs.
Not a big drop in quality, but reduces the states used by half. Conflicts: baystation12.dme
This commit is contained in:
@@ -1404,7 +1404,6 @@
|
||||
#include "code\WorkInProgress\Aryn\Lighting\Engine.dm"
|
||||
#include "code\WorkInProgress\Aryn\Lighting\Light.dm"
|
||||
#include "code\WorkInProgress\Aryn\Lighting\Lightpoint.dm"
|
||||
#include "code\WorkInProgress\Aryn\Lighting\Verbs.dm"
|
||||
#include "code\WorkInProgress\Cael_Aislinn\sculpture.dm"
|
||||
#include "code\WorkInProgress\Cael_Aislinn\Jungle\falsewall.dm"
|
||||
#include "code\WorkInProgress\Cael_Aislinn\Jungle\jungle.dm"
|
||||
|
||||
@@ -95,6 +95,5 @@ var/list/lit_z_levels = list(1,5)
|
||||
world << "<font color=red>Updated [turfs_updated] turfs.</font>"
|
||||
|
||||
/datum/controller/lighting/proc/GetLightIcon(a,b,c,d)
|
||||
if(a <= 1) return LIGHT_ICON_1
|
||||
else if(a <= 3) return LIGHT_ICON_2
|
||||
else return LIGHT_ICON_3
|
||||
if(a <= 2) return LIGHT_ICON_1
|
||||
else return LIGHT_ICON_2
|
||||
@@ -1,7 +1,6 @@
|
||||
#define LIGHT_ICON_1 'icons/effects/lights/lighting1.dmi'
|
||||
#define LIGHT_ICON_2 'icons/effects/lights/lighting2.dmi'
|
||||
#define LIGHT_ICON_3 'icons/effects/lights/lighting3.dmi'
|
||||
#define LIGHT_STATES 5
|
||||
#define LIGHT_ICON_1 'icons/effects/lights/lighting5-1.dmi'
|
||||
#define LIGHT_ICON_2 'icons/effects/lights/lighting5-2.dmi'
|
||||
#define LIGHT_STATES 4
|
||||
|
||||
#define SQ(X) ((X)*(X))
|
||||
#define DISTSQ3(A,B,C) (SQ(A)+SQ(B)+SQ(C))
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 78 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 116 KiB |
Reference in New Issue
Block a user