mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 21:48:39 +01:00
[MIRROR] /obj/screen --> /atom/movable/screen (#1646)
* /obj/screen --> /atom/movable/screen * Update storage.dm * Update radial.dm * a Co-authored-by: TemporalOroboros <TemporalOroboros@gmail.com> Co-authored-by: Azarak <azarak10@gmail.com>
This commit is contained in:
co-authored by
TemporalOroboros
Azarak
parent
4e460d9cd7
commit
e768cef297
@@ -72,7 +72,7 @@
|
||||
|
||||
preload_rsc = PRELOAD_RSC
|
||||
|
||||
var/obj/screen/click_catcher/void
|
||||
var/atom/movable/screen/click_catcher/void
|
||||
|
||||
///used to make a special mouse cursor, this one for mouse up icon
|
||||
var/mouse_up_icon = null
|
||||
@@ -109,7 +109,7 @@
|
||||
///these persist between logins/logouts during the same round.
|
||||
var/datum/player_details/player_details
|
||||
|
||||
///Should only be a key-value list of north/south/east/west = obj/screen.
|
||||
///Should only be a key-value list of north/south/east/west = atom/movable/screen.
|
||||
var/list/char_render_holders
|
||||
|
||||
///Amount of keydowns in the last keysend checking interval
|
||||
@@ -177,7 +177,7 @@
|
||||
* Assoc list with all the active maps - when a screen obj is added to
|
||||
* a map, it's put in here as well.
|
||||
*
|
||||
* Format: list(<mapname> = list(/obj/screen))
|
||||
* Format: list(<mapname> = list(/atom/movable/screen))
|
||||
*/
|
||||
var/list/screen_maps = list()
|
||||
|
||||
|
||||
@@ -991,7 +991,7 @@ GLOBAL_LIST_INIT(blacklisted_builds, list(
|
||||
var/pos = 0
|
||||
for(var/D in GLOB.cardinals)
|
||||
pos++
|
||||
var/obj/screen/O = LAZYACCESS(char_render_holders, "[D]")
|
||||
var/atom/movable/screen/O = LAZYACCESS(char_render_holders, "[D]")
|
||||
if(!O)
|
||||
O = new
|
||||
LAZYSET(char_render_holders, "[D]", O)
|
||||
@@ -1002,7 +1002,7 @@ GLOBAL_LIST_INIT(blacklisted_builds, list(
|
||||
|
||||
/client/proc/clear_character_previews()
|
||||
for(var/index in char_render_holders)
|
||||
var/obj/screen/S = char_render_holders[index]
|
||||
var/atom/movable/screen/S = char_render_holders[index]
|
||||
screen -= S
|
||||
qdel(S)
|
||||
char_render_holders = null
|
||||
|
||||
@@ -1798,7 +1798,7 @@ GLOBAL_LIST_EMPTY(preferences_datums)
|
||||
if("ambientocclusion")
|
||||
ambientocclusion = !ambientocclusion
|
||||
if(parent?.screen && parent.screen.len)
|
||||
var/obj/screen/plane_master/game_world/PM = locate(/obj/screen/plane_master/game_world) in parent.screen
|
||||
var/atom/movable/screen/plane_master/game_world/PM = locate(/atom/movable/screen/plane_master/game_world) in parent.screen
|
||||
PM.backdrop(parent.mob)
|
||||
|
||||
if("auto_fit_viewport")
|
||||
|
||||
Reference in New Issue
Block a user