[MIRROR] Change default render relay plane to game relay [MDB IGNORE] (#11337)

* Change default render relay plane to game relay (#64567)

* Change default render relay plane to game plane

* fix typo

Co-authored-by: TiviPlus <572233640+TiviPlus@ users.noreply.com>

* Change default render relay plane to game relay

Co-authored-by: TiviPlus <57223640+TiviPlus@users.noreply.github.com>
Co-authored-by: TiviPlus <572233640+TiviPlus@ users.noreply.com>
This commit is contained in:
SkyratBot
2022-02-07 11:05:30 +01:00
committed by GitHub
parent 6b26925c7b
commit 67b89dccf9

View File

@@ -8,7 +8,7 @@
//--rendering relay vars--
///integer: what plane we will relay this planes render to
var/render_relay_plane = RENDER_PLANE_MASTER
var/render_relay_plane = RENDER_PLANE_GAME
///bool: Whether this plane should get a render target automatically generated
var/generate_render_target = TRUE
///integer: blend mode to apply to the render relay in case you dont want to use the plane_masters blend_mode
@@ -36,13 +36,11 @@
appearance_flags = PLANE_MASTER
blend_mode = BLEND_MULTIPLY
alpha = 255
render_relay_plane = RENDER_PLANE_GAME
/atom/movable/screen/plane_master/openspace
name = "open space plane master"
plane = OPENSPACE_PLANE
appearance_flags = PLANE_MASTER
render_relay_plane = RENDER_PLANE_GAME
/atom/movable/screen/plane_master/openspace/Initialize(mapload)
. = ..()
@@ -55,7 +53,6 @@
name = "transparent plane master"
plane = TRANSPARENT_FLOOR_PLANE
appearance_flags = PLANE_MASTER
render_relay_plane = RENDER_PLANE_GAME
///Contains just the floor
/atom/movable/screen/plane_master/floor
@@ -63,7 +60,6 @@
plane = FLOOR_PLANE
appearance_flags = PLANE_MASTER
blend_mode = BLEND_OVERLAY
render_relay_plane = RENDER_PLANE_GAME
///Contains most things in the game world
/atom/movable/screen/plane_master/game_world
@@ -71,7 +67,6 @@
plane = GAME_PLANE
appearance_flags = PLANE_MASTER //should use client color
blend_mode = BLEND_OVERLAY
render_relay_plane = RENDER_PLANE_GAME
/atom/movable/screen/plane_master/game_world/backdrop(mob/mymob)
. = ..()
@@ -102,7 +97,6 @@
plane = MASSIVE_OBJ_PLANE
appearance_flags = PLANE_MASTER //should use client color
blend_mode = BLEND_OVERLAY
render_relay_plane = RENDER_PLANE_GAME
/atom/movable/screen/plane_master/ghost
name = "ghost plane master"
@@ -116,7 +110,6 @@
plane = POINT_PLANE
appearance_flags = PLANE_MASTER //should use client color
blend_mode = BLEND_OVERLAY
render_relay_plane = RENDER_PLANE_GAME
/**
* Plane master handling byond internal blackness
@@ -131,7 +124,6 @@
blend_mode = BLEND_MULTIPLY
appearance_flags = PLANE_MASTER | NO_CLIENT_COLOR | PIXEL_SCALE
//byond internal end
render_relay_plane = RENDER_PLANE_GAME
///Contains all lighting objects
/atom/movable/screen/plane_master/lighting
@@ -139,7 +131,7 @@
plane = LIGHTING_PLANE
blend_mode_override = BLEND_MULTIPLY
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
render_relay_plane = RENDER_PLANE_GAME
/atom/movable/screen/plane_master/lighting/backdrop(mob/mymob)
. = ..()
@@ -181,7 +173,6 @@
plane = ABOVE_LIGHTING_PLANE
appearance_flags = PLANE_MASTER //should use client color
blend_mode = BLEND_OVERLAY
render_relay_plane = RENDER_PLANE_GAME
///Contains space parallax
/atom/movable/screen/plane_master/parallax
@@ -189,26 +180,22 @@
plane = PLANE_SPACE_PARALLAX
blend_mode = BLEND_MULTIPLY
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
render_relay_plane = RENDER_PLANE_GAME
/atom/movable/screen/plane_master/parallax_white
name = "parallax whitifier plane master"
plane = PLANE_SPACE
render_relay_plane = RENDER_PLANE_GAME
/atom/movable/screen/plane_master/camera_static
name = "camera static plane master"
plane = CAMERA_STATIC_PLANE
appearance_flags = PLANE_MASTER
blend_mode = BLEND_OVERLAY
render_relay_plane = RENDER_PLANE_GAME
/atom/movable/screen/plane_master/excited_turfs
name = "atmos excited turfs"
plane = ATMOS_GROUP_PLANE
appearance_flags = PLANE_MASTER
blend_mode = BLEND_OVERLAY
render_relay_plane = RENDER_PLANE_GAME
alpha = 0
/atom/movable/screen/plane_master/o_light_visual
@@ -218,7 +205,6 @@
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
blend_mode = BLEND_MULTIPLY
blend_mode_override = BLEND_MULTIPLY
render_relay_plane = RENDER_PLANE_GAME
/atom/movable/screen/plane_master/runechat
name = "runechat plane master"
@@ -243,7 +229,6 @@
/atom/movable/screen/plane_master/area
name = "area plane"
plane = AREA_PLANE
render_relay_plane = RENDER_PLANE_GAME
/atom/movable/screen/plane_master/radtext
name = "radtext plane"
@@ -266,3 +251,4 @@
plane = FIELD_OF_VISION_BLOCKER_PLANE
render_target = FIELD_OF_VISION_BLOCKER_RENDER_TARGET
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
render_relay_plane = null