Merge pull request #6459 from Citadel-Station-13/upstream-merge-37281
[MIRROR] Removes old decal system
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user