Rendering refactor P1: Plane unification and render relaying (pictures and video included) (#8479)

Co-authored-by: TiviPlus <57223640+TiviPlus@users.noreply.github.com>
This commit is contained in:
SkyratBot
2021-10-01 01:08:39 +02:00
committed by GitHub
parent 2462ff8d4a
commit 6a3a1aed83
17 changed files with 289 additions and 99 deletions
@@ -43,9 +43,11 @@
cam_screen.del_on_map_removal = FALSE
cam_screen.screen_loc = "[map_name]:1,1"
cam_plane_masters = list()
for(var/plane in subtypesof(/atom/movable/screen/plane_master))
var/atom/movable/screen/instance = new plane()
for(var/plane in subtypesof(/atom/movable/screen/plane_master) - /atom/movable/screen/plane_master/blackness)
var/atom/movable/screen/plane_master/instance = new plane()
instance.assigned_map = map_name
if(instance.blend_mode_override)
instance.blend_mode = instance.blend_mode_override
instance.del_on_map_removal = FALSE
instance.screen_loc = "[map_name]:CENTER"
cam_plane_masters += instance