Shift loadscreen into mods

This commit is contained in:
Paul Chote
2010-08-25 18:04:01 +12:00
parent b17e6900ec
commit b6b4df703a
7 changed files with 77 additions and 40 deletions

View File

@@ -45,7 +45,7 @@ namespace OpenRA.Graphics
static void LoadSequencesForCursor(XmlElement eCursor)
{
Viewport.DrawLoadScreen();
Game.modData.LoadScreen.Display();
string cursorSrc = eCursor.GetAttribute("src");
string palette = eCursor.GetAttribute("palette");
@@ -56,7 +56,7 @@ namespace OpenRA.Graphics
static void LoadSequencesForUnit(XmlElement eUnit)
{
Viewport.DrawLoadScreen();
Game.modData.LoadScreen.Display();
string unitName = eUnit.GetAttribute("name");
try {
var sequences = eUnit.SelectNodes("./sequence").OfType<XmlElement>()