mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 06:00:16 +01:00
icons
This commit is contained in:
@@ -317,7 +317,7 @@
|
||||
//This proc is used to update the icons of nearby windows.
|
||||
/obj/structure/window/proc/update_nearby_icons()
|
||||
update_icon()
|
||||
if(smoothing_flags)
|
||||
if(smoothing_flags & (SMOOTH_CORNERS|SMOOTH_BLOB))
|
||||
QUEUE_SMOOTH_NEIGHBORS(src)
|
||||
|
||||
//merges adjacent full-tile windows into one
|
||||
@@ -330,7 +330,7 @@
|
||||
var/ratio = obj_integrity / max_integrity
|
||||
ratio = CEILING(ratio*4, 1) * 25
|
||||
|
||||
if(smoothing_flags)
|
||||
if(smoothing_flags & (SMOOTH_CORNERS|SMOOTH_BLOB))
|
||||
QUEUE_SMOOTH(src)
|
||||
|
||||
cut_overlay(crack_overlay)
|
||||
@@ -791,7 +791,8 @@
|
||||
cut_overlay(torn)
|
||||
add_overlay(paper)
|
||||
set_opacity(TRUE)
|
||||
QUEUE_SMOOTH(src)
|
||||
if(smoothing_flags & (SMOOTH_CORNERS|SMOOTH_BLOB))
|
||||
QUEUE_SMOOTH(src)
|
||||
|
||||
|
||||
/obj/structure/window/paperframe/attackby(obj/item/W, mob/user)
|
||||
|
||||
Reference in New Issue
Block a user