Wall Icon Refactor (#3023)

changes:

Atom types can now define custom adjacency code for the smoothing system.
Walls now draw using the generic icon smoothing system.
Walls now pre-bake colors into their icons instead of doing it client-side with the color var.
Walls can now use the SSoverlay appearance cache; wall icon updates should be faster.
The "rusty" wall type now actually works.
Smoothing now uses mutable_appearance instead of image in some places.
Should be a bit easier on clients, though I haven't done profiling.

This PR breaks 510 compatibility.
This commit is contained in:
Lohikar
2017-07-15 08:22:21 -05:00
committed by skull132
parent 1bda977ae7
commit 41e39f52d1
12 changed files with 208 additions and 72 deletions

View File

@@ -541,7 +541,7 @@
return INITIALIZE_HINT_NORMAL
/turf/simulated/floor/asteroid/get_smooth_underlay_icon(image/underlay_appearance, turf/asking_turf, adjacency_dir)
/turf/simulated/floor/asteroid/get_smooth_underlay_icon(mutable_appearance/underlay_appearance, turf/asking_turf, adjacency_dir)
. = ..()
underlay_appearance.pixel_x = pixel_x
underlay_appearance.pixel_y = pixel_y