Commit Graph
194 Commits
Author SHA1 Message Date
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Torbjörn Andersson b169715da4 SHERLOCK: Fix Scalpel animations not being resumed after conversation
When talking to another character, his animation would usually freeze.
Most of the time this is just a cosmetic problem, but it does make
solving the puzzle with the billiard players more annoying than it
should be, since you had to leave and re-enter the room. See bug #10931.
2021-12-19 15:49:30 -08:00
Torbjörn Andersson 6cf3df6609 SHERLOCK: Fix Scalpel user interface being left in wrong mode
I think this one would happen if an NPC initiated conversaion with you,
while you had a window (e.g. the inventory) open. The game would be put
in talk mode, then close the inventory (putting the game in standard
mode), then print the conversation options.

That's because a loop was terminated prematurely (with a break), thus
bypassing the bit that would set it back into talk mode again.

I encountered this when finally meeting up with Lord Brumwell.
2021-12-17 19:30:06 -08:00
Torbjörn Andersson 2644bdddf6 SHERLOCK: Fix Scalpel user interface regression
In some cases (e.g. when Lestrade greets you at the scene of the murder)
the talk window wasn't erased properly. This was a regression from a
recent fix for the inventory not being updated when certain objects were
added, e.g. when examining the pendant. See bug #10841.
2021-12-15 21:43:18 -08:00
Torbjörn Andersson a13e046e98 SHERLOCK: Cleanup
The parameter to banishWindow() is true by default.
2021-12-10 12:32:29 +01:00
Paul Gilbert 2175ee951a SHERLOCK: SS: Fix updating inventory after examining watch 2021-12-07 20:00:58 -08:00
Martin Gerhardy 9d82fa51df COMMON: removed USE_TTS check from engines
OSystem now just returns a nullptr if there is no text to speech manager instance
(because none is compiled into the binary, or the system doesn't provide support
for it). This removed the need for the engine authors to add scummvm osystem compile
time options checks into their engine code
2021-05-03 14:13:41 +03:00
aryanrawlani28 4b6976c558 GUI: U32: Reduce number of files changed and fixes
Up until last commit, everything was working fine but the amount of files changed was too large. This commit tries to reduce the changes.

- Add a fake constructor to Keymap, text-to-speech, setDescription (save-state)
- Redirecting functions for PopUpWidget::appendEntry, ButtonWidget::setLabel, GUIErrorMessage
- Use the above functions and constructors to reduce changes in Engines
- Fix warnings being in unicode. Only output english text in - Warnings, Errors, etc.
- Mark some strings as "translation" strings. (Not yet added to POTFILES)
- Remove some CP related things from po/modules.mk
- Previously used some Common::convertToU32 where it was not necessary, replace this with u32constructor
2020-08-30 14:43:41 +02:00
aryanrawlani28 d4d5b8906e GUI: U32: Begin making TTS take in U32Strings for saying
Only for strings without an explicit action. The first level takes in a u32 string, encodes it, and passes it along further with the default action

- For gui widgets, the strings are passed in as native u32 strings.
- For everything else, they are being converted to u32 by Common::convertToU32... and then being passed along
2020-08-30 14:43:41 +02:00
Cameron Cawley cc5abf5ebb TTS: Fix crash when TextToSpeechManager is unavailable, clean up formatting 2020-05-27 12:43:49 +02:00
neuromancer bd92f2d00a SHERLOCK: Enable the use of TTS to read descriptions as a "narrator" for The Case of Serrated Scalpel 2019-12-21 16:49:13 +02:00
Eugene Sandulenko dead4aa014 JANITORIAL: Remove trailing spaces 2016-10-09 14:59:58 +02:00
Paul Gilbert 663044f095 SHERLOCK: RT: Fix crasah showing items to Rose Hanchem 2016-04-09 15:17:17 -04:00
Martin Kiewitz d79728114e SHERLOCK: SS: make main buttons multilingual
Also fix graphical issue with "press any key to continue" text
2016-01-30 19:22:49 +01:00
Paul Gilbert 2e3ecb1be8 SHERLOCK: SS: Fix crash moving box at Tabbacconists 2015-12-01 20:23:29 -05:00
Paul Gilbert 2a70d2facb SHERLOCK: RT: Fix crash closing text dialogs with the keyboard 2015-10-16 08:23:19 -04:00
Paul Gilbert ebd080b219 SHERLOCK: RT: Fix conversation options screwup after viewing journal 2015-10-15 20:56:02 -04:00
Paul Gilbert 177409390f SHERLOCK: SS: Fix playback of voices in cutscenes 2015-10-10 16:38:28 -04:00
Paul Gilbert 3c6cf2b947 SHERLOCK: SS: Fix crash picking up typewriter 2015-10-07 21:22:51 -04:00
Paul Gilbert 12227fb6f8 SHERLOCK: SS: Remove now redundant isPossibleOpcode method 2015-10-05 21:46:30 -04:00
Martin Kiewitz f70159b9a2 SHERLOCK: SS: show inv. exclam. mark in dialog
remove the possible opcode check, that was added to fix the Spanish
version crash during the alley room. We now have support for the
inverted exclamation mark and we want to show that character.

This also shows the inverted question mark. See bug #6931

If there are any more invalid characters, this commit may cause
assert()s in fonts.cpp again.
2015-10-06 00:18:06 +02:00
Paul Gilbert e73a50c6c5 SHERLOCK: SS: Fix invalid characters when displaying journal 2015-10-04 20:56:13 -04:00
Paul Gilbert f6b647c420 SHERLOCK: SS: Fix conversation crash in Spanish version 2015-10-04 17:36:07 -04:00
Paul Gilbert 676f0e01d1 SHERLOCK: SS: Fix hiding Holmes when viewing lab table 2015-10-03 21:12:45 -04:00
Paul Gilbert 2bf1ff690b SHERLOCK: 3DO: Fix portrait display when leaving Baker Street 2015-09-12 15:19:59 -04:00
Paul Gilbert 944cf4c64f SHERLOCK: Syntax fixes 2015-08-30 10:01:25 -04:00
Paul Gilbert 91c131f8ff SHERLOCK: RT: Reset each person _resetNPCPath when starting a script 2015-08-29 16:14:31 -04:00
Paul Gilbert 92b087d236 SHERLOCK: RT: Fix redundant extra wait after talking to LLoyd Jones 2015-08-29 07:03:20 -04:00
Paul Gilbert c8aa1450a2 SHERLOCK: RT: Enforce wait cursor when pausing without control in scripts 2015-08-28 21:16:41 -04:00
Paul Gilbert ca3050c912 SHERLOCK: RT: Fix previous commit, and make talkTo virtual 2015-08-27 08:55:27 -04:00
Paul Gilbert 55f9c364bc SHERLOCK: RT: Fix talkTo filename getting changed mid-script
Calls to cmdPauseWithoutControl can allow a second script to run,
with it's own filename. This shouldn't change the filename for
the outer call to talkTo
2015-08-27 08:28:32 -04:00
Paul Gilbert b4651801dd SHERLOCK: RT: Fix aborting scripts prematurely after pausing
If a script was paused via a call to cmdPauseWithoutControl, and during
this a second script is called and finishes, the first script was
also being terminated prematurely
2015-08-24 19:44:25 -04:00
Paul Gilbert 6862c9dd9b SHERLOCK: 3DO: Cleanup of conversation message playback
The changes remove most of the hardcoding that was in place for showing
the conversation movies, and have them triggered like the Rose Tattoo
speech files. It will still need some work to hook it into our new
voice playback, though, so text dialogs are closed at the right time
2015-08-21 21:37:29 -04:00
Paul Gilbert 22bb8e2f57 SHERLOCK: RT: Fix crash in intro sequence 2015-08-20 07:39:10 -04:00
Paul Gilbert bc839e4c3f SHERLOCK: RT: Clear sequence stack when changing scenes 2015-08-19 08:21:53 -04:00
Paul Gilbert d4e5e44792 SHERLOCK: Standardize sequence stack code for both games 2015-08-18 20:53:31 -04:00
Paul Gilbert 21666d701e SHERLOCK: Rename talk to initTalk 2015-08-17 20:21:14 -04:00
Paul Gilbert 39e75d75c6 SHERLOCK: RT: Properly crop long speech filenames 2015-08-17 19:14:35 -04:00
Paul Gilbert fe362f3fbc SHERLOCK: RT: Merge setStillSequence & setListenSequence methods 2015-08-17 07:46:28 -04:00
Paul Gilbert c14f27aa48 SHERLOCK: RT: Add missing talk sequence stack handling 2015-08-16 21:43:12 -04:00
Paul Gilbert 621a37bbe3 SHERLOCK: Fix saving/loading when characters are moving 2015-08-15 20:26:36 -04:00
Paul Gilbert 23aba271ff SHERLOCK: RT: Fix setting up speech file to use during cutscenes 2015-08-14 20:54:39 -04:00
Paul Gilbert e02965c40a SHERLOCK: RT: SImplification of old speech code 2015-08-13 18:43:51 -04:00
Paul Gilbert e6b070711a SHERLOCK: RT: Hook window/speech to ScummVM speech/subtitles setting 2015-08-12 08:46:09 -04:00
Paul Gilbert 149b31c310 SHERLOCK: RT: Fix playing all the voice files in a conversation 2015-08-11 21:03:58 -04:00
Paul Gilbert 9b0bf9e215 SHERLOCK: RT: Beginnings of speech code 2015-08-10 22:01:02 -04:00
Paul Gilbert 62406c81b7 SHERLOCK: RT: Fix display when characters have nothing to say 2015-08-07 22:20:03 -04:00
Paul Gilbert eadbe2b8b8 SHERLOCK: RT: Fix crash executing scripts that clear their own data 2015-08-07 16:02:19 -04:00
Paul Gilbert 2696be83c0 SHERLOCK: SS: Cleaned up handling of 3DO portrait playback 2015-08-07 06:52:58 -04:00
Paul Gilbert a66f42fe20 SHERLOCK: RT: Minor differences in talk code 2015-08-02 23:11:25 -04:00