Merge pull request #6459 from Citadel-Station-13/upstream-merge-37281

[MIRROR] Removes old decal system
This commit is contained in:
LetterJay
2018-04-22 02:46:25 -05:00
committed by GitHub
2 changed files with 0 additions and 15 deletions

View File

@@ -25,8 +25,6 @@ GLOBAL_LIST_INIT(blacklisted_automated_baseturfs, typecacheof(list(
O = new()
O.underlays.Add(T)
T.ChangeTurf(type)
for(var/group in decals)
T.add_decal(decals[group],group)
if(underlays.len)
T.underlays = O.underlays
if(T.icon_state != icon_state)

View File

@@ -26,7 +26,6 @@
var/explosion_level = 0 //for preventing explosion dodging
var/explosion_id = 0
var/list/decals
var/requires_activation //add to air processing after initialize?
var/changing_turf = FALSE
@@ -413,18 +412,6 @@
playsound(src, "bodyfall", 50, 1)
faller.drop_all_held_items()
/turf/proc/add_decal(decal,group)
LAZYINITLIST(decals)
if(!decals[group])
decals[group] = list()
decals[group] += decal
add_overlay(decals[group])
/turf/proc/remove_decal(group)
LAZYINITLIST(decals)
cut_overlay(decals[group])
decals[group] = null
/turf/proc/photograph(limit=20)
var/image/I = new()
I.add_overlay(src)