lots of experimental bits

This commit is contained in:
Chris Forbes
2010-02-28 22:43:54 +13:00
parent e7b48c7ea6
commit 45a4fa110e
22 changed files with 166 additions and 14 deletions

View File

@@ -21,6 +21,7 @@
using System.Drawing;
using OpenRA.FileFormats;
using OpenRA.FileFormats.Graphics;
using OpenRA.Traits;
namespace OpenRA.Graphics
{
@@ -104,6 +105,9 @@ namespace OpenRA.Graphics
new Range<int>(indicesPerRow * firstRow, indicesPerRow * lastRow),
terrainSheet.Texture, PrimitiveType.TriangleList, renderer.SpriteShader));
foreach (var r in Game.world.WorldActor.traits.WithInterface<IRenderOverlay>())
r.Render();
overlayRenderer.Draw();
}
}