56950 Commits

Author SHA1 Message Date
Jaromir Wysoglad
f131cad3e5 TESTBED: Improve some TTS tests 2019-09-01 22:47:55 +03:00
Thierry Crozat
bd2757138b TESTBED: Make sure to process events while waiting for speech to finish
Same implementations of TextToSpeechManager may require system events
to be processed for the state synchronisation to work properly.

This commit also fixes a few typos or inconsistencies in some texts.
2019-09-01 22:47:55 +03:00
Thierry Crozat
5198459bba TESTBED: Move the TTS tests after the critical components 2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
84df34df10 TESTBED: Add tests for TTS *_NO_REPEAT actions 2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
fb12e3b36b TESTBED: Rewrite parts of TTS tests.
As suggested by Criezy on github
2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
98cea3e2ce TESTBED: Add state queries to TTS tests. 2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
a5c9e8c74b TESTBET: Add TTS tests 2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
990ab61793 MORTEVIELLE: Improve voice mapping to characters.
* Return pitch -= 6 to females, this brings the pitch closer
    to zero
 * Add array of indices which ensures, that we use as many voices
    as we can.
2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
a1f69e6b06 MORTEVIELLE: Refactoring as suggested by Criezy
* Add checks if ttsMan != null before trying to use it
 * Simplify startSpeech
 * Move haut to startSpeech and pass the character index to
    the startSpeech instead.
2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
99550a95b2 MORTEVILLE: Stop speech when pressing F8. 2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
c7dbf192ef TTS: Remove unneeded code
Remove debuging outputs
Remove commented iconv implementation of text conversion to UTF-8
2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
4ec10ffec7 TTS: Remove "static" from initTextToSpeech() 2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
2ecbf9ac18 MORTEVIELLE: Return old code to waitSpeech
The waitSpeech should use the old code, when just sound is playing
(the TTS isn't speaking).
2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
c9ec089e61 MORTEVIELLE: Remove unneeded TTS code 2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
d2b9b9ef21 MORTEVIELLE: Map characters to different voices 2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
e04463b05a MORTEVIELLE: Add text to speech capability 2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
324a90f4f6 TTS: Implement tts state switching when needed.
The state has to be pushed and poped when there is a transition
between game and gui code.
2019-09-01 22:47:55 +03:00
jepael
b1b03b18d3 XEEN: Fix compiler warning 2019-09-01 22:46:23 +03:00
Thanasis Antoniou
6d14b6fb56 BLADERUNNER: Framelimiter fixes for delayMillis case 2019-09-01 22:22:57 +03:00
Paul Gilbert
3996783c88 XEEN: Fix searches resulting in misc items 2019-09-01 10:14:47 -07:00
Cameron Cawley
537280c35a
STARTREK: Simplify call to initGraphics() 2019-09-01 17:14:18 +01:00
Thanasis Antoniou
fd7fd3a18b BLADERUNNER: Isolate new frame limiter code in new class 2019-09-01 16:39:36 +03:00
D G Turner
a37f35695c XEEN: Add Virtual Destructor to SpritesDrawer Base Class
This is required to avoid GCC Compiler Warnings from -Wnon-virtual-dtor
2019-09-01 07:45:02 +01:00
Paul Gilbert
ada09b8162 XEEN: Fix rendering of Count Blackfang 2019-08-31 16:42:40 -07:00
Peter Kohaut
a7399c5111 BLADERUNNER: Use best pixel format on every platform
Updated all drawing routines to be pixel format agnostic.
Might decrease performance.
2019-08-31 23:09:19 +02:00
Le Philousophe
b45197642e BUILD/CRYOMNI3D: Reduce the number of bogus GCC warnings
As the warning is emitted on parsing the class constructor, just move it
out of the class definition.
2019-08-31 19:40:33 +02:00
Thanasis Antoniou
85fbb3ad08 BLADERUNNER: Addendum for removal of delayMillis 2019-08-31 20:06:37 +03:00
Thanasis Antoniou
a99e8d7bab BLADERUNNER: Replace delayMillis(10) calls with software timers 2019-08-31 19:19:32 +03:00
sluicebox
196378d9da SCI: Add ECO2 workaround for Ecorder talk button 2019-08-31 08:34:10 -07:00
Paul Gilbert
4377a0d995 XEEN: Workaround black pixels when rendering transparent Shades 2019-08-30 23:10:26 -07:00
Paul Gilbert
9213920ac1 XEEN: Cleanup of sprite drawer 3 2019-08-30 21:50:14 -07:00
Paul Gilbert
0f1722ebce XEEN: Fix to use correct drawer for shades, drawer cleanup 2019-08-30 21:04:07 -07:00
Paul Gilbert
1588218f6f XEEN: Further sprite drawer mode code 2019-08-30 19:36:13 -07:00
Paul Gilbert
27efc15f8c XEEN: Creating sprite drawer class hierarchy for missing draw modes 2019-08-30 19:36:13 -07:00
sluicebox
e36a4be7ce SCI: Fix addAsVirtualFiles creating titles with no files
Fixes QFG game titles appearing on import screens when no character
files exist but save files exist that match fileMask
2019-08-30 18:00:25 -07:00
Paul Gilbert
05de8819ba XEEN: Remove unused methods, comments for engine methods 2019-08-29 21:11:52 -07:00
Paul Gilbert
9f7cadaf8a XEEN: Shift getting specific game Id to an engine method 2019-08-29 21:08:53 -07:00
Paul Gilbert
6d4e398fb6 XEEN: Nothing here dialogs can now be closed by clicking in scene 2019-08-29 21:00:42 -07:00
Paul Gilbert
bbd663d366 XEEN: Fix for deleting characters from the roster 2019-08-29 20:52:11 -07:00
Paul Gilbert
de4d181295 XEEN: Fix background for 123 option chooser 2019-08-29 20:02:36 -07:00
Paul Gilbert
a945de7cf4 XEEN: Fix crash entering Volcano Cave level 2 2019-08-29 19:22:51 -07:00
Paul Gilbert
e2a64931d2 XEEN: Fix text for Dungeon of Death statue 2019-08-28 20:07:32 -07:00
Paul Gilbert
2c5237db7e XEEN: Parameter to cmdDisplayLarge is line number, not offset 2019-08-28 20:07:32 -07:00
Thanasis Antoniou
749480f2e0 BLADERUNNER: Comment correction after fix for AI_Movement_Track_Append_With_Facing 2019-08-28 21:35:09 +03:00
Thanasis Antoniou
ac3ed34610 BLADERUNNER: Fix restored walkers idle behavior and AI_Movement_Track_Append_With_Facing 2019-08-28 21:32:12 +03:00
Thanasis Antoniou
0486b301e4 BLADERUNNER: Restored - KIA object type for snake, slug, fish 2019-08-28 21:28:02 +03:00
Le Philousophe
329da808eb CRYOMNI3D: Improve fallback detection to detect game flags 2019-08-28 09:09:38 +02:00
Paul Gilbert
fd33a89085 XEEN: Fix removing lava damage overlays before starting combat 2019-08-27 19:43:41 -07:00
Thanasis Antoniou
33c2e1b1da BLADERUNNER: Improve Clovis facing direction in KP07 2019-08-27 14:29:18 +03:00
Paul Gilbert
87c3e6d5d3 XEEN: Fix removing Paladin rocks in Dark Side desert 2019-08-26 20:27:05 -07:00