Commit Graph

85191 Commits

Author SHA1 Message Date
Paul Gilbert
beeddc8c7e XEEN: Fix loading of event text in Darkside southern skyroad 2018-04-25 21:19:00 -04:00
Paul Gilbert
72d9c94289 XEEN: Fixes for Dark Side ending 2018-04-25 20:27:12 -04:00
Strangerke
169a604199 LILLIPUT: Implement play / music 2018-04-26 00:43:05 +02:00
Thierry Crozat
cb02d7471d BASE: Allow listing save games for all targets 2018-04-25 19:40:20 +01:00
Thierry Crozat
5907add148 BASE: Use --game to specify target for --list-saves command
This change brings the --list-saves command syntax in line with
other commands.
2018-04-25 19:40:20 +01:00
dafioram
519e02da47 MOHAWK: MYST: Turn held page state into an enum
Previously, the held page stage was an unsigned int 16
with values 0-13. The enum will make its state more clear.
2018-04-25 18:46:50 +02:00
Adrian Frühwirth
09dbb50ee4 README: Remove out-of-date reference to Win9x/NT/XP in connection with WinDbg 2018-04-25 09:38:39 +02:00
Cameron Cawley
3eb8ba5413 README: Fix broken links, update URLs to use https where possible 2018-04-25 09:32:46 +02:00
Cameron Cawley
9ff87767b4 README: Fix formatting 2018-04-25 09:32:46 +02:00
Bastien Bouclet
c1a12c2475 MOHAWK: MYST: Redraw the tower angle line after the rotation completes
Fixes Trac#10499.
2018-04-24 20:12:29 +02:00
Paul Gilbert
00af6a9aec XEEN: Fix Swords Greyhaven guild spell list 2018-04-23 20:14:57 -04:00
Paul Gilbert
db8f9bccfb XEEN: FIxes for Dark Side & Swords spell listing 2018-04-23 19:48:21 -04:00
Strangerke
dd152510af LILLIPUT: Remove some unused variables, initialize some others 2018-04-24 00:01:46 +02:00
Bastien Bouclet
366fbf5d2a MOHAWK: MYST: Clip one coordinate at a time in o_copyImageToBackBuffer
Fixes Achenar's door animation being mispositionned on Channelwood.

Fixes Trac#10498.
2018-04-23 13:04:05 +02:00
Thierry Crozat
0015d51d48 I18N: Regenerate translations data file 2018-04-23 05:05:06 +02:00
Willem Jan Palenstijn
65861bb914 SCI: Change workaround for PalVary / Animate race condition
The new approach is to delay kAnimate briefly (with an 68ms timeout)
while there is a zero-tick PalVary running, so that it has time to
trigger.

The previous workaround would immediately process a zero-tick
PalVaryInit/PalVaryReverse. This caused problems in QfG3 (bug #10304)
where it interfered with PalVaryPause.

The previous workaround could also be modified to handle pause/resume,
but this new approach should be closer to SSCI's behaviour, which used a
timer for a zero-tick PalVary too.

This fixes bug #10304, and keeps #5298 fixed too.
2018-04-22 22:54:18 +02:00
Adrian Frühwirth
10abb0c646 TITANIC: Fix discrepancy between readSavegameHeader() declaration and definition
This should have been part of commit 00e59a3122.
2018-04-22 22:45:54 +02:00
Adrian Frühwirth
b1b83ac954 Revert "TITANIC: Fix memory leak due to save thumbnail changes"
This was a miss in commit 00e59a3122. The new parameter was supposed
to be called skipThumbnail and default to true instead.
For consistency's sake (the rest of the tree uses skipThumbnail, not
loadThumbnail) I'm reverting this and will separately update the
declaration to how it should have been from the beginning.

Thanks dreammaster!
2018-04-22 22:42:40 +02:00
Paul Gilbert
ab3f397e2d TITANIC: Fix memory leak due to save thumbnail changes 2018-04-22 11:44:15 -04:00
Bastien Bouclet
04c321d200 CREATE_PROJECT: CMAKE: Fix importing SDL2 when it was built using CMake
When SDL is built using CMake, Find_Package imports a target instead of
defining variables. If a target was imported we now define the include
path and linker flags variables from the target's properties.

Using imported targets is a best practice. Ideally, we should define an
imported target when we detect variables were defined.
However, the linker flags variable would need to be parsed into a
library path and a list of libraries, making that approach impractical.
2018-04-22 09:27:04 +02:00
Bastien Bouclet
086ab443c0 MOHAWK: LB: Mark a switch fall-trough as intentional
Without the fall-through, the function would unconditionally dereference
an uninitialized pointer.
2018-04-22 08:30:08 +02:00
Bastien Bouclet
818117bda2 BASE: Allow options to come after command on the command line 2018-04-22 08:23:58 +02:00
Bastien Bouclet
a992dcc91a MOHAWK: LB: Mark some switch fall-throughs as intentional
Fall-throughs are used as a way to handle optional parameters in this
function.
2018-04-22 08:17:50 +02:00
Bastien Bouclet
0ebf04520a MOHAWK: MYST: Fix the sound effect not playing in opcode 41
Changing the background sound when switching cards could stop the effect
sound immediately after it started.

Fixes Trac#10493.
2018-04-22 08:15:14 +02:00
Adrian Frühwirth
1cb8454c21 BUILD: Add temporary files created by configure to .gitignore 2018-04-22 01:27:00 +02:00
Adrian Frühwirth
a20f90cbb7 JANITORIAL: Fix formatting 2018-04-22 00:56:21 +02:00
Bastien Bouclet
dd425413b5 MOHAWK: Remove extra coma 2018-04-21 17:50:30 +02:00
Bastien Bouclet
e421b18c38 Merge branch 'dafioram-myst_soundrecvrChanges' 2018-04-21 17:36:46 +02:00
Bastien Bouclet
7c7010204b MOHAWK: MYST: Always redraw the sound receiver at constant speeds
Fixes the sound receiver display stopping for a little while
every second or so when keeping a direction button pressed.
2018-04-21 17:32:11 +02:00
David Fioramonti
bfa97d8f7a MOHAWK: MYST: Make sound receiver hint boundary line up with orig
In the original the sound reciever would provide a hint of the
source sound direction when the user was less than 5 degrees
away. In ScummVM it was less than or equal to 5 degrees.
Now it matches the behavior of the original.
2018-04-21 07:27:59 -07:00
David Fioramonti
5a1fc8c230 MOHAWK: MYST: Enhance: slow down sound receiver max spin rate
This slows down the Selentic age sound receiver spin rate
when fully depressing either of the turn buttons.

This is a deviation from the original and improves
the users experience.

In the original when the button is fully depressed
the receiver turns so fast that it is impossible
to predict what angle you full be at when you let go.
2018-04-21 07:27:54 -07:00
Adrian Frühwirth
08bbef8f7d TUCKER: Improve autosave error handling 2018-04-21 16:02:51 +02:00
Adrian Frühwirth
2bbed8146f TUCKER: Try autosaving only once per autosave interval 2018-04-21 15:45:34 +02:00
Paul Gilbert
828da1fc20 XEEN: Add Swords guild membership checks 2018-04-21 07:54:00 -04:00
Paul Gilbert
0aeecb6c33 XEEN: Swords changes for game flags array 2018-04-21 07:26:52 -04:00
Paul Gilbert
ea524fa792 TINSEL: Fix held items not in either inventory being lost 2018-04-20 22:27:33 -04:00
Paul Gilbert
030582af00 XEEN: Ignore monster moves outside map rather than asserting 2018-04-20 21:00:15 -04:00
Paul Gilbert
4d3a7a78f5 XEEN: Fix assert for maximum number in button chooser 2018-04-20 20:51:10 -04:00
Paul Gilbert
fb5c464572 XEEN: Fix crash attacking enemies with an Elder weapon 2018-04-20 19:59:35 -04:00
Paul Gilbert
a5395edd32 XEEN: Fix scripts scanning party inventories for an item 2018-04-20 19:59:09 -04:00
Paul Gilbert
63ebadaf27 XEEN: Add town entry handling for Swords 2018-04-20 19:36:01 -04:00
Adrian Frühwirth
2d62b8efeb AUDIO: Silence compiler warning in Nuked OPL emulator 2018-04-21 01:24:21 +02:00
Adrian Frühwirth
3676c3886d TUCKER: Fix panel background being off by one pixel
This fixes an original game glitch where the main options menu background
image is drawn one pixel too high.

Fixes Trac#10496.
2018-04-21 00:57:12 +02:00
Adrian Frühwirth
fa1b23889a TUCKER: Draw text only when hovering over hotspots when using the map 2018-04-20 23:00:44 +02:00
Strangerke
56db8c626e LILLIPUT: Refactor engine, replace the use of MinMax by Common::Rect 2018-04-20 07:55:46 +02:00
Strangerke
7af31d6614 LILLIPUT: Add safeguard in homeInPathFinding 2018-04-20 07:21:06 +02:00
Strangerke
2f00d52a23 LILLIPUT: Fix memory leak 2018-04-20 07:10:38 +02:00
Strangerke
c0de8dd04d LILLIPUT: Fix unsafe read of string reported by coverity 2018-04-20 06:55:10 +02:00
Paul Gilbert
9479380310 XEEN: Changes for Auto Notes for Swords 2018-04-19 21:42:38 -04:00
Paul Gilbert
8d577f4916 XEEN: Alter quest flag handling to accomodate Swords 2018-04-19 21:21:59 -04:00