Commit Graph
137148 Commits
Author SHA1 Message Date
Bastien Bouclet a6fa0eebca STARK: Fix segfault if an error happens early during the initialization 2017-05-30 19:19:38 +02:00
Bastien Bouclet 8b1beea68a STARK: Add savegame version handling
The save file header has a version attrubute, as well as each serialized
resource tree. The reason for this is that serialized resource trees
are not necessarily rehydrated into objects during the gameplay.
Thus the save version is not always consistent across the serialized resource
trees in a save file.
2017-05-30 19:07:42 +02:00
Paul Gilbert 867f06a2b4 TITANIC: Renamings and further fixes for CPhotoCrosshairs 2017-05-30 12:11:35 -04:00
Paul Gilbert 713f6e84fc TITANIC: Fix references to CPhotoCrosshairs _entries array 2017-05-30 11:35:28 -04:00
Bastien Bouclet bfcdaf970c STARK: Start keeping track of the diary state
Only diary entries and FMVs are implemented for now.
Conversations are still not recorded.
2017-05-30 14:24:22 +02:00
Martin Kiewitz 266f68c21b SCI: SQ4CD: Remove room restriction of existing workarounds for end
Fixes bug #9812
2017-05-29 23:44:28 +02:00
Bastien Bouclet 2b1fef82f6 WIN32: Add two missing shaders to be included as resources
Fixes #1346.
2017-05-29 22:04:13 +02:00
Martin Kiewitz 04b5c3a71b SCI32: GK1: Add second beignet timer issue script patch
Should solve bug #9805
2017-05-29 21:21:56 +02:00
Bastien Bouclet 4210c8dec1 STARK: Change the VisualSmacker interface to only deal with in game time
It previously sometimes returned in video time, which doesn't account for
the playback rate.

Fixes the worm going in and out of the floor bag.
2017-05-29 19:04:51 +02:00
Paul Gilbert 496839d766 TITANIC: Merge incorrectly duplicated field in CPhotoCrosshairs 2017-05-29 00:03:22 -04:00
Paul Gilbert 4358712c28 TITANIC: Fix copying star positions selected in photo 2017-05-28 23:42:47 -04:00
Thierry Crozat a614638747 I18N: Regenerate translations data file 2017-05-29 05:05:06 +02:00
Paul Gilbert 77703ed316 TITANIC: Renamed CStarControlSub7 to CStarMarkers 2017-05-28 22:25:13 -04:00
Paul Gilbert a4fca68217 TITANIC: Fix placement of stars in photo starfield 2017-05-28 22:04:29 -04:00
Paul Gilbert 30b5fc8c36 TITANIC: Fix copying viewport _valArray data 2017-05-28 18:17:51 -04:00
Paul Gilbert 8ad4c59c1c TITANIC: Fix crash switching from starfield to photo display 2017-05-28 17:14:48 -04:00
Paul Gilbert 6587cacabd TITANIC: Rename CStarControlSub8 to CPhotoCrosshairs 2017-05-28 16:27:39 -04:00
Paul Gilbert 99ce2f6f56 TITANIC: Renamings for photo surface 2017-05-28 16:14:07 -04:00
Paul Gilbert 38beceef7d TITANIC: Renamings of orientation related variables and methods 2017-05-28 15:53:52 -04:00
Paul Gilbert 0be151d507 TITANIC: Fix crash inserting photograph into star control 2017-05-28 14:56:44 -04:00
Hein-Pieter van Braam d6645f3fc9 Merge pull request #949 from csnover/advanceddetector-fullpaths
ENGINES: Allow detection entries to match on full paths
2017-05-28 11:40:07 +02:00
Hein-Pieter van Braam 379314c27d Merge pull request #952 from wjp/hide_gmm_saveload
GUI: Fully hide GMM save/load buttons if not supported by engine
2017-05-28 11:23:49 +02:00
Bastien Bouclet 0f56699f8d STARK: Make the cursor blink speed framerate independent 2017-05-28 09:30:46 +02:00
Bastien Bouclet c8f3068380 STARK: Fix skeletal animations sometimes playing twice
If the game loop occurred exactly at the animation loop point,
the animation would start playing again from the beginning.
2017-05-28 09:30:46 +02:00
Bastien Bouclet b5baf28155 STARK: Make the actor rotation speed framerate independent 2017-05-28 09:30:46 +02:00
Bastien Bouclet 7d8d14af9b STARK: Add a special case for April's item hotspot name
The original engine does the same
2017-05-28 09:30:46 +02:00
Bastien Bouclet 9e91ad81dc STARK: Don't fetch item titles from templates
This reverts commit 90980231b9.
2017-05-28 09:30:46 +02:00
Colin Snover f940346812 SCI32: Minor cleanup to plane debug information 2017-05-27 23:36:11 -05:00
Colin Snover ccf5665fac SCI32: Remove dead code 2017-05-27 23:36:11 -05:00
Colin Snover 73fab1e135 SCI32: Remove invalid interaction cursor spinloop in KQ7 2017-05-27 21:57:06 -05:00
Bastien Bouclet dfa209bd95 STARK: When starting to follow a path, move the item to the begining
Fixes the item appearing for one frame at the end of the path when the
path was already previously followed.
2017-05-27 21:27:48 +02:00
Paul Gilbert cb527ac286 TITANIC: Rename _powers array to _speeds 2017-05-27 15:13:54 -04:00
Filippos Karapetis a8b3b67d29 SCI32: Update some old comments related to virtual files 2017-05-27 14:33:24 +03:00
Bastien Bouclet a0a9abd46f STARK: Improve prop meshes texture coordinates
Still not quite perfect
2017-05-27 13:30:46 +02:00
Filippos Karapetis 03c1b3307c SCI: Remove a leftover SCI32 hack 2017-05-27 13:32:02 +03:00
Bastien Bouclet 7e58809430 STARK: Fix prop meshes model transform matrices 2017-05-27 10:46:17 +02:00
Vincent Pelletier 57eda6aef0 GRAPHICS: Include bytesPerPixel in toString representation 2017-05-27 09:39:08 +02:00
Paul Gilbert 7d8cff0231 TITANIC: Fix calculation of acceleration powers table 2017-05-26 23:23:45 -04:00
Paul Gilbert 50a6100d27 TITANIC: Simplify FVector addAndNormalize 2017-05-26 21:21:29 -04:00
Paul Gilbert f9f835e080 TITANIC: Fix orientation threshold check in CStarControlSub24 2017-05-26 21:00:31 -04:00
Bastien Bouclet 4dac8fb024 STARK: Implement an opcode allowing a light to follow a path 2017-05-26 21:44:00 +02:00
Willem Jan Palenstijn d9807b0fca SCI32: Fix warning 2017-05-26 19:33:59 +02:00
Hein-Pieter van Braam 04fb40be2d SCI32: Fix kArrayFill
The ScummVM implementation of class SciArray::fill() has a bug where it
will overwrite the array[index] with the value count times, rather than
fill the array starting from index count times.

This patch fixes that behavior. This was noticed because the LSL7 dice
game was broken, it was impossible to lose. After this patch the dice
game works as expected.

Closes gh-953.
2017-05-26 12:21:43 -05:00
Bastien Bouclet e08ea6a961 STARK: Implement the opcode for an animated item to follow a path 2017-05-26 17:35:38 +02:00
Bastien Bouclet 5aaa7fb78a STARK: Add a stub for the opcode Book of Secrets Open
So that the opcode lists from the decompiler and the interpreter are in sync.
2017-05-26 15:01:23 +02:00
Bastien Bouclet aaa56f34ed STARK: Implement opcode Item Set Activity 2017-05-26 14:46:09 +02:00
Bastien Bouclet b51b49ebc0 STARK: Implement opcode item rotate to direction 2017-05-26 13:53:25 +02:00
Bastien Bouclet 888828f373 STARK: Implement the skippable pause opcode 2017-05-26 11:36:32 +02:00
Bastien Bouclet eb47d292b7 BASE: Enable the --engine-speed command line parameter for all engines 2017-05-26 06:43:54 +02:00
Bastien Bouclet 736c9331bb STARK: Use the engine_speed setting to contigure the frame limiter 2017-05-26 06:43:39 +02:00