mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-21 13:05:36 +01:00
icons
This commit is contained in:
@@ -12,7 +12,7 @@ If ever any of these procs are useful for non-shuttles, rename it to proc/rotate
|
||||
setDir(angle2dir(rotation+dir2angle(dir)))
|
||||
|
||||
//resmooth if need be.
|
||||
if(smoothing_flags && (params & ROTATE_SMOOTH))
|
||||
if(params & ROTATE_SMOOTH && smoothing_flags & (SMOOTH_CORNERS|SMOOTH_BLOB))
|
||||
QUEUE_SMOOTH(src)
|
||||
|
||||
//rotate the pixel offsets too.
|
||||
@@ -30,7 +30,7 @@ If ever any of these procs are useful for non-shuttles, rename it to proc/rotate
|
||||
/atom/movable/shuttleRotate(rotation, params)
|
||||
. = ..()
|
||||
//rotate the physical bounds and offsets for multitile atoms too. Owerride base "rotate the pixel offsets" for multitile atoms.
|
||||
//Owerride non zero bound_x, bound_y, pixel_x, pixel_y to zero.
|
||||
//Owerride non zero bound_x, bound_y, pixel_x, pixel_y to zero.
|
||||
//Dont take in account starting bound_x, bound_y, pixel_x, pixel_y.
|
||||
//So it can unintentionally shift physical bounds of things that starts with non zero bound_x, bound_y.
|
||||
if(((bound_height != world.icon_size) || (bound_width != world.icon_size)) && (bound_x==0) && (bound_y==0)) //Dont shift things that have non zero bound_x and bound_y, or it move somewhere. Now it BSA and Gateway.
|
||||
|
||||
Reference in New Issue
Block a user