Ports some old TG lighting + opacity refactors (#29724)

* lighting ports

* missed these

* fix

* tweak optical scanners

* Update code/datums/elements/light_blocking.dm

Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
Signed-off-by: kyunkyunkyun <120701975+kyunkyunkyun@users.noreply.github.com>

---------

Signed-off-by: Burzah <116982774+Burzah@users.noreply.github.com>
Signed-off-by: kyunkyunkyun <120701975+kyunkyunkyun@users.noreply.github.com>
Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>
Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
This commit is contained in:
kyunkyunkyun
2025-09-08 19:25:37 +00:00
committed by GitHub
co-authored by Contrabang Burzah
parent d175f3d1e4
commit 6862135913
41 changed files with 456 additions and 506 deletions
+3 -2
View File
@@ -60,8 +60,9 @@ SUBSYSTEM_DEF(lighting)
for(i in 1 to length(queue))
var/datum/lighting_corner/C = queue[i]
C.update_objects()
C.needs_update = FALSE
C.update_objects()
if(init_tick_checks)
CHECK_TICK
else if(MC_TICK_CHECK)
@@ -76,7 +77,7 @@ SUBSYSTEM_DEF(lighting)
queue = objects_queue
for(i in 1 to length(queue))
var/atom/movable/lighting_object/O = queue[i]
var/datum/lighting_object/O = queue[i]
if(QDELETED(O))
continue