Unbreak cnc, defaultmod
This commit is contained in:
22
OpenRA.Mods.RA/NullLoadScreen.cs
Normal file
22
OpenRA.Mods.RA/NullLoadScreen.cs
Normal 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();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@@ -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">
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -28,4 +28,5 @@ Chrome:
|
|||||||
ChromeLayout:
|
ChromeLayout:
|
||||||
mods/default/menus.yaml:
|
mods/default/menus.yaml:
|
||||||
|
|
||||||
|
LoadScreen: NullLoadScreen
|
||||||
ShellmapUid: 95c34889e85a903d7dbb41f13d6c373b44a8b62e
|
ShellmapUid: 95c34889e85a903d7dbb41f13d6c373b44a8b62e
|
||||||
Reference in New Issue
Block a user