Unbreak cnc, defaultmod

This commit is contained in:
Paul Chote
2010-08-25 18:09:20 +12:00
parent b6b4df703a
commit 4e86f5b252
4 changed files with 25 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
#region Copyright & License Information
/*
* Copyright 2007-2010 The OpenRA Developers (see AUTHORS)
* This file is part of OpenRA, which is free software. It is made
* available to you under the terms of the GNU General Public License
* as published by the Free Software Foundation. For more information,
* see LICENSE.
*/
#endregion
namespace OpenRA.Mods.RA
{
public class NullLoadScreen : ILoadScreen
{
public void Display()
{
Game.Renderer.BeginFrame(float2.Zero);
Game.Renderer.EndFrame();
}
}
}

View File

@@ -240,6 +240,7 @@
<Compile Include="LocalPlayerFromMap.cs" /> <Compile Include="LocalPlayerFromMap.cs" />
<Compile Include="HackyAI.cs" /> <Compile Include="HackyAI.cs" />
<Compile Include="RALoadScreen.cs" /> <Compile Include="RALoadScreen.cs" />
<Compile Include="NullLoadScreen.cs" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\OpenRA.FileFormats\OpenRA.FileFormats.csproj"> <ProjectReference Include="..\OpenRA.FileFormats\OpenRA.FileFormats.csproj">

View File

@@ -64,4 +64,5 @@ TileSets:
mods/cnc/tileset-win.yaml: Winter mods/cnc/tileset-win.yaml: Winter
mods/cnc/tileset-tem.yaml: Temperate mods/cnc/tileset-tem.yaml: Temperate
LoadScreen: NullLoadScreen
ShellmapUid:d715c86d9d49d153756b86ef87a825ea8fae6756 ShellmapUid:d715c86d9d49d153756b86ef87a825ea8fae6756

View File

@@ -28,4 +28,5 @@ Chrome:
ChromeLayout: ChromeLayout:
mods/default/menus.yaml: mods/default/menus.yaml:
LoadScreen: NullLoadScreen
ShellmapUid: 95c34889e85a903d7dbb41f13d6c373b44a8b62e ShellmapUid: 95c34889e85a903d7dbb41f13d6c373b44a8b62e