Remote view fix again (#19488)

* lets get the foundations right

* collapsing

* more cleanup

* coordinator

* more cleanup

* put those in a better place

* awa

* these live in config now

* that too

* cleanup

* changed over

* cleanup

* more cleanup

* oop

* Cleanup

* deargod

* sanity achieved

* cleanup stuff

* cleared duplicated hud code

* documenting

* clarify

---------

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
Will
2026-05-27 20:43:47 -04:00
committed by GitHub
co-authored by Cameron Lennox
parent 5c25dfe2ab
commit b324bd75cc
16 changed files with 384 additions and 549 deletions
+1 -1
View File
@@ -874,7 +874,7 @@ GLOBAL_LIST_EMPTY(blood_overlays_by_type)
can_zoom = FALSE
if(!zoom && can_zoom)
M.AddComponent(/datum/component/remote_view/item_zoom, focused_on = M, vconfig_path = /datum/remote_view_config/zoomed_item, our_item = src, viewsize = viewsize, tileoffset = tileoffset, show_visible_messages = TRUE)
M.AddComponent(/datum/component/remote_view, focused_on = M, vconfig_path = /datum/remote_view_config/zoomed_item, managing_item = src, viewsize = viewsize, tileoffset = tileoffset, show_visible_messages = TRUE)
return
SEND_SIGNAL(src,COMSIG_REMOTE_VIEW_CLEAR)
@@ -104,6 +104,7 @@
GLOB.paikeys |= new_pai.ckey
setPersonality(new_pai)
new_pai.apply_preferences(new_pai.client)
new_pai.reset_perspective() // Update client view to card
return new_pai
/obj/item/paicard/tgui_interact(mob/user, datum/tgui/ui)
+1 -1
View File
@@ -212,7 +212,7 @@
unpair(selected_camera)
selected_camera = null
return
user.AddComponent(/datum/component/remote_view/item_zoom, focused_on = selected_camera, vconfig_path = /datum/remote_view_config/camera_standard, our_item = src, viewsize = null, tileoffset = 0, show_visible_messages = TRUE)
user.AddComponent(/datum/component/remote_view, focused_on = selected_camera, vconfig_path = /datum/remote_view_config/camera_standard, managing_item = src, viewsize = null, tileoffset = 0, show_visible_messages = TRUE)
/obj/item/bug_monitor/proc/can_use_cam(mob/user)
if(!cameras.len)
@@ -65,7 +65,6 @@
M.forceMove(loc) // Might be in a belly
M.sdisabilities &= ~MUTE
M.take_overall_damage((M.health - health - 100),0) //any new damage the statue incurred is transfered to the mob
M.reset_perspective() // Fixes a blackscreen flicker
/obj/structure/closet/statue/open()
return