Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion code/controllers/subsystem/title.dm
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ SUBSYSTEM_DEF(title)

if(splash_turf)
splash_turf.icon = icon
splash_turf.handle_generic_titlescreen_sizes()

return SS_INIT_SUCCESS

Expand Down
18 changes: 0 additions & 18 deletions code/game/turfs/closed/indestructible.dm
Original file line number Diff line number Diff line change
Expand Up @@ -60,24 +60,6 @@ INITIALIZE_IMMEDIATE(/turf/closed/indestructible/splashscreen)
SStitle.splash_turf = src
if(SStitle.icon)
icon = SStitle.icon
handle_generic_titlescreen_sizes()

///helper proc that will center the screen if the icon is changed to a generic width, to make admins have to fudge around with pixel_x less. returns null
/turf/closed/indestructible/splashscreen/proc/handle_generic_titlescreen_sizes()
var/icon/size_check = icon(SStitle.icon, icon_state)
var/width = size_check.Width()
if(width == 480) // 480x480 is nonwidescreen
pixel_x = 0
else if(width == 608) // 608x480 is widescreen
pixel_x = -64

/turf/closed/indestructible/splashscreen/vv_edit_var(var_name, var_value)
. = ..()
if(.)
switch(var_name)
if(NAMEOF(src, icon))
SStitle.icon = icon
handle_generic_titlescreen_sizes()

/turf/closed/indestructible/riveted
icon = 'icons/turf/walls/riveted.dmi'
Expand Down