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

@@ -19,6 +19,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<UseVSHostingProcess>false</UseVSHostingProcess>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -28,6 +29,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<UseVSHostingProcess>false</UseVSHostingProcess>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />

View File

@@ -28,6 +28,10 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="MixDecrypt, Version=0.0.0.0, Culture=neutral, processorArchitecture=x86">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\release\MixDecrypt.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Drawing" />
@@ -51,10 +55,6 @@
<Compile Include="Tuple.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\MixDecrypt\MixDecrypt.vcproj">
<Project>{6F5D4280-3D23-41FF-AE2A-511B5553E377}</Project>
<Name>MixDecrypt</Name>
</ProjectReference>
<ProjectReference Include="..\OpenRa.Core\OpenRa.Core.csproj">
<Project>{1B60782F-B2DD-43F1-B51D-B798485F317C}</Project>
<Name>OpenRa.Core</Name>

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