rooms and corridors
This commit is contained in:
parent
ee42010866
commit
519b7518ff
1 changed files with 21 additions and 5 deletions
|
@ -535,8 +535,12 @@ namespace Sledgemapper
|
||||||
_spriteBatch.Begin(transformMatrix: Matrix.CreateTranslation(_viewportCenter));
|
_spriteBatch.Begin(transformMatrix: Matrix.CreateTranslation(_viewportCenter));
|
||||||
|
|
||||||
DrawTiles();
|
DrawTiles();
|
||||||
DrawLines();
|
|
||||||
DrawRooms();
|
|
||||||
|
DrawBorderLines();
|
||||||
|
DrawBorderRooms();
|
||||||
|
DrawInnerLines();
|
||||||
|
DrawInnerRooms();
|
||||||
DrawWalls();
|
DrawWalls();
|
||||||
DrawOverlays();
|
DrawOverlays();
|
||||||
DrawNotes();
|
DrawNotes();
|
||||||
|
@ -1098,7 +1102,7 @@ namespace Sledgemapper
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void DrawLines()
|
private void DrawBorderLines()
|
||||||
{
|
{
|
||||||
// var borderRectangle = new Texture2D(GraphicsDevice, 1, 1);
|
// var borderRectangle = new Texture2D(GraphicsDevice, 1, 1);
|
||||||
// borderRectangle.SetData(new[] { _settings.OverlayTintColor });
|
// borderRectangle.SetData(new[] { _settings.OverlayTintColor });
|
||||||
|
@ -1164,7 +1168,12 @@ namespace Sledgemapper
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//inner pass
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void DrawInnerLines()
|
||||||
|
{
|
||||||
|
//inner pass
|
||||||
foreach (var tile in _sessionData.Lines.Values)
|
foreach (var tile in _sessionData.Lines.Values)
|
||||||
{
|
{
|
||||||
// var content = Content.Load<Texture2D>($"tiles/{tile.ID}");
|
// var content = Content.Load<Texture2D>($"tiles/{tile.ID}");
|
||||||
|
@ -1222,7 +1231,7 @@ namespace Sledgemapper
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void DrawRooms()
|
private void DrawBorderRooms()
|
||||||
{
|
{
|
||||||
// var borderRectangle = new Texture2D(GraphicsDevice, 1, 1);
|
// var borderRectangle = new Texture2D(GraphicsDevice, 1, 1);
|
||||||
// borderRectangle.SetData(new[] { _settings.OverlayTintColor });
|
// borderRectangle.SetData(new[] { _settings.OverlayTintColor });
|
||||||
|
@ -1311,6 +1320,13 @@ namespace Sledgemapper
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void DrawInnerRooms()
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
//inner pass
|
//inner pass
|
||||||
foreach (var tile in _sessionData.Rooms.Values)
|
foreach (var tile in _sessionData.Rooms.Values)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue