aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/detection.cpp
diff options
context:
space:
mode:
authorneuromancer2019-12-20 22:51:20 -0300
committerFilippos Karapetis2019-12-21 16:45:35 +0200
commite7ff394f3302f493e50f2fa5a2a906fd1915a275 (patch)
tree8126c0af14253906c8ab8a4f6bfbce9802402336 /engines/mads/detection.cpp
parent4e7e0344de05845b835b7344a3a8585adaffdef8 (diff)
downloadscummvm-rg350-e7ff394f3302f493e50f2fa5a2a906fd1915a275.tar.gz
scummvm-rg350-e7ff394f3302f493e50f2fa5a2a906fd1915a275.tar.bz2
scummvm-rg350-e7ff394f3302f493e50f2fa5a2a906fd1915a275.zip
MADS: Enable the optional use of TTS to read descriptions as a narrator in Rex Nebular
Diffstat (limited to 'engines/mads/detection.cpp')
-rw-r--r--engines/mads/detection.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/engines/mads/detection.cpp b/engines/mads/detection.cpp
index 65725a8726..3f0f8e5733 100644
--- a/engines/mads/detection.cpp
+++ b/engines/mads/detection.cpp
@@ -81,6 +81,10 @@ static const PlainGameDescriptor MADSGames[] = {
#define GAMEOPTION_NAUGHTY_MODE GUIO_GAMEOPTIONS4
//#define GAMEOPTION_GRAPHICS_DITHERING GUIO_GAMEOPTIONS5
+#ifdef USE_TTS
+#define GAMEOPTION_TTS_NARRATOR GUIO_GAMEOPTIONS5
+#endif
+
#include "mads/detection_tables.h"
static const ADExtraGuiOptionsMap optionsList[] = {
@@ -134,6 +138,18 @@ static const ADExtraGuiOptionsMap optionsList[] = {
}
},*/
+ #ifdef USE_TTS
+ {
+ GAMEOPTION_TTS_NARRATOR,
+ {
+ _s("TTS Narrator"),
+ _s("Use TTS to read the descriptions (if TTS is available)"),
+ "tts_narrator",
+ false
+ }
+ },
+ #endif
+
AD_EXTRA_GUI_OPTIONS_TERMINATOR
};