Daedalus Dock - Modules - TypesDefine Details

code/__DEFINES/icon_smoothing.dm

SMOOTH_CORNERSSmoothing system in where adjacencies are calculated and used to build an image by mounting each corner at runtime.
SMOOTH_BITMASKSmoothing system in where adjacencies are calculated and used to select a pre-baked icon_state, encoded by bitmasking.
SMOOTH_BORDERAtom will smooth with the borders of the map.
SMOOTH_QUEUEDAtom is currently queued to smooth.
SMOOTH_OBJSmooths with objects, and will thus need to scan turfs for contents.
S_TURF*SMOOTHING GROUPS
SMOOTH_GROUP_TURF_OPENturf/open
SMOOTH_GROUP_TURF_CHASMturf/open/chasm, /turf/open/floor/fakepit
SMOOTH_GROUP_FLOOR_LAVAturf/open/lava/smooth
SMOOTH_GROUP_FLOOR_TRANSPARENT_GLASSturf/open/floor/glass
SMOOTH_GROUP_OPEN_FLOORturf/open/floor
SMOOTH_GROUP_FLOOR_GRASSturf/open/misc/grass
SMOOTH_GROUP_FLOOR_ASHturf/open/misc/ashplanet/ash
SMOOTH_GROUP_FLOOR_ASH_ROCKYturf/open/misc/ashplanet/rocky
SMOOTH_GROUP_FLOOR_ICEturf/open/misc/ice
SMOOTH_GROUP_FLOOR_SNOWEDturf/open/floor/plating/snowed
SMOOTH_GROUP_CARPETturf/open/floor/carpet
SMOOTH_GROUP_CARPET_BLACKturf/open/floor/carpet/black
SMOOTH_GROUP_CARPET_BLUEturf/open/floor/carpet/blue
SMOOTH_GROUP_CARPET_CYANturf/open/floor/carpet/cyan
SMOOTH_GROUP_CARPET_GREENturf/open/floor/carpet/green
SMOOTH_GROUP_CARPET_ORANGEturf/open/floor/carpet/orange
SMOOTH_GROUP_CARPET_PURPLEturf/open/floor/carpet/purple
SMOOTH_GROUP_CARPET_REDturf/open/floor/carpet/red
SMOOTH_GROUP_CARPET_ROYAL_BLACKturf/open/floor/carpet/royalblack
SMOOTH_GROUP_CARPET_ROYAL_BLUEturf/open/floor/carpet/royalblue
SMOOTH_GROUP_CARPET_EXECUTIVEturf/open/floor/carpet/executive
SMOOTH_GROUP_CARPET_STELLARturf/open/floor/carpet/stellar
SMOOTH_GROUP_CARPET_DONKturf/open/floor/carpet/donk
SMOOTH_GROUP_CARPET_NEONturf/open/floor/carpet/neon
SMOOTH_GROUP_CARPET_SIMPLE_NEONturf/open/floor/carpet/neon/simple
SMOOTH_GROUP_CARPET_SIMPLE_NEON_WHITEturf/open/floor/carpet/neon/simple/white
SMOOTH_GROUP_CARPET_SIMPLE_NEON_BLACKturf/open/floor/carpet/neon/simple/black
SMOOTH_GROUP_CARPET_SIMPLE_NEON_REDturf/open/floor/carpet/neon/simple/red
SMOOTH_GROUP_CARPET_SIMPLE_NEON_ORANGEturf/open/floor/carpet/neon/simple/orange
SMOOTH_GROUP_CARPET_SIMPLE_NEON_YELLOWturf/open/floor/carpet/neon/simple/yellow
SMOOTH_GROUP_CARPET_SIMPLE_NEON_LIMEturf/open/floor/carpet/neon/simple/lime
SMOOTH_GROUP_CARPET_SIMPLE_NEON_GREENturf/open/floor/carpet/neon/simple/green
SMOOTH_GROUP_CARPET_SIMPLE_NEON_TEALturf/open/floor/carpet/neon/simple/teal
SMOOTH_GROUP_CARPET_SIMPLE_NEON_CYANturf/open/floor/carpet/neon/simple/cyan
SMOOTH_GROUP_CARPET_SIMPLE_NEON_BLUEturf/open/floor/carpet/neon/simple/blue
SMOOTH_GROUP_CARPET_SIMPLE_NEON_PURPLEturf/open/floor/carpet/neon/simple/purple
SMOOTH_GROUP_CARPET_SIMPLE_NEON_VIOLETturf/open/floor/carpet/neon/simple/violet
SMOOTH_GROUP_CARPET_SIMPLE_NEON_PINKturf/open/floor/carpet/neon/simple/pink
SMOOTH_GROUP_CARPET_SIMPLE_NEON_NODOTSturf/open/floor/carpet/neon/simple/nodots
SMOOTH_GROUP_CARPET_SIMPLE_NEON_WHITE_NODOTSturf/open/floor/carpet/neon/simple/white/nodots
SMOOTH_GROUP_CARPET_SIMPLE_NEON_BLACK_NODOTSturf/open/floor/carpet/neon/simple/black/nodots
SMOOTH_GROUP_CARPET_SIMPLE_NEON_RED_NODOTSturf/open/floor/carpet/neon/simple/red/nodots
SMOOTH_GROUP_CARPET_SIMPLE_NEON_ORANGE_NODOTSturf/open/floor/carpet/neon/simple/orange/nodots
SMOOTH_GROUP_CARPET_SIMPLE_NEON_YELLOW_NODOTSturf/open/floor/carpet/neon/simple/yellow/nodots
SMOOTH_GROUP_CARPET_SIMPLE_NEON_LIME_NODOTSturf/open/floor/carpet/neon/simple/lime/nodots
SMOOTH_GROUP_CARPET_SIMPLE_NEON_GREEN_NODOTSturf/open/floor/carpet/neon/simple/green/nodots
SMOOTH_GROUP_CARPET_SIMPLE_NEON_TEAL_NODOTSturf/open/floor/carpet/neon/simple/teal/nodots
SMOOTH_GROUP_CARPET_SIMPLE_NEON_CYAN_NODOTSturf/open/floor/carpet/neon/simple/cyan/nodots
SMOOTH_GROUP_CARPET_SIMPLE_NEON_BLUE_NODOTSturf/open/floor/carpet/neon/simple/blue/nodots
SMOOTH_GROUP_CARPET_SIMPLE_NEON_PURPLE_NODOTSturf/open/floor/carpet/neon/simple/purple/nodots
SMOOTH_GROUP_CARPET_SIMPLE_NEON_VIOLET_NODOTSturf/open/floor/carpet/neon/simple/violet/nodots
SMOOTH_GROUP_CARPET_SIMPLE_NEON_PINK_NODOTSturf/open/floor/carpet/neon/simple/pink/nodots
SMOOTH_GROUP_BAMBOO_FLOOR/turf/open/floor/bamboo
SMOOTH_GROUP_CLOSED_TURFSturf/closed
SMOOTH_GROUP_SURVIVAL_TITANIUM_WALLSturf/closed/wall/mineral/titanium/survival
SMOOTH_GROUP_HOTEL_WALLSturf/closed/indestructible/hotelwall
SMOOTH_GROUP_MINERAL_WALLSturf/closed/mineral, /turf/closed/indestructible
SMOOTH_GROUP_BOSS_WALLSturf/closed/indestructible/riveted/boss
SMOOTH_GROUP_WALLSturf/closed/wall, /obj/structure/falsewall
SMOOTH_GROUP_HIERO_WALLobj/effect/temp_visual/elite_tumor_wall, /obj/effect/temp_visual/hierophant/wall
SMOOTH_GROUP_SURVIVAL_TITANIUM_PODturf/closed/wall/mineral/titanium/survival/pod, /obj/machinery/door/airlock/survival_pod, /obj/structure/window/reinforced/shuttle/survival_pod
SMOOTH_GROUP_PAPERFRAMEobj/structure/window/paperframe, /obj/structure/mineral_door/paperframe
SMOOTH_GROUP_WINDOW_FULLTILEturf/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_BRONZEobj/structure/window/bronze/fulltile
SMOOTH_GROUP_WINDOW_FULLTILE_PLASTITANIUMturf/closed/indestructible/opsglass, /obj/structure/window/reinforced/plasma/plastitanium
SMOOTH_GROUP_WINDOW_FULLTILE_SHUTTLEobj/structure/window/reinforced/shuttle
SMOOTH_GROUP_LATTICEobj/structure/lattice
SMOOTH_GROUP_CATWALKobj/structure/lattice/catwalk
SMOOTH_GROUP_GRILLEobj/structure/grille
SMOOTH_GROUP_LOW_WALLobj/structure/low_wall
SMOOTH_GROUP_AIRLOCKobj/machinery/door/airlock
SMOOTH_GROUP_SHUTTERS_BLASTDOORSobj/machinery/door/poddoor
SMOOTH_GROUP_TABLESobj/structure/table
SMOOTH_GROUP_WOOD_TABLESobj/structure/table/wood
SMOOTH_GROUP_FANCY_WOOD_TABLESobj/structure/table/wood/fancy
SMOOTH_GROUP_BRONZE_TABLESobj/structure/table/bronze
SMOOTH_GROUP_ABDUCTOR_TABLESobj/structure/table/abductor
SMOOTH_GROUP_GLASS_TABLESobj/structure/table/glass
SMOOTH_GROUP_ALIEN_NESTobj/structure/bed/nest
SMOOTH_GROUP_ALIEN_RESINobj/structure/alien/resin
SMOOTH_GROUP_ALIEN_WALLSobj/structure/alien/resin/wall, /obj/structure/alien/resin/membrane
SMOOTH_GROUP_ALIEN_WEEDSobj/structure/alien/weeds
SMOOTH_GROUP_SECURITY_BARRICADEobj/structure/barricade/security
SMOOTH_GROUP_SANDBAGSobj/structure/barricade/sandbags
SMOOTH_GROUP_HEDGE_FLUFFobj/structure/hedge
SMOOTH_GROUP_SHUTTLE_PARTSturf/closed/indestructible/opsglass, /obj/structure/shuttle, /obj/structure/window/reinforced/shuttle/survival_pod
SMOOTH_GROUP_CLEANABLE_DIRTobj/effect/decal/cleanable/dirt
SMOOTH_GROUP_INDUSTRIAL_LIFTobj/structure/industrial_lift
SETUP_SMOOTHINGPerforms the work to set smoothing_groups and canSmoothWith. An inlined function used in both turf/Initialize and atom/Initialize.
UNWRAP_SMOOTHING_GROUPSGiven a smoothing groups variable, will set out to the actual numbers inside it

Define Details

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_CORNERS

Smoothing system in where adjacencies are calculated and used to build an image by mounting each corner at runtime.

SMOOTH_GROUP_ABDUCTOR_TABLES

obj/structure/table/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

/turf/open/floor/bamboo

SMOOTH_GROUP_BOSS_WALLS

turf/closed/indestructible/riveted/boss

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

turf/open/floor/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/floor/carpet/royalblack

SMOOTH_GROUP_CARPET_ROYAL_BLUE

turf/open/floor/carpet/royalblue

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_CLOSED_TURFS

turf/closed

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_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/industrial_lift

SMOOTH_GROUP_LATTICE

obj/structure/lattice

SMOOTH_GROUP_LOW_WALL

obj/structure/low_wall

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_SANDBAGS

obj/structure/barricade/sandbags

SMOOTH_GROUP_SECURITY_BARRICADE

obj/structure/barricade/security

SMOOTH_GROUP_SHUTTERS_BLASTDOORS

obj/machinery/door/poddoor

SMOOTH_GROUP_SHUTTLE_PARTS

turf/closed/indestructible/opsglass, /obj/structure/shuttle, /obj/structure/window/reinforced/shuttle/survival_pod

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_TABLES

obj/structure/table

SMOOTH_GROUP_TURF_CHASM

turf/open/chasm, /turf/open/floor/fakepit

SMOOTH_GROUP_TURF_OPEN

turf/open

SMOOTH_GROUP_WALLS

turf/closed/wall, /obj/structure/falsewall

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_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

UNWRAP_SMOOTHING_GROUPS

Given a smoothing groups variable, will set out to the actual numbers inside it