Implement loading screens.
This commit is contained in:
@@ -1046,6 +1046,9 @@ scrollheader-selected: dialog.png
|
||||
logos: loadscreen.png
|
||||
logo: 0,0,256,256
|
||||
|
||||
loadscreen-stripe: loadscreen.png
|
||||
background: 256,0,256,256
|
||||
|
||||
mainmenu-border: dialog.png
|
||||
border-r: 728,427,40,40
|
||||
border-l: 648,427,40,40
|
||||
|
||||
37
mods/ra/chrome/gamesave-loading.yaml
Normal file
37
mods/ra/chrome/gamesave-loading.yaml
Normal file
@@ -0,0 +1,37 @@
|
||||
Container@GAMESAVE_LOADING_SCREEN:
|
||||
Logic: GameSaveLoadingLogic
|
||||
Width: WINDOW_RIGHT
|
||||
Height: WINDOW_BOTTOM
|
||||
Children:
|
||||
LogicKeyListener@CANCEL_HANDLER:
|
||||
Background@STRIPE:
|
||||
Y: (WINDOW_BOTTOM - HEIGHT) / 2
|
||||
Width: WINDOW_RIGHT
|
||||
Height: 256
|
||||
Background: loadscreen-stripe
|
||||
Image@LOGO:
|
||||
X: (WINDOW_RIGHT - 256) / 2
|
||||
Y: (WINDOW_BOTTOM - 256) / 2
|
||||
ImageCollection: logos
|
||||
ImageName: logo
|
||||
Label@TITLE:
|
||||
Width: WINDOW_RIGHT
|
||||
Y: 3 * WINDOW_BOTTOM / 4 - 30
|
||||
Height: 25
|
||||
Font: Bold
|
||||
Align: Center
|
||||
Text: Loading Saved Game
|
||||
ProgressBar@PROGRESS:
|
||||
X: (WINDOW_RIGHT - 500) / 2
|
||||
Y: 3 * WINDOW_BOTTOM / 4
|
||||
Width: 500
|
||||
Height: 20
|
||||
Background: observer-scrollpanel-button-pressed
|
||||
Bar: observer-scrollpanel-button
|
||||
Label@DESC:
|
||||
Width: WINDOW_RIGHT
|
||||
Y: 3 * WINDOW_BOTTOM / 4 + 20
|
||||
Height: 25
|
||||
Font: Regular
|
||||
Align: Center
|
||||
Text: Press Escape to cancel loading and return to the main menu
|
||||
@@ -114,6 +114,7 @@ ChromeLayout:
|
||||
common|chrome/multiplayer-directconnect.yaml
|
||||
common|chrome/connection.yaml
|
||||
common|chrome/replaybrowser.yaml
|
||||
ra|chrome/gamesave-loading.yaml
|
||||
common|chrome/dropdowns.yaml
|
||||
common|chrome/musicplayer.yaml
|
||||
common|chrome/tooltips.yaml
|
||||
|
||||
Reference in New Issue
Block a user