Commit Graph

1395 Commits

Author SHA1 Message Date
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