Networking optimization/bugfixes (hull water volumes & wall damage are synced, more reliable inventory updates, AICharacter sync changes), proper particle collisions with walls

This commit is contained in:
Regalis
2015-09-25 18:56:39 +03:00
parent 3587b4a4bb
commit 53e729ea11
27 changed files with 50344 additions and 273 deletions

View File

@@ -29,6 +29,7 @@ namespace Subsurface.Particles
public readonly float GrowTime;
public readonly bool DeleteOnCollision;
public readonly bool CollidesWithWalls;
public readonly Vector2 VelocityChange;
@@ -100,6 +101,7 @@ namespace Subsurface.Particles
StartAlpha = ToolBox.GetAttributeFloat(element, "startalpha", 1.0f);
DeleteOnCollision = ToolBox.GetAttributeBool(element, "deleteoncollision", false);
CollidesWithWalls = ToolBox.GetAttributeBool(element, "collideswithwalls", false);
ColorChange = ToolBox.GetAttributeVector4(element, "colorchange", Vector4.Zero);