SIMD-accelerated gas mixtures. (SIMD atmos) (#2479)
* SIMD atmos * Moles will always be a multiple of four. * Component dependencies for grid atmos. * Let's optimize allocations while we're at it! * Inline this * A bunch of atmos optimizations * Fix crimes against atmos * Microsoft moment * Remove nuget.config * do not reference Robust.UnitTests in Content.Benchmarks as it's unneeded. * Revert "Remove nuget.config" This reverts commit 872604ae6a51365af4075bb23687bd005befd8ac. * Gas overlay optimization and fixes * Lattice is now spess * minor atmos tweaks
This commit is contained in:
committed by
GitHub
parent
89f72c4cb2
commit
b18ee3ec49
@@ -25,6 +25,7 @@ namespace Content.Shared.Maps
|
||||
public float Friction { get; set; }
|
||||
public float ThermalConductivity { get; set; }
|
||||
public string ItemDropPrototypeName { get; private set; }
|
||||
public bool IsSpace { get; private set; }
|
||||
|
||||
public void AssignTileId(ushort id)
|
||||
{
|
||||
@@ -47,6 +48,11 @@ namespace Content.Shared.Maps
|
||||
else
|
||||
BaseTurfs = new List<string>();
|
||||
|
||||
if (mapping.TryGetNode("is_space", out node))
|
||||
{
|
||||
IsSpace = node.AsBool();
|
||||
}
|
||||
|
||||
if (mapping.TryGetNode("can_crowbar", out node))
|
||||
{
|
||||
CanCrowbar = node.AsBool();
|
||||
|
||||
Reference in New Issue
Block a user