Commit Graph

487 Commits

Author SHA1 Message Date
Bastien Bouclet
9240f1f36a SHERLOCK: Add override keywords 2020-02-09 12:43:16 +01: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
Paul Gilbert
6408771673 SHERLOCK: RT: Fix Spanish crash talking to lady in Tailor shop 2019-05-21 18:30:10 -07: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
Adrian Frühwirth
9bee9e1ba6 JANITORIAL: Fix whitespace 2018-04-19 12:08:31 +02: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
Eugene Sandulenko
dead4aa014 JANITORIAL: Remove trailing spaces 2016-10-09 14:59:58 +02: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
Eugene Sandulenko
fab199d37e JANITORIAL: Make GPL headers uniform 2016-09-03 12:46:38 +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
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
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
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
Paul Gilbert
c1c16fe288 SHERLOCK: RT: Fix conversation crash German Lawton's house 2016-02-12 20:54:30 -05: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
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
b75f6182b0 SHERLOCK: RT: Simplify ascii char checks, since we don't support accents 2016-01-29 23:02:28 -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
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
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
15918139b7 SHERLOCK: RT: Fix corrupted savegame thumnails 2015-10-16 07:57:36 -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