Commit Graph
86814 Commits
Author SHA1 Message Date
Simei Yin 728caa795a SLUDGE: Replace linked list by Common::List in PeopleManager 2018-04-28 14:42:20 +02:00
Paul Gilbert dcbb194640 XEEN: Fix rendering of Detect Monsters spell 2018-04-28 06:52:07 -04:00
Paul Gilbert 461171ced1 XEEN: Move some few overlooked strings and spell array into xeen.ccs 2018-04-27 20:45:20 -04:00
Paul Gilbert 3955a38923 XEEN: Fix World of Xeen ending sequence 2018-04-27 20:23:39 -04:00
Paul Gilbert 0dde061111 XEEN: Add script patch to remove statue floating off SE Clouds map corner 2018-04-27 19:53:53 -04:00
Simei Yin 657f3f8126 SLUDGE: Replace linked list by Common::List in SpeechManager 2018-04-27 19:48:29 +02:00
Simei Yin 7e7d8d769a SLUDGE: Remove global variable speechMode 2018-04-27 19:48:29 +02:00
Simei Yin da491601d4 SLUDGE: Move global variable brightnessLevel to GraphicsManager and refactor save&load 2018-04-27 19:48:29 +02:00
Simei Yin 5ced495769 SLUDGE: Move global variable thumbnailWidth/Height to GraphicsManager 2018-04-27 19:48:29 +02:00
Bastien Bouclet 4ce71f3922 MOHAWK: MYST: Fix two Atrus videos playing at the same time in D'ni
In D'ni, after giving the white page to Atrus, or after coming without a
page, too videos of Atrus would play on top of each other after waiting
long enough for the first video to loop.

Fixes #10503.
2018-04-27 19:29:18 +02:00
David Fioramonti 52e247e239 MOHAWK: MYST: Make Dni/Atrus endings an enum
The global variable "ending" tracks various
states that Atrus can be in.

This variable determines what video of
Atrus will be playing and if the brother
books have been destroyed.

Despite this variable being called ending
there are other endings not captured by
this variable (like the brother endings).

Also change spelling of Dini to Dni for one
usage of ActiveAge from a previous commit.
2018-04-27 19:22:00 +02:00
Paul Gilbert f125ffb89c XEEN: Script patch for Dark Tower statue setting invalid world flag 2018-04-26 22:17:54 -04:00
Paul Gilbert 66b8bfb98e XEEN: Fix entry to Darkstone Tower 2018-04-26 21:26:49 -04:00
Paul Gilbert e78f8e32ed XEEN: Fix entering Dragon Tower 2018-04-26 20:48:21 -04:00
Paul Gilbert cdb4c47a9a XEEN: Fix condition check in Southern Sphinx 2018-04-26 20:34:01 -04:00
Bastien Bouclet e1c6d4485d MOHAWK: MYST: Don't play the credits when quitting in the middle of a script
Playing the credits unloads the data required by the rest of the script.

Fixes Trac#10502.
2018-04-26 22:14:37 +02:00
Bastien Bouclet 3d2509a89c MOHAWK: MYST: Reset the main cursor when starting the credits
The credit stack does not have the data required to display all the
cursors, especially the page cursors.

Fixes Trac#10501.
2018-04-26 22:12:58 +02:00
David Fioramonti ab7cdc5907 MOHAWK: MYST: Make global currentAge an enum
This global basically tracks what age/book/stack
the player is in.

It is also used to change stacks via
MohawkEngine_Myst::changeToStack() by
being an index for MystScriptParser::_stackMap
and MystScriptParser::_startCard.

E.x., instead of _global.currentAge = 2
now _global.currentAge = kMystLibrary.

Also two of the endings are considered Ages
instead of being apart of _global.ending.
2018-04-26 22:09:46 +02:00
Paul Gilbert d53051760d XEEN: Fix entering the Southern Sphinx 2018-04-26 07:01:07 -04:00
Strangerke ef1b0171bf LILLIPUT: Fix regression introduced in 56db8c626e 2018-04-26 07:10:20 +02:00
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