git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1278 993157c7-ee19-0410-b2c4-bb4e9862e678
This commit is contained in:
@@ -19,6 +19,7 @@
|
|||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
|
<UseVSHostingProcess>false</UseVSHostingProcess>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
@@ -28,6 +29,7 @@
|
|||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
|
<UseVSHostingProcess>false</UseVSHostingProcess>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
|
|||||||
@@ -28,6 +28,10 @@
|
|||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<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" />
|
||||||
<Reference Include="System.Data" />
|
<Reference Include="System.Data" />
|
||||||
<Reference Include="System.Drawing" />
|
<Reference Include="System.Drawing" />
|
||||||
@@ -51,10 +55,6 @@
|
|||||||
<Compile Include="Tuple.cs" />
|
<Compile Include="Tuple.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<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">
|
<ProjectReference Include="..\OpenRa.Core\OpenRa.Core.csproj">
|
||||||
<Project>{1B60782F-B2DD-43F1-B51D-B798485F317C}</Project>
|
<Project>{1B60782F-B2DD-43F1-B51D-B798485F317C}</Project>
|
||||||
<Name>OpenRa.Core</Name>
|
<Name>OpenRa.Core</Name>
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<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>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\release\BluntDx.dll</HintPath>
|
<HintPath>..\release\BluntDx.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
|
|||||||
@@ -74,8 +74,8 @@ namespace OpenRa.Game
|
|||||||
DrawSprite( sprite, ref unitPos );
|
DrawSprite( sprite, ref unitPos );
|
||||||
}
|
}
|
||||||
|
|
||||||
Fill(viewport.Size.Y, buildPos);
|
Fill( viewport.Location.Y + viewport.Size.Y, buildPos );
|
||||||
Fill(viewport.Size.Y, unitPos);
|
Fill( viewport.Location.Y + viewport.Size.Y, unitPos );
|
||||||
|
|
||||||
spriteRenderer.Flush();
|
spriteRenderer.Flush();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ namespace OpenRa.Game
|
|||||||
indexBuffer.SetData(indices.ToArray());
|
indexBuffer.SetData(indices.ToArray());
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Draw()
|
void Draw()
|
||||||
{
|
{
|
||||||
int indicesPerRow = map.Width * 6;
|
int indicesPerRow = map.Width * 6;
|
||||||
int verticesPerRow = map.Width * 4;
|
int verticesPerRow = map.Width * 4;
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ namespace OpenRa.Game
|
|||||||
|
|
||||||
public void Add(Actor a) { actors.Add(a); }
|
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);
|
Range<float2> range = new Range<float2>(viewport.Location, viewport.Location + viewport.Size);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user