Spectating, fire, damaged limb sprites, water detector, engineer jumpsuit, new signal comp sprites, resharper cleanup (god knows what else, commit more often)

This commit is contained in:
Regalis
2015-11-10 22:22:26 +02:00
parent cd48d12be6
commit 4d949e3be1
89 changed files with 977 additions and 622 deletions
+4
View File
@@ -42,6 +42,10 @@ namespace Barotrauma
return (IsValid(vector.X) && IsValid(vector.Y));
}
public static Rectangle ExpandRect(Rectangle rect, int amount)
{
return new Rectangle(rect.X - amount, rect.Y + amount, rect.Width + amount * 2, rect.Height + amount * 2);
}
public static int VectorOrientation(Vector2 p1, Vector2 p2, Vector2 p)
{
-1
View File
@@ -179,7 +179,6 @@ namespace Barotrauma
var attribute = element.Attribute(name);
if (attribute == null) return defaultValue;
string val = attribute.Value.ToLower().Trim();
return GetAttributeBool(attribute, defaultValue);
}