Commit Graph
1406 Commits
Author SHA1 Message Date
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