Fix: if bootstrap failed, it could end with an empty screen instead of error

There are various of ways bootstrap can fail:
- Failing network connection
- Incomplete download
- No write permissions
- Disk full
- (others I forgot)

They all result in a screen with no windows. To ensure we at least
always show something when anything bad happens, if the bootstrap
is not successful, show a screen what the next step for the human
should be.
This commit is contained in:
Patric Stout
2021-03-13 12:26:06 +01:00
committed by Patric Stout
parent 13011e00c6
commit 22a9d921ef
3 changed files with 77 additions and 0 deletions

View File

@@ -2339,6 +2339,10 @@ STR_MISSING_GRAPHICS_SET_MESSAGE :{BLACK}OpenTTD
STR_MISSING_GRAPHICS_YES_DOWNLOAD :{BLACK}Yes, download the graphics
STR_MISSING_GRAPHICS_NO_QUIT :{BLACK}No, exit OpenTTD
STR_MISSING_GRAPHICS_ERROR_TITLE :{WHITE}Downloading failed
STR_MISSING_GRAPHICS_ERROR :{BLACK}Downloading graphics failed.{}Please download graphics manually.
STR_MISSING_GRAPHICS_ERROR_QUIT :{BLACK}Exit OpenTTD
# Transparency settings window
STR_TRANSPARENCY_CAPTION :{WHITE}Transparency Options
STR_TRANSPARENT_SIGNS_TOOLTIP :{BLACK}Toggle transparency for signs. Ctrl+Click to lock