SUPERNOVA: Add Text To Speech support
This commit is contained in:
parent
7db6a06e01
commit
fa8845e367
5 changed files with 53 additions and 9 deletions
|
@ -28,6 +28,7 @@
|
|||
#include "supernova/supernova.h"
|
||||
|
||||
#define GAMEOPTION_IMPROVED GUIO_GAMEOPTIONS1
|
||||
#define GAMEOPTION_TTS GUIO_GAMEOPTIONS2
|
||||
|
||||
static const DebugChannelDef debugFlagList[] = {
|
||||
{Supernova::kDebugGeneral, "general", "Supernova general debug channel"},
|
||||
|
@ -45,6 +46,16 @@ static const ADExtraGuiOptionsMap optionsList[] = {
|
|||
}
|
||||
},
|
||||
|
||||
{
|
||||
GAMEOPTION_TTS,
|
||||
{
|
||||
_s("Enable Text to Speech"),
|
||||
_s("Use TTS to read the descriptions (if TTS is available)"),
|
||||
"tts_enabled",
|
||||
false
|
||||
}
|
||||
},
|
||||
|
||||
AD_EXTRA_GUI_OPTIONS_TERMINATOR
|
||||
};
|
||||
|
||||
|
@ -64,7 +75,7 @@ static const ADGameDescription gameDescriptions[] = {
|
|||
Common::DE_DEU,
|
||||
Common::kPlatformDOS,
|
||||
ADGF_NO_FLAGS,
|
||||
GUIO2(GAMEOPTION_IMPROVED, GUIO_NOMIDI)
|
||||
GUIO3(GAMEOPTION_TTS, GAMEOPTION_IMPROVED, GUIO_NOMIDI)
|
||||
},
|
||||
{
|
||||
"msn1",
|
||||
|
@ -73,7 +84,7 @@ static const ADGameDescription gameDescriptions[] = {
|
|||
Common::EN_ANY,
|
||||
Common::kPlatformDOS,
|
||||
ADGF_NO_FLAGS,
|
||||
GUIO2(GAMEOPTION_IMPROVED, GUIO_NOMIDI)
|
||||
GUIO3(GAMEOPTION_TTS, GAMEOPTION_IMPROVED, GUIO_NOMIDI)
|
||||
},
|
||||
{
|
||||
"msn1",
|
||||
|
@ -82,7 +93,7 @@ static const ADGameDescription gameDescriptions[] = {
|
|||
Common::IT_ITA,
|
||||
Common::kPlatformDOS,
|
||||
ADGF_NO_FLAGS,
|
||||
GUIO2(GAMEOPTION_IMPROVED, GUIO_NOMIDI)
|
||||
GUIO3(GAMEOPTION_TTS, GAMEOPTION_IMPROVED, GUIO_NOMIDI)
|
||||
},
|
||||
// Mission Supernova 2
|
||||
{
|
||||
|
@ -92,7 +103,7 @@ static const ADGameDescription gameDescriptions[] = {
|
|||
Common::DE_DEU,
|
||||
Common::kPlatformDOS,
|
||||
ADGF_NO_FLAGS,
|
||||
GUIO2(GAMEOPTION_IMPROVED, GUIO_NOMIDI)
|
||||
GUIO3(GAMEOPTION_TTS, GAMEOPTION_IMPROVED, GUIO_NOMIDI)
|
||||
},
|
||||
{
|
||||
"msn2",
|
||||
|
@ -101,7 +112,7 @@ static const ADGameDescription gameDescriptions[] = {
|
|||
Common::EN_ANY,
|
||||
Common::kPlatformDOS,
|
||||
ADGF_NO_FLAGS,
|
||||
GUIO2(GAMEOPTION_IMPROVED, GUIO_NOMIDI)
|
||||
GUIO3(GAMEOPTION_TTS, GAMEOPTION_IMPROVED, GUIO_NOMIDI)
|
||||
},
|
||||
AD_TABLE_END_MARKER
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue