git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1278 993157c7-ee19-0410-b2c4-bb4e9862e678

This commit is contained in:
(no author)
2007-07-15 16:31:34 +00:00
parent ee55ffe097
commit c9d34f8907
6 changed files with 11 additions and 9 deletions

View File

@@ -29,7 +29,7 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="BluntDx, Version=1.0.2750.2905, Culture=neutral, processorArchitecture=x86">
<Reference Include="BluntDx, Version=1.0.2752.7426, Culture=neutral, processorArchitecture=x86">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\release\BluntDx.dll</HintPath>
</Reference>

View File

@@ -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();
}

View File

@@ -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;

View File

@@ -25,7 +25,7 @@ namespace OpenRa.Game
public void Add(Actor a) { actors.Add(a); }
public void Draw()
void Draw()
{
Range<float2> range = new Range<float2>(viewport.Location, viewport.Location + viewport.Size);