mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-10 06:37:05 +01:00
up ports the TG overlays subsystem update (#18945)
* up ports the TG overlays subsystem update * . * . * . * . * for spell * . * cutting --------- Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
//Prime this list if we need it.
|
||||
if(has_huds)
|
||||
// Note, this should be refactored to drop priority overlays
|
||||
add_overlay(backplane,TRUE) //Strap this on here, to block HUDs from appearing in rightclick menus: http://www.byond.com/forum/?post=2336679
|
||||
hud_list = list()
|
||||
hud_list.len = TOTAL_HUDS
|
||||
|
||||
@@ -94,7 +94,7 @@
|
||||
if(overmind)
|
||||
blob_head_overlay.color = overmind.blob_type.complementary_color
|
||||
color = initial(color)//looks better.
|
||||
add_overlay(blob_head_overlay, TRUE)
|
||||
add_overlay(blob_head_overlay)
|
||||
|
||||
/mob/living/simple_mob/blob/spore/handle_special()
|
||||
..()
|
||||
|
||||
@@ -67,7 +67,7 @@ GLOBAL_DATUM_INIT(openspace_backdrop_one_for_all, /atom/movable/openspace_backdr
|
||||
/turf/simulated/open/Initialize(mapload)
|
||||
. = ..()
|
||||
ASSERT(HasBelow(z))
|
||||
add_overlay(GLOB.openspace_backdrop_one_for_all, TRUE) //Special grey square for projecting backdrop darkness filter on it.
|
||||
add_overlay(GLOB.openspace_backdrop_one_for_all) //Special grey square for projecting backdrop darkness filter on it.
|
||||
return INITIALIZE_HINT_LATELOAD
|
||||
|
||||
/turf/simulated/open/LateInitialize()
|
||||
@@ -99,6 +99,7 @@ GLOBAL_DATUM_INIT(openspace_backdrop_one_for_all, /atom/movable/openspace_backdr
|
||||
/turf/simulated/open/update_icon()
|
||||
cut_overlays()
|
||||
update_icon_edge()
|
||||
add_overlay(GLOB.openspace_backdrop_one_for_all) //Special grey square for projecting backdrop darkness filter on it.
|
||||
|
||||
// Straight copy from space.
|
||||
/turf/simulated/open/attackby(obj/item/C as obj, mob/user as mob)
|
||||
|
||||
@@ -32,8 +32,8 @@
|
||||
overlays.Cut() // Snowflake handling, avoiding SSoverlays
|
||||
else
|
||||
icon_state = enabled_icon_state
|
||||
flags |= OVERLAY_QUEUED //Trick SSoverlays
|
||||
SSoverlays.queue += src
|
||||
//flags |= OVERLAY_QUEUED //Trick SSoverlays
|
||||
//SSoverlays.queue += src
|
||||
|
||||
/obj/effect/shield/proc/update_color()
|
||||
if(disabled_for || diffused_for)
|
||||
|
||||
@@ -661,6 +661,7 @@
|
||||
temp.filters += filter(type = "alpha", icon = icon(I.icon, I.icon_state))
|
||||
I.d_stage_overlay = temp
|
||||
for(var/count in I.d_mult to 1 step 0.25)
|
||||
// Note, this should be refactored to drop priority overlays
|
||||
I.add_overlay(I.d_stage_overlay, TRUE)
|
||||
|
||||
// SEND_SIGNAL(COMSIG_BELLY_UPDATE_VORE_FX) is sometimes used when calling vore_fx() to send belly visuals
|
||||
|
||||
Reference in New Issue
Block a user