mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-14 08:34:16 +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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user