]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Reduce explosion airtight cache memory usage (#40912)
authorPieter-Jan Briers <pieterjan.briers+git@gmail.com>
Wed, 3 Dec 2025 15:52:25 +0000 (16:52 +0100)
committerGitHub <noreply@github.com>
Wed, 3 Dec 2025 15:52:25 +0000 (15:52 +0000)
commit42b33ddd935b5b255eaac049331f3c42f9af5176
treece9ee40bdc36497194f22be7bb45939685b704bf
parentd0a784b9e63c75c1c3e7c9207cc4a59657ca94ef
Reduce explosion airtight cache memory usage (#40912)

* Reduce explosion airtight cache memory usage

This means you can happily add explosion prototypes again

New approach has the tolerance value data in a shared storage with reference counting.

* Oops fix index removal

* Remove debug code and fix merge conflicts

* Also address my other review

* Oh it's in two places lmao

---------

Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
Content.Server/Explosion/Components/ExplosionAirtightGridComponent.cs [new file with mode: 0644]
Content.Server/Explosion/EntitySystems/ExplosionGridTileFlood.cs
Content.Server/Explosion/EntitySystems/ExplosionSystem.Airtight.cs
Content.Server/Explosion/EntitySystems/ExplosionSystem.GridMap.cs
Content.Server/Explosion/EntitySystems/ExplosionSystem.TileFill.cs
Content.Server/Explosion/EntitySystems/ExplosionSystem.cs
Resources/Prototypes/explosion.yml