Commit Graph

1577 Commits

Author SHA1 Message Date
Paul Gilbert
a00e44ba6c ENGINES: Merge saveGameState virtual methods into a single one 2020-02-16 15:44:28 -08:00
Paul Gilbert
9e15215b2d SHERLOCK: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Bastien Bouclet
9240f1f36a SHERLOCK: Add override keywords 2020-02-09 12:43:16 +01:00
Eugene Sandulenko
d5d72a13e4 SHERLOCK: Added override keywords 2020-02-05 16:13:39 +01:00
Paul Gilbert
5b80320525 ENGINES: Adding override keyword to hasFeature methods 2020-02-04 20:04:11 -08:00
Eugene Sandulenko
0fa8986a29 SHERLOCK: Fix clashing enums 2020-01-31 14:21:53 +01: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
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
Eugene Sandulenko
989749b6e5 SHERLOCK: Use # as savefile matching pattern 2016-06-08 10:17:16 +02:00
Torbjörn Andersson
e963f8bc60 SHERLOCK: Silence very noisy GCC warning
Since 'w' and 'h' are members of ManagedSurface, using them as
input parameters to a method caused GCC to warn about them being
shadowed. For just about every file in the Sherlock engine...
2016-05-29 21:35:37 +02:00
Eugene Sandulenko
35186ae5b0 SHERLOCK: Fix warnings 2016-05-28 17:20:50 +02:00
Paul Gilbert
2b2dffc02c SHERLOCK: Remove redundant allocation in surface creation 2016-05-27 06:01:15 -04:00
Paul Gilbert
4a88f39cc9 SHERLOCK: Refactor Surface and Screen to not use virtual inheritance 2016-05-26 21:48:40 -04:00
Eugene Sandulenko
33abb6118f ALL: Change main engine header guard defines to <directory>_<engine>_H
Recently we started to use this as new semantics, although in the past
we used simly <engine>_H. Now these guard defines are consistent with
rest of the files which are used in the engines.
2016-05-17 18:21:30 +02:00
Eugene Sandulenko
875f591704 SHERLOCK: Further clarification of virtual destructors. Thanks to LordHoto. 2016-05-16 19:52:34 +02:00
Eugene Sandulenko
cbb403ff55 SHERLOCK: Remove non-virtual destructor which prevents the superclass one from execution. 2016-05-16 16:56:57 +02:00
Eugene Sandulenko
95884c396b SHERLOCK RT: Actually clear screen instead of a useless call. CID 1308097 2016-05-08 23:06:21 +02:00
Eugene Sandulenko
b731bbf804 JANITORIAL: Whitespace fixes 2016-05-08 23:05:42 +02:00
Paul Gilbert
c18c22798a SHERLOCK: RT: Fix some namespace comments 2016-05-07 12:28:55 -04:00
Ori Avtalion
3564032330 JANITORIAL: Reduce audio header dependencies 2016-04-14 16:10:21 +03:00
Paul Gilbert
663044f095 SHERLOCK: RT: Fix crasah showing items to Rose Hanchem 2016-04-09 15:17:17 -04:00
Torbjörn Andersson
64709482e6 SHERLOCK: Fix crash when searching the Serrated Scalpel journal
As far as I can tell, the lines I removed to draw the search box
are already handled by the call to makeField() above. Also, they
were drawing to the wrong surface, and one of them was in the
wrong direction, which is what triggered an assertion.
2016-04-09 09:33:17 +02:00
Torbjörn Andersson
701738e0c9 SHERLOCK: Put back line break that I accidentally removed.
Thanks to LordHoto for noticing.
2016-04-08 23:03:53 +02:00
Torbjörn Andersson
0d1bfecebc SHERLOCK: Fix crash when searching journal in Rose Tattoo
Another part bug, part regression from using ManagedSurface, I
guess.
2016-04-08 22:52:59 +02:00
Torbjörn Andersson
60b763bd4c SHERLOCK: Fix bug #7084 ("Crash when taking inventory")
This was part regression (ManagedSurface is picky about the order
of the parameters to the line drawing functions), part bug since
it was drawing a horizontal line instead of a vertical.

This call draws a very short vertical line to separate the
rightmost "join" of the middle horizontal bar in the inventory
dialog from the scrollbar. Unless you know what you're looking
for, it's pretty hard to spot the difference.

Thanks to dreammaster for figuring out the proper fix, while I
was still trying to figure out what it was trying to draw.
2016-03-25 01:40:07 +01:00
Paul Gilbert
8fa5522819 SHERLOCK: Fix crashes due to back buffer refactoring 2016-03-21 20:19:55 -04:00
Johannes Schickel
453b77d386 SHERLOCK: Make Screen::_backBuffer an object instead of pointer. 2016-03-21 16:25:15 +01:00
Johannes Schickel
fc17d9750f SHERLOCK: Make Screen::_backBuffer protected. 2016-03-21 16:24:14 +01:00
Johannes Schickel
892aa2886c SHERLOCK: Get rid of Surface::setPixelData. 2016-03-21 16:24:13 +01:00
Paul Gilbert
00edd712e8 SHERLOCK: Fix overloaded setPixels warning 2016-03-20 19:42:08 -04:00
Paul Gilbert
3da3dda187 SHERLOCK: Changed engine to use Graphics::ManagedSurface 2016-03-14 20:56:27 -04:00
Christoph Korn
305e34a718 SHERLOCK: Add format to fix compile error
This patch fixes the compile error:
format not a string literal and no
format arguments [-Werror=format-security]

Just suply "%s" as the standard format.
This way the string is not interpreted as format
which may lead to security issues.
2016-03-09 22:24:55 +01:00
Paul Gilbert
b12cb7308a SHERLOCK: RT: Fix tearing in ending credits 2016-02-21 20:46:46 -05:00
Thierry Crozat
4338b51a28 SHERLOCK: Add missing POTFILES 2016-02-20 21:23:51 +00:00
Paul Gilbert
8706f8c288 SHERLOCK: RT: Fix violin not playing all the way through 2016-02-19 20:07:51 -05:00
Martin Kiewitz
5c1eb40bd3 SHERLOCK: RT: Only see German Sharp-S char as printable
And not the full 0xE0 -> 0xFF range
Fixes bug #7042
2016-02-16 19:49:38 +01:00
Paul Gilbert
eef0b11feb SHERLOCK: RT: Implement saving journal to file 2016-02-14 23:51:45 -05:00
Martin Kiewitz
123b934fab SHERLOCK: RT: Replace accent char with \202 in fixed text 2016-02-15 02:29:38 +01:00
Martin Kiewitz
1bd06d88f9 SHERLOCK: RT: Make darts game properly multilingual
Hopefully all issues were caught
Also added a "wait for keypress" right after result of latest dart
throw is shown like in the original, so that dart results are
not immediately cleared.
Also added support for "1 point" instead of writing "1 points"
2016-02-15 02:26:20 +01:00
Paul Gilbert
64d40caecd SHERLOCK: RT: Fix starting different darts game modes 2016-02-14 18:10:20 -05:00
Eugene Sandulenko
fde06e342d SHERLOCK: Safer print() 2016-02-14 12:46:48 +01:00
Paul Gilbert
ad7372b0c2 SHERLOCK: Fix for German version using hatpin/needle in Pratt's pillow
In Pratt's Loft, the player can probe the pillow with either the needle
or the hatpin. However, the German version accidentally set up use
actions for the hatpin twice, resulting in a crash if you tried to use it
2016-02-13 19:44:39 -05:00
Paul Gilbert
c1c16fe288 SHERLOCK: RT: Fix conversation crash German Lawton's house 2016-02-12 20:54:30 -05:00
Paul Gilbert
52f8b6dfe0 SHERLOCK: RT: Work around bad animation frame data in German version 2016-02-12 20:09:40 -05:00
Torbjörn Andersson
eacf122497 SHERLOCK: Silence noisy GCC warning 2016-02-12 00:14:22 +01:00
Martin Kiewitz
f25b260c65 SHERLOCK: SS: Fix typo in fixed text 2016-02-11 22:55:02 +01:00
Martin Kiewitz
9255fd3744 SHERLOCK: SS: Make "Picked up" text multilingual
Bug #7002 should be fully solved now
2016-02-11 22:38:56 +01:00
Martin Kiewitz
d821c089bf SHERLOCK: SS: Make user interface multilingual
Bug #7002 almost fully solved
2016-02-11 03:48:02 +01:00
Martin Kiewitz
24c9008d1c SHERLOCK: SS: Fix typo in German fixed text
Was like that in the original, we fix it.
2016-02-10 23:57:28 +01:00
Martin Kiewitz
5c76f51ecf SHERLOCK: Fix Spanish journal text - thanks t0by
Some lines were not translated that well, probably because the
original added words together in code based on English grammar,
so the translator was probably very restricted.
2016-02-10 22:52:29 +01:00
Martin Kiewitz
c8833662e0 SHERLOCK: SS: Fix fixed text typo 2016-02-10 21:00:28 +01:00
Martin Kiewitz
a7351610a1 SHERLOCK: RT: Fix typo in fixed inventory text
bug #7023
2016-02-10 20:02:14 +01:00
Paul Gilbert
1e560fd234 SHERLOCK: RT: Fix German umlaut display in Journal 2016-02-09 20:39:45 -05:00
Martin Kiewitz
15be58dfb5 SHERLOCK: Make journal entries multilingual
Spanish needs to be checked
Spanish also needs to be copy and slightly changed for SH1
Also fixed Journal button text for French + Spanish
Fixes bug #7019
2016-02-07 16:22:56 +01:00
Paul Gilbert
79a3caf389 SHERLOCK: RT: Fix crash removing wax cylinders on gramaphone 2016-02-06 20:46:25 -05:00
Martin Kiewitz
b7b0aec65d SHERLOCK: RT: Fix translation error 2016-02-07 02:23:20 +01:00
Paul Gilbert
456e5956e0 SHERLOCK: RT: Properly hook up volume and mute toggles in Options dialog 2016-02-05 19:31:35 -05:00
Paul Gilbert
331a9f4969 SHERLOCK: SS: Fix crash on invalid graphics in German version 2016-02-04 18:47:08 -05:00
Torbjörn Andersson
d9b4f02d79 SHERLOCK: Silence GCC signed/unsigned warning 2016-02-01 23:20:20 +01:00
Paul Gilbert
86409142bf SHERLOCK: SS: Fix Settings dialog hotkeys 2016-01-31 23:36:14 -05:00
Paul Gilbert
73242aa5bc SHERLOCK: SS: Fix incorrect conversation lines display in German version 2016-01-31 18:10:58 -05:00
Martin Kiewitz
8ffbe15cc6 SHERLOCK: SS: fix another warning 2016-01-31 18:47:55 +01:00
Martin Kiewitz
5299750cf9 SHERLOCK: SS: fix warnings
thanks to eriktorbjorn for pointing those out
2016-01-31 18:42:14 +01:00
Martin Kiewitz
5642370948 SHERLOCK: SS: don't setup font for non-play demo
Do not setup font for non-playable demo
Non-playable demo does not have any font at all
Fixes non-playable demo not working
2016-01-30 21:07:16 +01:00
Martin Kiewitz
7737f2f049 SHERLOCK: SS: button code cleanup
Change the default for the optional parameter "textContainsHotkey"
to true, because it's needed almost all of the time.
2016-01-30 20:22:18 +01:00
Martin Kiewitz
33cedb65fa SHERLOCK: SS: window hotkeys now multilingual 2016-01-30 19:45:09 +01: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
Martin Kiewitz
7d20df8567 SHERLOCK: SS: default to look in inventory
original interpreter did that too
2016-01-30 17:32:39 +01:00
Martin Kiewitz
da486f0f91 SHERLOCK: SS: fix inventory button gfx glitch 2016-01-30 17:26:04 +01:00
Martin Kiewitz
9a91ed930d SHERLOCK: SS: make journal hotkeys multilingual 2016-01-30 17:21:51 +01:00
Martin Kiewitz
9257597160 SHERLOCK: SS: make inventory hotkeys multilingual 2016-01-30 16:23:23 +01:00
Martin Kiewitz
741b868e70 SHERLOCK: SS: Make load/save menu multilingual
Also change behavior of makeButton/buttonPrint to directly
remove a hotkey-prefix, in case it was passed.
2016-01-30 15:52:22 +01:00
Martin Kiewitz
dc3c3a84fd SHERLOCK: SS: make settings multilingual
Also make it possible to somewhat easily have hotkeys within
the button text itself and not just having to use the very first
button text character as hotkey.
2016-01-30 14:04:18 +01:00
Paul Gilbert
b75f6182b0 SHERLOCK: RT: Simplify ascii char checks, since we don't support accents 2016-01-29 23:02:28 -05:00
Paul Gilbert
202cb1210a SHERLOCK: SS: Fix signed char issues with new isPrintable function 2016-01-28 22:39:24 -05:00
Paul Gilbert
314379e929 SHERLOCK: SS: Fix German accents not showing in journal 2016-01-27 21:47:24 -05:00
Johannes Schickel
440cc50224 SHERLOCK: Remove empty destructor for WidgetFiles.
WidgetBase already has a virtual destructor, thus there is no need to make
WidgetFiles have an empty virtual destructor around. This also prevents g++
for Dreamcast from failing due to an internal compiler error.
2016-01-11 14:39:23 +01:00
Paul Gilbert
c8acaff521 SHERLOCK: Add validation for journal entry values 2015-12-09 21:44:08 -05:00
Paul Gilbert
2e3ecb1be8 SHERLOCK: SS: Fix crash moving box at Tabbacconists 2015-12-01 20:23:29 -05:00
Martin Kiewitz
cfa8d3bd8b SHERLOCK: fix comment typo 2015-11-25 09:49:16 +01:00
Paul Gilbert
5137d0d3f9 SHERLOCK: SS: Fix exit crash in Sherlock playable demo 2015-11-23 20:11:20 -05:00
Paul Gilbert
9bf4b797d4 SHERLOCK: Remove deprecated decompression file 2015-11-22 13:25:45 -05:00
Paul Gilbert
f68dae1849 SHERLOCK: Change Sherlock from testing to stable 2015-11-16 19:34:59 -05:00
Paul Gilbert
9b17bf31d4 SHERLOCK: Fix Coverity warnings about uninitialized fields 2015-11-16 19:10:22 -05:00
Paul Gilbert
e3f81c267b SHERLOCK: RT: Fix Coverity warning in original savegame dialog 2015-11-16 18:51:33 -05:00
Eugene Sandulenko
f412d2fcd5 SHERLOCK: Remove non-ascii character 2015-11-07 14:37:22 +01:00
Paul Gilbert
dc5fb91ab2 SHERLOCK: RT: Fix color of darts game power bar 2015-10-18 21:57:26 -04:00
Martin Kiewitz
2118daef22 SHERLOCK: RT: add Spanish text fixes bug #6936
Previously created Spanish saved games are broken though,
need to restart the game
2015-10-19 00:50:17 +02:00
Paul Gilbert
8841aee2f1 SHERLOCK: RT: Fix Diogenes fire music slightly too long in intro 2015-10-17 15:24:29 -04:00
Paul Gilbert
65ce5a89c9 SHERLOCK: RT: Fix incorrect music file after intro ends 2015-10-17 14:46:21 -04:00
Paul Gilbert
c583294ede SHERLOCK: RT: Fix setting new scene's music filename when music is off 2015-10-17 14:08:44 -04:00
Paul Gilbert
b8e3376099 SHERLOCK: RT: Increase darts hand/power speed, computer text fix 2015-10-17 12:10:16 -04:00
Paul Gilbert
28a8360896 SHERLOCK: Don't clear events after a non-interruptable delay 2015-10-16 22:37:01 -04:00
Paul Gilbert
f688d2806d SHERLOCK: RT: Fix drawing of darts game dart throws 2015-10-16 22:30:55 -04:00
Paul Gilbert
b548e4b482 SHERLOCK: RT: Fix darts info display and hide cursor 2015-10-16 21:00:07 -04:00
Paul Gilbert
ee1ef54f37 SHERLOCK: RT: Fix crash showing folder to Watson 2015-10-16 19:59:31 -04:00
Paul Gilbert
d4774d1cb2 SHERLOCK: RT: Fix crash skipping intro when anim is active 2015-10-16 19:36:23 -04:00
Paul Gilbert
2a70d2facb SHERLOCK: RT: Fix crash closing text dialogs with the keyboard 2015-10-16 08:23:19 -04:00
Paul Gilbert
15918139b7 SHERLOCK: RT: Fix corrupted savegame thumnails 2015-10-16 07:57:36 -04:00
Paul Gilbert
ebd080b219 SHERLOCK: RT: Fix conversation options screwup after viewing journal 2015-10-15 20:56:02 -04:00
Paul Gilbert
f1e2e00621 SHERLOCK: RT: Fix clouds appearing inside Dewar's lab 2015-10-15 08:03:16 -04:00
Paul Gilbert
f959a461a9 SHERLOCK: RT: Hook up fast speed to the Ctrl+S toggle
This reverts back to the original slower speed by default, but allows
the Ctrl+S toggle from Scalpel to work in Rose Tattoo to increase
the play speed
2015-10-14 19:42:18 -04:00
Paul Gilbert
8ee889beb4 SHERLOCK: RT: Refactor out incorrectly working _loadingSavedGame
This likely fixes just about every remaining outstanding bug report.
The variable, for a savegame being loaded, was only reset when a
previously loaded scene was freed. But if you loaded a game directly
from the launcher, there was no previous scene to free, and the
variable remained set. Which meant that you could do things in the
scene and then either leave the scene or make another save without
the _sceneStats update method being called to reflect the changes
made in the change in the global flags.
2015-10-13 20:16:32 -04:00
Paul Gilbert
fc6bde8f23 SHERLOCK: RT: Slightly increase movement speed
This may cause slight timing issues when doing animations of Holmes
playing musical instruments; I've already added special cases for
several of them to still keep animations in sync with the music
2015-10-12 21:42:35 -04:00
Paul Gilbert
8bed218415 SHERLOCK: RT: Fix brief incorrect tooltip text after showing animations 2015-10-12 20:56:11 -04:00
Paul Gilbert
0231eb22a5 SHERLOCK: RT: Fix memory leak in TattooPerson 2015-10-11 17:30:43 -04:00
Paul Gilbert
404076dcbe SHERLOCK: RT: Fix frame memory leak in StreamingImageFile 2015-10-11 16:51:49 -04:00
Paul Gilbert
0a1f5dbd4c SHERLOCK: Fix memory leak playing music 2015-10-11 16:19:53 -04:00
Paul Gilbert
ac24e8799f SHERLOCK: SS: Fix gcc compiler warnings 2015-10-11 15:24:48 -04:00
Thierry Crozat
eba16c05d7 SHERLOCK: Fix compilation error on OS X
The error was:
no viable conversion from 'std::__1::nullptr_t' to 'const Common::String'
2015-10-11 18:57:18 +01:00
Paul Gilbert
1d0c07006c SHERLOCK: SS: Fix sprites when multiple animations are active 2015-10-11 10:58:54 -04:00
Paul Gilbert
4e6cdf71fb SHERLOCK: Change _cAnimShapes to be a pointer array
This fixes cases where the array has multiple entries; removing a
previous entry could result in startCAnim's Object &cObj ending
up pointing to an incorrect entry
2015-10-10 20:55:39 -04:00
Paul Gilbert
9a6a65a965 SHERLOCK: SS: Don't reset Holme's position when loading savegames 2015-10-10 18:27:47 -04:00
Paul Gilbert
d089172f87 SHERLOCK: SS: Fix using keys to select UI buttons 2015-10-10 17:57:56 -04:00
Paul Gilbert
980810703e SHERLOCK: SS: Clean up speech playback to use playSpeech 2015-10-10 17:03:11 -04:00
Paul Gilbert
177409390f SHERLOCK: SS: Fix playback of voices in cutscenes 2015-10-10 16:38:28 -04:00
Martin Kiewitz
1e0b18684c SHERLOCK: RT: fix french detection entry 2015-10-08 17:36:08 +02:00
Martin Kiewitz
d236ddca4d SHERLOCK: RT: multilingual cleanup + French text
Moved people names to fixed text class
Changed order of inventory names + inventory descriptions
Fixed German umlauts
Added French text
2015-10-08 17:19:36 +02:00
Paul Gilbert
a1057a3fe5 SHERLOCK: SS: Move fixBadText from ScalpelJournal to ScalpelTalk 2015-10-08 08:22:26 -04:00
Paul Gilbert
3c6cf2b947 SHERLOCK: SS: Fix crash picking up typewriter 2015-10-07 21:22:51 -04:00
Paul Gilbert
0dc9a46bbe SHERLOCK: SS: Fix Holmes character re-appearing in Lab Table scene 2015-10-07 20:52:43 -04:00
Martin Kiewitz
dd297c302b SHERLOCK: SS: remove PRESS_KEY_xx from header file
was changed to fixed text class today
2015-10-07 23:11:18 +02:00
Martin Kiewitz
d5ef626490 SHERLOCK: SS: Multilingual press key text
Press key to continue/for more is now translated in the Spanish+German
versions of the game
2015-10-07 15:06:48 +02:00
Martin Kiewitz
7ef159abab SHERLOCK: SS: Spanish typo workarounds in journal
Fix a few typos of location names in the journal (Spanish version)
2015-10-07 12:48:36 +02:00
Martin Kiewitz
7a919dee8a SHERLOCK: SS: Spanish typo workaround on map
Fix "Alamacen" typo into "Almacen" see bug #6931
2015-10-07 12:40:33 +02:00
Martin Kiewitz
ca096e1ddd SHERLOCK: SS: location "Alley" Spanish translated
Location "Alley" on the map is now translated in the Spanish version
see bug #6931
2015-10-07 00:25:29 +02:00
Martin Kiewitz
2efcd3c1d9 SHERLOCK: SS: fix Spanish "Exit" translation
"Exit" is now translated to "Salir" instead of keeping "Exit"
in the Spanish version of Scalpel (see bug #6931)
2015-10-06 19:25:56 +02:00
Martin Kiewitz
e251cc0d32 SHERLOCK: SS: replace fixtxt umlaut w/ octal value
Replace fixed text umlaut with octal value
Also fix German "Tarot Cards" translation, Tarock cards are the
french cards, that are not used for predicting the future / telling
fortunes
2015-10-06 19:01:22 +02:00
Martin Kiewitz
0a3ecf0471 SHERLOCK: SS: multilingual people names support
people names are now available in Spanish + German as well
2015-10-06 18:47:47 +02:00
Paul Gilbert
654155bbe0 SHERLOCK: SS: Fix garbage text in German version conversation
Talking to Watson in the Alleyway scene can result in the text
"Change Speaker to Sherlock Holmes" appearing mid-conversation,
even in DosBox. This workaround fixes this by skipping the text.
2015-10-05 22:47:14 -04:00
Paul Gilbert
6aa5566a0f SHERLOCK: SS: Fix German conversation crash
The crash occurred due to the presense of a single character
printable string between two script opcodes
2015-10-05 22:19:46 -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
Martin Kiewitz
081fe30ce0 SHERLOCK: SS: fix comment typo 2015-10-05 23:55:58 +02:00
Martin Kiewitz
2aaf178dfc SHERLOCK: SS: Spanish inv. exclam. mark support
Support for spanish inverted exclamation mark
Was skipped over in the original interpreter and also wasn't
even included in the spanish font
We create the character by ourselves and map it accordingly
2015-10-05 23:53:46 +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
3c990ac16b SHERLOCK: SS: Fix thin drawing of scene objects into UI area 2015-10-03 22:56:53 -04:00
Paul Gilbert
531292e04e SHERLOCK: SS: Fix freeze when using flower on flask 2015-10-03 21:24:38 -04:00
Paul Gilbert
676f0e01d1 SHERLOCK: SS: Fix hiding Holmes when viewing lab table 2015-10-03 21:12:45 -04:00
Torbjörn Andersson
074bc1f47e SHERLOCK: Fix drawing glitch mentioned in bug #6928
This would happen when drawing an unscaled, flipped sprite that
was clipped because it was partway below the bottom of the
screen. It was incorrectly adjusting the top and bottom again,
even though flipping only affects left and right.
2015-10-04 02:01:52 +02:00
Paul Gilbert
f4a57cfde0 SHERLOCK: 3DO: Apply walk points fix to 3DO scene loading 2015-10-03 19:04:36 -04:00
Paul Gilbert
3053cd2cae SHERLOCK: SS: Fix loading points between scene walkable areas
Rose Tattoo had the zone lists cleanly listed end to end,
but Serrated Sclapel has, at least for Outside Scotland Yard,
a whole bunch of garbage at the start of the walk data block
2015-10-03 18:20:46 -04:00
Torbjörn Andersson
711d77c04a SHERLOCK: Fix original save/load slot bug in Serrated Scalpel
When using ScummVM's save/load dialogs, savegames are numbered from
0 and up, so don't add 1 when saving/loading in the original
dialogs. (Populating the original savegame list already worked as
expected, which made it even more confusing.)
2015-10-02 07:41:20 +02:00
Paul Gilbert
f5ea337656 SHERLOCK: RT: Fix restoring background when expanding map closeup 2015-09-29 20:15:04 -04:00
Paul Gilbert
f633b02d62 SHERLOCK: RT: Fix palette corruption using Journal in Diogenes club 2015-09-28 08:10:37 -04:00
Paul Gilbert
35d5533361 SHERLOCK: SS: Fix audio getting disabled after changing sound settings 2015-09-27 23:27:42 -04:00
Torbjörn Andersson
3fa3a7197a SHERLOCK: Remove unnecessary indentation level 2015-09-27 17:05:16 +02:00
Paul Gilbert
4850924b47 SHERLOCK: RT: Start next music song when a previous one finishes 2015-09-21 21:33:28 -04:00
Paul Gilbert
4a8ab68327 SHERLOCK: RT: Fix trying to scroll journal when there's only a single page 2015-09-21 20:35:20 -04:00
Paul Gilbert
e704f9aa9d SHERLOCK: RT: Fix Watson's Journal option not shown on all pages 2015-09-21 20:26:13 -04:00
Paul Gilbert
b439cf75b5 SHERLOCK: RT: Remove redundant voices check when showing look dialogs 2015-09-21 20:00:30 -04:00