Commit Graph

1421 Commits

Author SHA1 Message Date
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
D G Turner
839dbe37a6 SHERLOCK: Add Serrated Scalpel Spanish Floppy Detection Entry 2019-12-17 04:57:15 +00:00
D G Turner
538bb7ab3e SHERLOCK: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-12-01 01:21:09 +00:00
Bastien Bouclet
4b42112721 ENGINES: Add an engine ID to all the engines 2019-11-03 11:43:00 +01:00
Paul Gilbert
ccf904d8ff SHERLOCK: SS: Add French version detection 2019-08-01 18:50:44 -07:00
Paul Gilbert
6408771673 SHERLOCK: RT: Fix Spanish crash talking to lady in Tailor shop 2019-05-21 18:30:10 -07:00
Torbjörn Andersson
c9a9461d3c SHERLOCK: 3DO: Draw copyright string in intro in correct position
After discussion with dreammaster. Apparently the 3DO version uses
a resolution of 640x400 pixels internally, not 320x200. Doubling
the X and Y coordinates from what they were seems to match what I
have seen in YouTube videos of the original game.
2019-02-26 07:07:07 +01:00
Paul Gilbert
50fe6f508d SHERLOCK: 3DO: Fix display of map screen 2019-02-25 21:44:54 -08:00
Paul Gilbert
eae00fe6f9 SHERLOCK: 3DO: Fix transparency for characters, and speech dialogs 2019-02-25 21:27:30 -08:00
Torbjörn Andersson
2603108022 SHERLOCK: Fix misattribution in Rose Tattoo journal
Some messages spoken to Watson show up in the journal as if spoken
to the inspector. (And, presumably, the other way around, but I
haven't gotten that far in playing the game yet.)
2019-01-13 17:15:39 -08:00
Paul Gilbert
ba00661b3a SHERLOCK: Speed up other cutscenes to better match the original 2018-12-17 21:50:56 -08:00
Torbjörn Andersson
313cd2315e SHERLOCK: Fix computer aim in Serrated Scalpel's darts game
The computer opponent always aims for the bullseye as long as he
needs more than 50 points. After that, he's supposed to aim for
the closest score to what he needs to win. But this coordinate
was never used, and the computer player would always aim at the
same spot outside of the dart board. This, of course, made it
practically impossible for it to beat you. This commit fixes
that.

I thought at first that this fix wasn't quite right, because the
computer won't always hit the score he aims for even if you remove
the random inaccuracy from its aim. But I think it still hits
near the intended target, so maybe this is good enough?
2018-12-15 19:24:36 -08:00
Torbjörn Andersson
b2cd3d9fd7 SHERLOCK: Speed up Blackwood cutscene in The Case of the Serrated Scalpel
When capturing Blackwood in The Case of the Serrated Scalpel, the
whole scene seems to be running in slow motion. This simply doubles
the speed for it. It may still be a tad slow, but at least it fits
the music much better I think.
2018-12-15 19:18:15 -08:00
Bastien Bouclet
9a4c0ae281 ENGINES: Normalize the getName() result of metaengines
Also-By: Matthew Hoops <clone2727@gmail.com>
2018-12-10 06:47:27 +01:00
D G Turner
15306581ab SHERLOCK: RT: Disable Loading from GMM During Prolog or Credits.
Loading from the GMM during the prolog resulted in the mouse cursor
getting stuck hidden and possibly other game state issues, so best to
disable loading in these cases as already was done for saving.

This fixes bug Trac #10746.
2018-10-17 23:29:01 +01:00
Eugene Sandulenko
7e82e748bf SHERLOCK: Fix shadowing warning 2018-06-29 09:37:27 +02:00
Eugene Sandulenko
19e3e229b6 SHERLOCK: Fix warning 2018-06-29 09:14:17 +02:00
Paul Gilbert
afc48cfb0e Revert "SHERLOCK: Disable cache for uncompressed resources"
This reverts commit 20d5a67f8b.
2018-05-05 14:36:14 -04:00
Adrian Frühwirth
1ff3282acd SHERLOCK: Display savegame metadata in launcher/GMM
Saving/loading already handles savegame creation/play time, the
information just wasn't displayed until now because the MetaEngine
features weren't being reported as supported which I assume to be
an oversight.

Fixes Trac#10006.
2018-05-02 23:45:25 +02:00
Adrian Frühwirth
a20f90cbb7 JANITORIAL: Fix formatting 2018-04-22 00:56:21 +02:00
Adrian Frühwirth
9bee9e1ba6 JANITORIAL: Fix whitespace 2018-04-19 12:08:31 +02:00
Adrian Frühwirth
cf96f3f709 JANITORIAL: Indent GFXTransaction code blocks 2018-04-15 16:45:25 +02:00
Adrian Frühwirth
00e59a3122 ALL: Load savegame thumbnail only when necessary
This commit introduces the following changes:

1. Graphics::loadThumbnail()

   Now returns a boolean and takes a new argument skipThumbnail which
   defaults to false. In case of true, loadThumbnail() reads past the
   thumbnail data in the input stream instead of actually loading the
   thumbnail. This simplifies savegame handling where, up until now,
   many engines always read the whole savegame metadata (including
   the thumbnail) and then threw away the thumbnail when not needed
   (which is in almost all cases, the most common exception being
   MetaEngine::querySaveMetaInfos() which is responsible for loading
   savegame metadata for displaying it in the GUI launcher.

2. readSavegameHeader()

   Engines which already implement such a method (name varies) now take
   a new argument skipThumbnail (default: true) which is passed
   through to loadThumbnail(). This means that the default case for
   readSavegameHeader() is now _not_ loading the thumbnail from a
   savegame and just reading past it. In those cases, e.g.
   querySaveMetaInfos(), where we actually are interested in loading
   the thumbnail readSavegameHeader() needs to explicitely be called
   with skipThumbnail == false.

   Engines whose readSavegameHeader() (name varies) already takes an
   argument loadThumbnail have been adapted to have a similar
   prototype and semantics.
   I.e. readSaveHeader(in, loadThumbnail, header) now is
   readSaveHeader(in, header, skipThumbnail).

3. Error handling

   Engines which previously did not check the return value of
   readSavegameHeader() (name varies) now do so ensuring that possibly
   broken savegames (be it a broken thumbnail or something else) don't
   make it into the GUI launcher list in the first place.
2018-04-07 09:26:20 +02:00
Adrian Frühwirth
114bedc5fe SHERLOCK: Let listSaves return list sorted on slot numbers 2018-03-26 01:07:32 +02:00
Alexander Reim
20d5a67f8b SHERLOCK: Disable cache for uncompressed resources 2017-12-22 14:13:22 +01:00
Colin Snover
432fd522d2 ENGINES: Remove default1x scaler flag
This flag is removed for a few reasons:

* Engines universally set this flag to true for widths > 320,
  which made it redundant everywhere;
* This flag functioned primarily as a "force 1x scaler" flag,
  since its behaviour was almost completely undocumented and users
  would need to figure out that they'd need an explicit non-default
  scaler set to get a scaler to operate at widths > 320;
* (Most importantly) engines should not be in the business of
  deciding how the backend may choose to render its virtual screen.
  The choice of rendering behaviour belongs to the user, and the
  backend, in that order.

A nearby future commit restores the default1x scaler behaviour in
the SDL backend code for the moment, but in the future it is my
hope that there will be a better configuration UI to allow users
to specify how they want scaling to work for high resolutions.
2017-10-07 12:30:29 -05:00
Paul Gilbert
da4d4d8272 SHERLOCK: Remove redundant derived Serializer class 2017-08-07 19:08:03 -04:00
Bastien Bouclet
ec49730711 VIDEO: Allow setting the mixer sound type used to play audio tracks 2017-07-27 06:40:07 +02:00
Paul Gilbert
53b0b82e87 SHERLOCK: SS: Fix Italian fan detection entry language 2017-05-09 20:57:47 -04:00
Paul Gilbert
a795c450bb SHERLOCK: Add detection entry for Italian fan translation 2017-05-07 22:51:05 -04:00
Ben Castricum
b041618a42 ALL: Remove comma before the word 'instead' 2016-11-29 20:22:19 +01:00
Ben Castricum
38eb27212d ALL: savegame => saved game 2016-11-29 20:15:13 +01:00
Paul Gilbert
41d1e0a415 SHERLOCK: 3DO: Fixes to allow game to start 2016-10-21 20:01:14 -04:00
Eugene Sandulenko
dead4aa014 JANITORIAL: Remove trailing spaces 2016-10-09 14:59:58 +02:00
Paul Gilbert
1bf73b9cf1 SHERLOCK: SS: Fix hotspots remaining after items are picked up 2016-10-04 21:57:16 -04:00
Paul Gilbert
b87318805f SHERLOCK: Add debugger command to alter game flags 2016-09-15 18:43:39 -04:00
Paul Gilbert
832c078dee SHERLOCK: RT: Improved handling for journal scrollbar 2016-09-13 20:11:15 -04:00
Paul Gilbert
307cd0db4a SHERLOCK: RT: Fix crash using invalid number keys in conversations 2016-09-07 22:35:10 -04:00
Paul Gilbert
0a130d8dcf SHERLOCK: RT: Fix hang on dragging mouse outside Inventory verbs list 2016-09-06 22:59:16 -04:00
Paul Gilbert
f8fc43be99 SHERLOCK: RT: Fix hang clicking on edge of inventory verb list borders 2016-09-03 16:36:03 -04:00
Paul Gilbert
a69eebe53b SHERLOCK: SS: Fix German journal crash moving tobacco box 2016-09-03 15:44:58 -04:00
Eugene Sandulenko
fab199d37e JANITORIAL: Make GPL headers uniform 2016-09-03 12:46:38 +02:00
Alexander Tkachev
b665fc933d ALL: Make simpleSaveNames() a MetaEngineFeature
Added it into hasFeature() of all engines which returned `true` in
simpleSaveNames() before.

As mentioned in #788, SCI is not always using simple names, so it
doesn't have such feature now.
2016-08-24 16:07:55 +06:00
Alexander Tkachev
ab1d160ec8 ALL: Add MetaEngine::simpleSaveNames()
Engines with "simple" savenames would support "Run in background" in
save/load dialog and gradual save slots unlocking. Other engines
save/load feature would be locked until save sync is over.
2016-08-24 16:07:55 +06:00
Eugene Sandulenko
bb9c755bcc SHERLOCK: Fix even more warnings 2016-08-01 12:07:42 +03:00
Eugene Sandulenko
6412e40b38 SHERLOCK: Fix another warning 2016-08-01 11:55:48 +03:00
Eugene Sandulenko
2b0297755d SHERLOCK: Fix warning 2016-08-01 11:46:18 +03:00
Eugene Sandulenko
aa2eec09be SHERLOCK: Fix debug channel initialization 2016-07-28 11:44:04 +03:00
Thierry Crozat
78a85f581d SHERLOCK: Fix compilation error with some gcc versions
Without this change the Apple gcc 4.0 compiler (the last version to
support the MacOS X 10.4 SDK) generate a lot of errors regarding
trying to initialise references to Sherlock::Scalpel::Talk with the
address to a Sherlock::Talk object, or about forward declarations of Sherlock::Scalpel::Talk.
2016-06-15 22:00:36 +01:00
Strangerke
013406abdd SHERLOCK: Fix uninitialized variables 2016-06-13 07:33:17 +02:00