Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added Burg, Citadel and Tent to view.

  • Loading branch information...
commit 1dfde42006a31ee3cafb27d3e68abb2ab289b7a6 1 parent ef70902
@haeal authored
Showing with 12 additions and 0 deletions.
  1. +12 −0 src/BalorEditor/CustomComponents/WorldDisplay.cs
View
12 src/BalorEditor/CustomComponents/WorldDisplay.cs
@@ -69,6 +69,18 @@ private Bitmap DrawBitmap(int width, int height)
case WorldView.Material.Farmland:
g.FillRectangle(Brushes.Yellow, x * tileSize, y * tileSize, tileSize - 1, tileSize - 1);
break;
+ case WorldView.Material.Burg:
+ g.FillRectangle(Brushes.LightGray, x * tileSize, y * tileSize, tileSize - 1, tileSize - 1);
+ g.DrawLine(Pens.Black, x * tileSize, y * tileSize, x * tileSize + tileSize - 1, y * tileSize + tileSize - 1);
+ break;
+ case WorldView.Material.Citadel:
+ g.FillRectangle(Brushes.BurlyWood, x * tileSize, y * tileSize, tileSize - 1, tileSize - 1);
+ g.DrawLine(Pens.Black, x * tileSize, y * tileSize, x * tileSize + tileSize - 1, y * tileSize + tileSize - 1);
+ break;
+ case WorldView.Material.Tent:
+ g.FillRectangle(Brushes.LightYellow, x * tileSize, y * tileSize, tileSize - 1, tileSize - 1);
+ g.DrawLine(Pens.Black, x * tileSize, y * tileSize, x * tileSize + tileSize - 1, y * tileSize + tileSize - 1);
+ break;
}
//Draw any people that may exist on that tile.
Please sign in to comment.
Something went wrong with that request. Please try again.