git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1278 993157c7-ee19-0410-b2c4-bb4e9862e678
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user