From c9d34f890729b1c09bfb9c84e7b75f382ad13956 Mon Sep 17 00:00:00 2001
From: "(no author)" <(no author)@993157c7-ee19-0410-b2c4-bb4e9862e678>
Date: Sun, 15 Jul 2007 16:31:34 +0000
Subject: [PATCH] git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1278
993157c7-ee19-0410-b2c4-bb4e9862e678
---
.../OpenRa.BlockCacheVisualizer.csproj | 2 ++
OpenRa.FileFormats/OpenRa.FileFormats.csproj | 8 ++++----
OpenRa.Game/OpenRa.Game.csproj | 2 +-
OpenRa.Game/Sidebar.cs | 4 ++--
OpenRa.Game/TerrainRenderer.cs | 2 +-
OpenRa.Game/World.cs | 2 +-
6 files changed, 11 insertions(+), 9 deletions(-)
diff --git a/OpenRa.BlockCacheVisualizer/OpenRa.BlockCacheVisualizer.csproj b/OpenRa.BlockCacheVisualizer/OpenRa.BlockCacheVisualizer.csproj
index 3d1d52c839..7bcfeef9bb 100644
--- a/OpenRa.BlockCacheVisualizer/OpenRa.BlockCacheVisualizer.csproj
+++ b/OpenRa.BlockCacheVisualizer/OpenRa.BlockCacheVisualizer.csproj
@@ -19,6 +19,7 @@
prompt
4
true
+ false
pdbonly
@@ -28,6 +29,7 @@
prompt
4
true
+ false
diff --git a/OpenRa.FileFormats/OpenRa.FileFormats.csproj b/OpenRa.FileFormats/OpenRa.FileFormats.csproj
index 88233e0e8d..200e98133b 100644
--- a/OpenRa.FileFormats/OpenRa.FileFormats.csproj
+++ b/OpenRa.FileFormats/OpenRa.FileFormats.csproj
@@ -28,6 +28,10 @@
4
+
+ False
+ ..\release\MixDecrypt.dll
+
@@ -51,10 +55,6 @@
-
- {6F5D4280-3D23-41FF-AE2A-511B5553E377}
- MixDecrypt
-
{1B60782F-B2DD-43F1-B51D-B798485F317C}
OpenRa.Core
diff --git a/OpenRa.Game/OpenRa.Game.csproj b/OpenRa.Game/OpenRa.Game.csproj
index 243e37438d..5a012a8d96 100644
--- a/OpenRa.Game/OpenRa.Game.csproj
+++ b/OpenRa.Game/OpenRa.Game.csproj
@@ -29,7 +29,7 @@
4
-
+
False
..\release\BluntDx.dll
diff --git a/OpenRa.Game/Sidebar.cs b/OpenRa.Game/Sidebar.cs
index 0ee8d6bb71..41eeb09dda 100644
--- a/OpenRa.Game/Sidebar.cs
+++ b/OpenRa.Game/Sidebar.cs
@@ -74,8 +74,8 @@ namespace OpenRa.Game
DrawSprite( sprite, ref unitPos );
}
- Fill(viewport.Size.Y, buildPos);
- Fill(viewport.Size.Y, unitPos);
+ Fill( viewport.Location.Y + viewport.Size.Y, buildPos );
+ Fill( viewport.Location.Y + viewport.Size.Y, unitPos );
spriteRenderer.Flush();
}
diff --git a/OpenRa.Game/TerrainRenderer.cs b/OpenRa.Game/TerrainRenderer.cs
index 6852667354..373d39191b 100644
--- a/OpenRa.Game/TerrainRenderer.cs
+++ b/OpenRa.Game/TerrainRenderer.cs
@@ -58,7 +58,7 @@ namespace OpenRa.Game
indexBuffer.SetData(indices.ToArray());
}
- public void Draw()
+ void Draw()
{
int indicesPerRow = map.Width * 6;
int verticesPerRow = map.Width * 4;
diff --git a/OpenRa.Game/World.cs b/OpenRa.Game/World.cs
index 9db54e48da..4445791673 100644
--- a/OpenRa.Game/World.cs
+++ b/OpenRa.Game/World.cs
@@ -25,7 +25,7 @@ namespace OpenRa.Game
public void Add(Actor a) { actors.Add(a); }
- public void Draw()
+ void Draw()
{
Range range = new Range(viewport.Location, viewport.Location + viewport.Size);