summaryrefslogtreecommitdiff
path: root/src/lang
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-03-08 15:42:39 +0100
committerGitHub <noreply@github.com>2021-03-08 15:42:39 +0100
commitb93d7dd3cbd6dae2011e7863ba8a7aa19614771e (patch)
tree83d4630bfbcafc4875479fe8f796f3a3c8703691 /src/lang
parent6e2a96c1333a0d383c7a0191c75dabd837feeeb5 (diff)
downloadopenttd-b93d7dd3cbd6dae2011e7863ba8a7aa19614771e.tar.xz
Add: Option to (dis-)allow accelerated video drivers. (#8819)
The video drivers using the OpenGL backend are currently our only accelerated drivers. The options defaults to off for macOS builds and to on everywhere else. Co-authored-by: Michael Lutz <michi@icosahedron.de>
Diffstat (limited to 'src/lang')
-rw-r--r--src/lang/english.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lang/english.txt b/src/lang/english.txt
index e47914fc0..1b47ec8de 100644
--- a/src/lang/english.txt
+++ b/src/lang/english.txt
@@ -1001,6 +1001,10 @@ STR_GAME_OPTIONS_RESOLUTION :{BLACK}Screen r
STR_GAME_OPTIONS_RESOLUTION_TOOLTIP :{BLACK}Select the screen resolution to use
STR_GAME_OPTIONS_RESOLUTION_OTHER :other
+STR_GAME_OPTIONS_VIDEO_ACCELERATION :{BLACK}Hardware acceleration
+STR_GAME_OPTIONS_VIDEO_ACCELERATION_TOOLTIP :{BLACK}Check this box to allow OpenTTD to try to use hardware acceleration. A changed setting will only be applied upon game restart
+STR_GAME_OPTIONS_VIDEO_ACCELERATION_RESTART :{WHITE}The setting will only take effect after a game restart
+
STR_GAME_OPTIONS_GUI_ZOOM_FRAME :{BLACK}Interface size
STR_GAME_OPTIONS_GUI_ZOOM_DROPDOWN_TOOLTIP :{BLACK}Select the interface element size to use
@@ -1787,6 +1791,10 @@ STR_CONFIG_ERROR_INVALID_BASE_MUSIC_NOT_FOUND :{WHITE}... igno
STR_CONFIG_ERROR_OUT_OF_MEMORY :{WHITE}Out of memory
STR_CONFIG_ERROR_SPRITECACHE_TOO_BIG :{WHITE}Allocating {BYTES} of spritecache failed. The spritecache was reduced to {BYTES}. This will reduce the performance of OpenTTD. To reduce memory requirements you can try to disable 32bpp graphics and/or zoom-in levels
+# Video initalization errors
+STR_VIDEO_DRIVER_ERROR :{WHITE}Error with video settings...
+STR_VIDEO_DRIVER_ERROR_NO_HARDWARE_ACCELERATION :{WHITE}... no compatible GPU found. Hardware acceleration disabled
+
# Intro window
STR_INTRO_CAPTION :{WHITE}OpenTTD {REV}