Some cleanup

This commit is contained in:
juanjp600
2017-06-23 17:48:49 -03:00
parent d6d8a5b868
commit b7a0bff294
37 changed files with 43 additions and 212 deletions
+5
View File
@@ -60,6 +60,9 @@ namespace Barotrauma
return FilePath + ": " + sourceRect;
}
partial void LoadTexture(ref Vector4 sourceVector, ref bool shouldReturn);
partial void CalculateSourceRect();
public Sprite(XElement element, string path = "", string file = "")
{
if (file == "")
@@ -157,6 +160,8 @@ namespace Barotrauma
DisposeTexture();
}
partial void DisposeTexture();
}
}