aboutsummaryrefslogtreecommitdiff
path: root/backends/platform
diff options
context:
space:
mode:
authorJaromir Wysoglad2019-07-15 21:09:36 -0700
committerFilippos Karapetis2019-09-01 22:47:55 +0300
commit8357e8e6bf909353c3db720ba8fda9cdb0a41933 (patch)
treec8a5735d16f9b82249d4877cb3985238bc4beadf /backends/platform
parent6303f522e180f1474434c75c0e5a4d44b141fe3a (diff)
downloadscummvm-rg350-8357e8e6bf909353c3db720ba8fda9cdb0a41933.tar.gz
scummvm-rg350-8357e8e6bf909353c3db720ba8fda9cdb0a41933.tar.bz2
scummvm-rg350-8357e8e6bf909353c3db720ba8fda9cdb0a41933.zip
TTS: Prepare for windows TTS
Add windows configuration in configure Add basic skeleton to backends Check if ttsMan is initialized in GUI
Diffstat (limited to 'backends/platform')
-rw-r--r--backends/platform/sdl/win32/win32.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/backends/platform/sdl/win32/win32.cpp b/backends/platform/sdl/win32/win32.cpp
index 16b7a1f72f..4b0961bc3c 100644
--- a/backends/platform/sdl/win32/win32.cpp
+++ b/backends/platform/sdl/win32/win32.cpp
@@ -54,6 +54,10 @@
#include "common/ustr.h"
#include "common/encoding.h"
+#ifdef USE_WINDOWS_TTS
+#include "backends/text-to-speech/windows/windows-text-to-speech.h"
+#endif
+
#define DEFAULT_CONFIG_FILE "scummvm.ini"
void OSystem_Win32::init() {
@@ -115,6 +119,9 @@ void OSystem_Win32::initBackend() {
// Initialize updates manager
_updateManager = new Win32UpdateManager();
#endif
+#ifdef USE_WINDOWS_TTS
+ _textToSpeechManager = new WindowsTextToSpeechManager();
+#endif
// Invoke parent implementation of this method
OSystem_SDL::initBackend();