code/__DEFINES/icon_smoothing.dm
Define Details
NORTH_JUNCTION
Components of a smoothing junction Redefinitions of the diagonal directions so they can be stored in one var without conflicts
SETUP_SMOOTHING
Performs the work to set smoothing_groups and canSmoothWith. An inlined function used in both turf/Initialize and atom/Initialize.
SMOOTH_BITMASK
Smoothing system in where adjacencies are calculated and used to select a pre-baked icon_state, encoded by bitmasking.
SMOOTH_BORDER
Atom will smooth with the borders of the map.
SMOOTH_BORDER_OBJECT
Uses directional object smoothing, so we care not only about something being on the right turf, but also its direction Changes the meaning of smoothing_junction, instead of representing the directions we are smoothing in it represents the sides of our directional border object that have a neighbor Is incompatible with SMOOTH_CORNERS because border objects don't have corners
SMOOTH_CORNERS
Smoothing system in where adjacencies are calculated and used to build an image by mounting each corner at runtime.
SMOOTH_DIAGONAL_CORNERS
Atom has diagonal corners, with underlays under them.
SMOOTH_GROUP_ABDUCTOR_TABLES
obj/structure/table/abductor
SMOOTH_GROUP_ABDUCTOR_WALLS
turf/closed/wall/mineral/abductor, /obj/structure/falsewall/abductor
SMOOTH_GROUP_AIRLOCK
obj/machinery/door/airlock
SMOOTH_GROUP_ALIEN_NEST
obj/structure/bed/nest
SMOOTH_GROUP_ALIEN_RESIN
obj/structure/alien/resin
SMOOTH_GROUP_ALIEN_WALLS
obj/structure/alien/resin/wall, /obj/structure/alien/resin/membrane
SMOOTH_GROUP_ALIEN_WEEDS
obj/structure/alien/weeds
SMOOTH_GROUP_BAMBOO_FLOOR
SMOOTH_GROUP_BAMBOO_WALLS
/turf/closed/wall/mineral/bamboo, /obj/structure/falsewall/bamboo
SMOOTH_GROUP_BANANIUM_TABLES
obj/structure/table/glass
SMOOTH_GROUP_BANANIUM_WALLS
turf/closed/wall/mineral/bananium, /obj/structure/falsewall/bananium
SMOOTH_GROUP_BOSS_WALLS
turf/closed/indestructible/riveted/boss
SMOOTH_GROUP_BRAZIL
turf/open/indestructible/brazil/lostit
SMOOTH_GROUP_BRONZE_TABLES
obj/structure/table/bronze
SMOOTH_GROUP_CARPET
turf/open/floor/carpet
SMOOTH_GROUP_CARPET_BLACK
turf/open/floor/carpet/black
SMOOTH_GROUP_CARPET_BLUE
turf/open/floor/carpet/blue
SMOOTH_GROUP_CARPET_CYAN
turf/open/floor/carpet/cyan
SMOOTH_GROUP_CARPET_DONK
turf/open/floor/carpet/donk
SMOOTH_GROUP_CARPET_EXECUTIVE
turf/open/floor/carpet/executive
SMOOTH_GROUP_CARPET_GREEN
turf/open/floor/carpet/green
SMOOTH_GROUP_CARPET_NEON
SMOOTH_GROUP_CARPET_ORANGE
turf/open/floor/carpet/orange
SMOOTH_GROUP_CARPET_PURPLE
turf/open/floor/carpet/purple
SMOOTH_GROUP_CARPET_RED
turf/open/floor/carpet/red
SMOOTH_GROUP_CARPET_ROYAL_BLACK
turf/open/indestructible/carpet/royalblack
SMOOTH_GROUP_CARPET_ROYAL_BLUE
turf/open/indestructible/carpet/royalblue
SMOOTH_GROUP_CARPET_ROYAL_GREEN
Unimplemented because we haven't cut the icons yet turf/open/indestructible/carpet/royalgreen
SMOOTH_GROUP_CARPET_ROYAL_PURPLE
Unimplemented because we haven't cut the icons yet turf/open/indestructible/carpet/royalpurple
SMOOTH_GROUP_CARPET_SIMPLE_NEON
turf/open/floor/carpet/neon/simple
SMOOTH_GROUP_CARPET_SIMPLE_NEON_BLACK
turf/open/floor/carpet/neon/simple/black
SMOOTH_GROUP_CARPET_SIMPLE_NEON_BLACK_NODOTS
turf/open/floor/carpet/neon/simple/black/nodots
SMOOTH_GROUP_CARPET_SIMPLE_NEON_BLUE
turf/open/floor/carpet/neon/simple/blue
SMOOTH_GROUP_CARPET_SIMPLE_NEON_BLUE_NODOTS
turf/open/floor/carpet/neon/simple/blue/nodots
SMOOTH_GROUP_CARPET_SIMPLE_NEON_CYAN
turf/open/floor/carpet/neon/simple/cyan
SMOOTH_GROUP_CARPET_SIMPLE_NEON_CYAN_NODOTS
turf/open/floor/carpet/neon/simple/cyan/nodots
SMOOTH_GROUP_CARPET_SIMPLE_NEON_GREEN
turf/open/floor/carpet/neon/simple/green
SMOOTH_GROUP_CARPET_SIMPLE_NEON_GREEN_NODOTS
turf/open/floor/carpet/neon/simple/green/nodots
SMOOTH_GROUP_CARPET_SIMPLE_NEON_LIME
turf/open/floor/carpet/neon/simple/lime
SMOOTH_GROUP_CARPET_SIMPLE_NEON_LIME_NODOTS
turf/open/floor/carpet/neon/simple/lime/nodots
SMOOTH_GROUP_CARPET_SIMPLE_NEON_NODOTS
turf/open/floor/carpet/neon/simple/nodots
SMOOTH_GROUP_CARPET_SIMPLE_NEON_ORANGE
turf/open/floor/carpet/neon/simple/orange
SMOOTH_GROUP_CARPET_SIMPLE_NEON_ORANGE_NODOTS
turf/open/floor/carpet/neon/simple/orange/nodots
SMOOTH_GROUP_CARPET_SIMPLE_NEON_PINK
turf/open/floor/carpet/neon/simple/pink
SMOOTH_GROUP_CARPET_SIMPLE_NEON_PINK_NODOTS
turf/open/floor/carpet/neon/simple/pink/nodots
SMOOTH_GROUP_CARPET_SIMPLE_NEON_PURPLE
turf/open/floor/carpet/neon/simple/purple
SMOOTH_GROUP_CARPET_SIMPLE_NEON_PURPLE_NODOTS
turf/open/floor/carpet/neon/simple/purple/nodots
SMOOTH_GROUP_CARPET_SIMPLE_NEON_RED
turf/open/floor/carpet/neon/simple/red
SMOOTH_GROUP_CARPET_SIMPLE_NEON_RED_NODOTS
turf/open/floor/carpet/neon/simple/red/nodots
SMOOTH_GROUP_CARPET_SIMPLE_NEON_TEAL
turf/open/floor/carpet/neon/simple/teal
SMOOTH_GROUP_CARPET_SIMPLE_NEON_TEAL_NODOTS
turf/open/floor/carpet/neon/simple/teal/nodots
SMOOTH_GROUP_CARPET_SIMPLE_NEON_VIOLET
turf/open/floor/carpet/neon/simple/violet
SMOOTH_GROUP_CARPET_SIMPLE_NEON_VIOLET_NODOTS
turf/open/floor/carpet/neon/simple/violet/nodots
SMOOTH_GROUP_CARPET_SIMPLE_NEON_WHITE
turf/open/floor/carpet/neon/simple/white
SMOOTH_GROUP_CARPET_SIMPLE_NEON_WHITE_NODOTS
turf/open/floor/carpet/neon/simple/white/nodots
SMOOTH_GROUP_CARPET_SIMPLE_NEON_YELLOW
turf/open/floor/carpet/neon/simple/yellow
SMOOTH_GROUP_CARPET_SIMPLE_NEON_YELLOW_NODOTS
turf/open/floor/carpet/neon/simple/yellow/nodots
SMOOTH_GROUP_CARPET_STELLAR
turf/open/floor/carpet/stellar
SMOOTH_GROUP_CATWALK
obj/structure/lattice/catwalk
SMOOTH_GROUP_CLEANABLE_DIRT
obj/effect/decal/cleanable/dirt
SMOOTH_GROUP_CLOCKWORK_WALLS
/turf/closed/wall/clockwork, /obj/structure/falsewall/brass
SMOOTH_GROUP_CLOSED_TURFS
turf/closed
SMOOTH_GROUP_DIAMOND_WALLS
turf/closed/wall/mineral/diamond, /obj/structure/falsewall/diamond
SMOOTH_GROUP_FANCY_WOOD_TABLES
obj/structure/table/wood/fancy
SMOOTH_GROUP_FLOOR_ASH
turf/open/misc/ashplanet/ash
SMOOTH_GROUP_FLOOR_ASH_ROCKY
turf/open/misc/ashplanet/rocky
SMOOTH_GROUP_FLOOR_GRASS
turf/open/misc/grass
SMOOTH_GROUP_FLOOR_ICE
turf/open/misc/ice
SMOOTH_GROUP_FLOOR_LAVA
turf/open/lava/smooth
SMOOTH_GROUP_FLOOR_SNOWED
turf/open/floor/plating/snowed
SMOOTH_GROUP_FLOOR_TRANSPARENT_GLASS
turf/open/floor/glass
SMOOTH_GROUP_GLASS_TABLES
obj/structure/table/glass
SMOOTH_GROUP_GOLD_WALLS
turf/closed/wall/mineral/gold, /obj/structure/falsewall/gold
SMOOTH_GROUP_GRILLE
obj/structure/grille
SMOOTH_GROUP_HEDGE_FLUFF
obj/structure/hedge
SMOOTH_GROUP_HIERO_WALL
obj/effect/temp_visual/elite_tumor_wall, /obj/effect/temp_visual/hierophant/wall
SMOOTH_GROUP_HOTEL_WALLS
turf/closed/indestructible/hotelwall
SMOOTH_GROUP_INDUSTRIAL_LIFT
obj/structure/transport/linear
SMOOTH_GROUP_IRON_WALLS
turf/closed/wall/mineral/iron, /obj/structure/falsewall/iron
SMOOTH_GROUP_LATTICE
obj/structure/lattice
SMOOTH_GROUP_MATERIAL_WALLS
turf/closed/wall/material
SMOOTH_GROUP_MINERAL_WALLS
turf/closed/mineral, /turf/closed/indestructible
SMOOTH_GROUP_OPEN_FLOOR
turf/open/floor
SMOOTH_GROUP_PAPERFRAME
obj/structure/window/paperframe, /obj/structure/mineral_door/paperframe
SMOOTH_GROUP_PLASMA_WALLS
turf/closed/wall/mineral/plasma, /obj/structure/falsewall/plasma
SMOOTH_GROUP_PLASTINUM_WALLS
turf/closed/indestructible/riveted/plastinum
SMOOTH_GROUP_PLASTITANIUM_WALLS
turf/closed/wall/mineral/plastitanium, /obj/structure/falsewall/plastitanium
SMOOTH_GROUP_SANDBAGS
obj/structure/barricade/sandbags
SMOOTH_GROUP_SANDSTONE_WALLS
turf/closed/wall/mineral/sandstone, /obj/structure/falsewall/sandstone
SMOOTH_GROUP_SECURITY_BARRICADE
obj/structure/barricade/security
SMOOTH_GROUP_SHUTTLE_PARTS
obj/structure/window/reinforced/shuttle, /obj/structure/window/reinforced/plasma/plastitanium, /turf/closed/indestructible/opsglass, /obj/machinery/power/shuttle_engine
SMOOTH_GROUP_SILVER_WALLS
turf/closed/wall/mineral/silver, /obj/structure/falsewall/silver
SMOOTH_GROUP_SURVIVAL_TITANIUM_POD
turf/closed/wall/mineral/titanium/survival/pod, /obj/machinery/door/airlock/survival_pod, /obj/structure/window/reinforced/shuttle/survival_pod
SMOOTH_GROUP_SURVIVAL_TITANIUM_WALLS
turf/closed/wall/mineral/titanium/survival
SMOOTH_GROUP_SYNDICATE_WALLS
turf/closed/wall/r_wall/syndicate, /turf/closed/indestructible/syndicate
SMOOTH_GROUP_TABLES
obj/structure/table
SMOOTH_GROUP_TITANIUM_WALLS
turf/closed/wall/mineral/titanium, /obj/structure/falsewall/titanium
SMOOTH_GROUP_TURF_BALLPIT
turf/open/floor/ballpit
SMOOTH_GROUP_TURF_CHASM
turf/open/chasm, /turf/open/floor/fakepit
SMOOTH_GROUP_TURF_OPEN
turf/open
SMOOTH_GROUP_TURF_OPEN_CLIFF
turf/open/cliff
SMOOTH_GROUP_URANIUM_WALLS
turf/closed/wall/mineral/uranium, /obj/structure/falsewall/uranium
SMOOTH_GROUP_WALLS
turf/closed/wall, /obj/structure/falsewall
SMOOTH_GROUP_WINDOW_DIRECTIONAL_TRAM
obj/structure/tram
SMOOTH_GROUP_WINDOW_FULLTILE
turf/closed/indestructible/fakeglass, /obj/structure/window/fulltile, /obj/structure/window/reinforced/fulltile, /obj/structure/window/reinforced/tinted/fulltile, /obj/structure/window/plasma/fulltile, /obj/structure/window/reinforced/plasma/fulltile
SMOOTH_GROUP_WINDOW_FULLTILE_BRONZE
obj/structure/window/bronze/fulltile
SMOOTH_GROUP_WINDOW_FULLTILE_PLASTITANIUM
turf/closed/indestructible/opsglass, /obj/structure/window/reinforced/plasma/plastitanium
SMOOTH_GROUP_WINDOW_FULLTILE_SHUTTLE
obj/structure/window/reinforced/shuttle
SMOOTH_GROUP_WOOD_TABLES
obj/structure/table/wood
SMOOTH_GROUP_WOOD_WALLS
turf/closed/wall/mineral/wood, /obj/structure/falsewall/wood
SMOOTH_OBJ
Smooths with objects, and will thus need to scan turfs for contents.
SMOOTH_QUEUED
Atom is currently queued to smooth.
S_TURF
*SMOOTHING GROUPS
- Groups of things to smooth with.
-
- Contained in the
list/smoothing_groups
variable.
- Contained in the
-
- Matched with the
list/canSmoothWith
variable to check whether smoothing is possible or not.
- Matched with the
UNWRAP_SMOOTHING_GROUPS
Given a smoothing groups variable, will set out to the actual numbers inside it