]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Kills TurfHelpers (#37939)
authorTemporalOroboros <TemporalOroboros@gmail.com>
Sat, 21 Jun 2025 15:23:19 +0000 (08:23 -0700)
committerGitHub <noreply@github.com>
Sat, 21 Jun 2025 15:23:19 +0000 (11:23 -0400)
commitd4876be6f058ec54a5d7cab9d6d167b1bb5049af
treefd384a7409bb92ccbeec8fdfa1249928af7f1819
parent334dc61d4dd3480aaa194bdc80425738a7f37438
Kills TurfHelpers (#37939)

* Create TurfSystem equivalent for and obsolete TurfHelpers.GetTileRef

* Fix EntitySystem uses of TurfHelpers.GetTileRef

* Fix EntitySystem uses of TurfHelpers.TryGetTileRef

* Fix construction condition uses of TurfHelpers.GetTileRef

* Fix last use of TurfHelpers.IsBlockedTurf

* Create TurfSystem equivalent to and obsolete TurfHelpers.GetContentTileDefinition

* Fix uses of TurfHelpers.GetContentTileDefinition(TileRef)

* Fix uses of TurfHelpers.GetContentTileDefinition(Tile)

* Create TurfSystem equivalent to and obsolete TurfHelpers.IsSpace

* Fix EntitySystem uses of TurfHelpers.IsSpace(Tile)

* Fix EntitySystem uses of TurfHelpers.IsSpace(TileRef)

* Fix remaining uses of TurfHelpers.IsSpace

* Fix uses of TurfHelpers.GetEntitiesInTile

* Delete TurfHelpers.cs

* Add GetEntitiesInTile lookup methods

* Convert some GetEntitiesInTile methods to LookupSystem extension methods

* Use new GetEntitiesInTile methods

* Recycle spiderweb hashset

* Recycle floor tile hashset
37 files changed:
Content.Client/Mapping/MappingState.cs
Content.Server/Abilities/Mime/MimePowersSystem.cs
Content.Server/Administration/Commands/VariantizeCommand.cs
Content.Server/Chemistry/TileReactions/CreateEntityTileReaction.cs
Content.Server/Construction/Conditions/ComponentInTile.cs
Content.Server/Decals/Commands/AddDecalCommand.cs
Content.Server/Decals/DecalSystem.cs
Content.Server/Dragon/DragonSystem.cs
Content.Server/Electrocution/ElectrocutionSystem.cs
Content.Server/EntityEffects/EntityEffectSystem.cs
Content.Server/Explosion/EntitySystems/SmokeOnTriggerSystem.cs
Content.Server/Fluids/EntitySystems/PuddleSystem.cs
Content.Server/Nuke/NukeSystem.cs
Content.Server/Physics/Controllers/ConveyorController.cs
Content.Server/Pinpointer/NavMapSystem.cs
Content.Server/Procedural/DungeonJob/DungeonJob.Exterior.cs
Content.Server/Procedural/DungeonJob/DungeonJob.cs
Content.Server/Procedural/DungeonSystem.cs
Content.Server/Respawn/SpecialRespawnSystem.cs
Content.Server/Revenant/EntitySystems/RevenantSystem.cs
Content.Server/Shuttles/Systems/ShuttleSystem.FasterThanLight.cs
Content.Server/Shuttles/Systems/ShuttleSystem.Impact.cs
Content.Server/Shuttles/Systems/ShuttleSystem.cs
Content.Server/Shuttles/Systems/ThrusterSystem.cs
Content.Server/Spider/SpiderSystem.cs
Content.Server/Spreader/SpreaderSystem.cs
Content.Server/Worldgen/Systems/Debris/SimpleFloorPlanPopulatorSystem.cs
Content.Shared/Abilities/Goliath/GoliathTentacleSystem.cs
Content.Shared/Blocking/BlockingSystem.cs
Content.Shared/Construction/Conditions/TileNotBlocked.cs
Content.Shared/Construction/Conditions/TileType.cs
Content.Shared/Magic/SharedMagicSystem.cs
Content.Shared/Maps/TurfHelpers.cs [deleted file]
Content.Shared/Maps/TurfSystem.cs
Content.Shared/RCD/Systems/RCDSystem.cs
Content.Shared/Sound/SharedEmitSoundSystem.cs
Content.Shared/Tiles/FloorTileSystem.cs