Rework RA Chrome in preparation for UI scaling.

This commit is contained in:
Paul Chote
2020-01-12 16:58:26 +00:00
committed by abcdefg30
parent d622015b59
commit 1282650274
21 changed files with 413 additions and 423 deletions

View File

@@ -48,7 +48,7 @@ namespace OpenRA.Mods.Common.LoadScreens
sheet = new Sheet(SheetType.BGRA, stream);
logo = new Sprite(sheet, new Rectangle(0, 0, 256, 256), TextureChannel.RGBA);
stripe = new Sprite(sheet, new Rectangle(256, 0, 256, 256), TextureChannel.RGBA);
stripe = new Sprite(sheet, new Rectangle(258, 0, 253, 256), TextureChannel.RGBA);
stripeRect = new Rectangle(0, r.Resolution.Height / 2 - 128, r.Resolution.Width, 256);
logoPos = new float2(r.Resolution.Width / 2 - 128, r.Resolution.Height / 2 - 128);
}