don't hardcode the RALoadScreenImage

This commit is contained in:
Matthias Mailänder
2013-01-26 15:38:26 +01:00
parent 527790f962
commit d61cc913c0
2 changed files with 2 additions and 1 deletions

View File

@@ -41,7 +41,7 @@ namespace OpenRA.Mods.RA
r = Game.Renderer; r = Game.Renderer;
if (r == null) return; if (r == null) return;
var s = new Sheet("mods/ra/uibits/loadscreen.png"); var s = new Sheet(Info["LoadScreenImage"]);
Logo = new Sprite(s, new Rectangle(0,0,256,256), TextureChannel.Alpha); Logo = new Sprite(s, new Rectangle(0,0,256,256), TextureChannel.Alpha);
Stripe = new Sprite(s, new Rectangle(256,0,256,256), TextureChannel.Alpha); Stripe = new Sprite(s, new Rectangle(256,0,256,256), TextureChannel.Alpha);
StripeRect = new Rectangle(0, Renderer.Resolution.Height/2 - 128, Renderer.Resolution.Width, 256); StripeRect = new Rectangle(0, Renderer.Resolution.Height/2 - 128, Renderer.Resolution.Width, 256);

View File

@@ -92,6 +92,7 @@ Movies:
mods/ra/movies2.yaml mods/ra/movies2.yaml
LoadScreen: RALoadScreen LoadScreen: RALoadScreen
LoadScreenImage: mods/ra/uibits/loadscreen.png
InstallerMenuWidget: INSTALL_PANEL InstallerMenuWidget: INSTALL_PANEL
TestFile: redalert.mix TestFile: redalert.mix
PackageURL: http://open-ra.org/get-dependency.php?file=ra-packages PackageURL: http://open-ra.org/get-dependency.php?file=ra-packages