v1.4.4.1 (Blood in the Water Update)

This commit is contained in:
Regalis11
2024-04-24 18:09:05 +03:00
parent 89b91d1c3e
commit ff1b8951a7
397 changed files with 15250 additions and 6479 deletions
@@ -362,6 +362,13 @@ namespace Barotrauma
GUI.DrawLine(spriteBatch, new Vector2(edge.Point1.X + cell.Translation.X, -(edge.Point1.Y + cell.Translation.Y)),
new Vector2(edge.Point2.X + cell.Translation.X, -(edge.Point2.Y + cell.Translation.Y)), edge.NextToCave ? Color.Red : (cell.Body == null ? Color.Cyan * 0.5f : (edge.IsSolid ? Color.White : Color.Gray)),
width: edge.NextToCave ? 8 : 1);
Vector2 normal = edge.GetNormal(cell);
GUI.DrawLine(spriteBatch,
(edge.Center + cell.Translation).FlipY(),
(edge.Center + cell.Translation + normal * 32).FlipY(),
Color.Red * 0.5f,
width: 3);
}
foreach (Vector2 point in cell.BodyVertices)