mirror of https://github.com/OpenTTD/OpenTTD
Change: Move OpenTTD version to intro viewport. (#14233)
This stops the length of the game version from affecting the main menu.pull/14253/head
parent
03116ea878
commit
b38527ca05
|
@ -2195,7 +2195,8 @@ STR_VIDEO_DRIVER_ERROR_NO_HARDWARE_ACCELERATION :{WHITE}... no c
|
|||
STR_VIDEO_DRIVER_ERROR_HARDWARE_ACCELERATION_CRASH :{WHITE}... GPU driver crashed the game. Hardware acceleration disabled
|
||||
|
||||
# Intro window
|
||||
STR_INTRO_CAPTION :{WHITE}OpenTTD {REV}
|
||||
STR_INTRO_CAPTION :{WHITE}OpenTTD
|
||||
STR_INTRO_VERSION :OpenTTD {REV}
|
||||
|
||||
STR_INTRO_NEW_GAME :{BLACK}New Game
|
||||
STR_INTRO_LOAD_GAME :{BLACK}Load Game
|
||||
|
|
|
@ -270,6 +270,9 @@ struct MainWindow : Window
|
|||
DrawSprite(sprite, PAL_NONE, off_x, ScaleGUITrad(50));
|
||||
off_x += GetSpriteSize(sprite).width + letter_spacing;
|
||||
}
|
||||
|
||||
int text_y = this->height - GetCharacterHeight(FS_NORMAL) * 2;
|
||||
DrawString(0, this->width - 1, text_y, STR_INTRO_VERSION, TC_WHITE, SA_CENTER);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue