initial commit - cross reference with 5th port - obviously has compile errors

This commit is contained in:
LetterJay
2016-07-03 02:17:19 -05:00
commit 35a1723e98
4355 changed files with 2221257 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
var/datum/subsystem/icon_smooth/SSicon_smooth
/datum/subsystem/icon_smooth
name = "Icon Smoothing"
init_order = -5
wait = 1
priority = 35
flags = SS_TICKER
var/list/smooth_queue = list()
/datum/subsystem/icon_smooth/New()
NEW_SS_GLOBAL(SSicon_smooth)
/datum/subsystem/icon_smooth/fire()
while(smooth_queue.len)
var/atom/A = smooth_queue[smooth_queue.len]
smooth_queue.len--
ss_smooth_icon(A)
if (MC_TICK_CHECK)
return
if (!smooth_queue.len)
can_fire = 0
/datum/subsystem/icon_smooth/Initialize()
smooth_zlevel(1,TRUE)
smooth_zlevel(2,TRUE)
for(var/V in smooth_queue)
var/atom/A = V
if(A.z == 1 || A.z == 2)
smooth_queue -= A
..()