Commit Graph
86814 Commits
Author SHA1 Message Date
Thierry Crozat c70701d07b SCUMM: Use platform from candidate to generate unknown version message
If we don't provide the platform and the candidate is a Steam version
it errors out with 'Unable to find Steam executable from detection
pattern!' message.
2016-10-01 01:55:01 +01:00
Paul Gilbert 8a96db4d30 TITANIC: Added CRawSurface class 2016-09-30 20:48:59 -04:00
Colin Snover 60be24d973 SCI: Bump save game number to fix save game compatibility
Version 38 save games were added to the 1.9 release branch with
only changes to SCI32 cursor support; shortly thereafter, changes
to the general (SCI16+SCI32) save game metadata were committed to
master -- without bumping the save game version number. This
prevented SCI16 save games from loading correctly in 1.10pre, since
the engine expected that version 38 games would have this extra
metadata, but they don't.
2016-09-30 19:05:14 -05:00
Retro-Junk f0425d4e94 FULLPIPE: Fix bounding box calculation in ReactPolygonal::getBBox 2016-10-01 00:50:35 +02:00
Eugene Sandulenko 5d1ea5db91 FULLPIPE: Fix scene persistence between scenes 2016-10-01 00:24:31 +02:00
Eugene Sandulenko 7c412fb9bf FULLPIPE: Fix Soldiers/girls show up sequence in scene16 2016-10-01 00:24:31 +02:00
Peter Kohaut 70c10f8243 BLADERUNNER: fixed compiler error in gcc and clang (was working in msvc14) 2016-09-30 23:58:20 +02:00
Filippos Karapetis 437f1d1cd1 SCI32: Add the rest of the code from PR #813 for dynamic line drawing 2016-10-01 00:25:06 +03:00
Peter Kohaut 0c7d323921 BLADERUNNER: add support for uncompressed audio, fixed wrong call to gamescript after loading scene 2016-09-30 22:42:40 +02:00
Eugene Sandulenko 74becd01ad FULLPIPE: Remove constant duplicates 2016-09-30 22:39:07 +02:00
Eugene Sandulenko ec7ab8a3a2 FULLPIPE: Increase number of saveslots.
Original save/load menu supports only 8 saves.
2016-09-30 22:35:55 +02:00
Eugene Sandulenko c294f9ae8d FULLPIPE: Fix whirlgig rotation on scene13 2016-09-30 22:35:55 +02:00
Eugene Sandulenko 424d2380b5 FULLPIPE: Enable debug menu permanently after cheat code to match the original 2016-09-30 22:35:55 +02:00
Eugene Sandulenko b1c10e147c FULLPIPE: Fix cursor color on Inflater in scene10 2016-09-30 22:35:55 +02:00
Colin Snover b6b9e2fce4 SCI32: Give savegame-only methods internal linkage 2016-09-30 13:54:10 -05:00
Colin Snover 988865cdc7 SCI32: Reset saved parts of GfxPalette32 when loading save games 2016-09-30 13:54:10 -05:00
Colin Snover 5baff4a1e5 SCI32: Fix some buildbot compiler warnings 2016-09-30 13:54:06 -05:00
Willem Jan Palenstijn d580b64c6e SCI32: Fix build 2016-09-30 09:19:59 +02:00
Colin Snover b7f93623c4 SCI32: Fix broken palette cycling in SCI2/2.1early games
This fixes the incorrect appearance of the Sierra logo in PQ4 when
the main menu appears in hi-res mode.

The behaviour of kPalCycle(SetCycle) changed in between 2.1early
and 2.1mid to fix an off-by-one error that prevented the last
palette entry in a cycle range from being used. Some earlier games,
like PQ4CD in hi-res mode, relied on this behaviour, and would
render incorrectly if the last palette entry in a range was used.
2016-09-29 19:39:16 -05:00
Colin Snover e412eaffbc SCI32: Clean up and document GfxPalette32 2016-09-29 19:39:16 -05:00
Colin Snover 7ad9418583 SCI32: Fix off-by-one error in palette fades 2016-09-29 19:39:16 -05:00
Colin Snover 8fd19f84c8 SCI: Deduplicate call origin formatting 2016-09-29 19:39:16 -05:00
Colin Snover 6290f1e5fc SCI: Add prefix to global variable constants 2016-09-29 19:39:16 -05:00
Colin Snover 8cb994b801 SCI32: Increase resource manager LRU cache size
This fixes high CPU utilisation playing Stooge Fighter 3 in SQ6.
2016-09-29 19:39:16 -05:00
Colin Snover bde7090708 SCI32: Fix kArray signature 2016-09-29 19:39:16 -05:00
Colin Snover 43f908d68b SCI32: Break into debugger after frameout, not before 2016-09-29 19:39:16 -05:00
Colin Snover cf07e0cb7c SCI32: Ensure break to debugger works during transitions 2016-09-29 19:39:16 -05:00
Colin Snover 015a62976c SCI32: Fix whitespace 2016-09-29 19:39:16 -05:00
Colin Snover 2035e21667 SCI32: Add workaround for kNumCels
This workaround may be able to be vastly simplified in the future
since, so far, simply returning the number of cels in loop 0 is
enough to make all the scripts with this bug work as expected.
2016-09-29 19:39:16 -05:00
Colin Snover 07e1dc3ca5 SCI32: Fix SQ6 crash using the special button in Stooge Fighter 3 2016-09-29 19:39:16 -05:00
Colin Snover 5877542d7e SCI32: Ease debugging of wrong array types 2016-09-29 19:39:16 -05:00
Colin Snover 3f6cfff225 SCI32: Fix SQ6 crash in Holocabana control panel 2016-09-29 19:39:16 -05:00
Filippos Karapetis a8009fb0a9 SCI32: Fix crashes in line drawing code
Fixes Torin room 43000.

The algorithm in Graphics::drawThickLine2 for drawing thick lines
is not completely accurate and so there are still some single-pixel
rendering bugs, but these do not impact the game itself and can
be fixed separately.
2016-09-29 19:39:16 -05:00
Colin Snover 9d2397e1e9 SCI32: Implement kBitmapCreateFromView and kBitmapGetInfo
Used by Torin room 40300 to perform pathfinding by bitmap.
2016-09-29 19:39:16 -05:00
Colin Snover 3208f063b5 SCI32: Extra bounds checking in CelObj renderer 2016-09-29 19:39:16 -05:00
Colin Snover 9a64c0587b SCI32: Always build scaler tables to the maximum possible size
This fixes rendering errors in Torin caused by the scaler table
being cut off early when cels larger than the dimensions of the
screen are scaled.
2016-09-29 19:39:16 -05:00
Colin Snover 2a27f27bb4 SCI32: Clean up scaling flags 2016-09-29 19:39:16 -05:00
Colin Snover 7011ee8f50 SCI32: Fix Torin inventory crash caused by wrong array type 2016-09-29 19:39:16 -05:00
Colin Snover cb66bfead0 SCI32: Fix CelObj scaling in games with hi-res scripts 2016-09-29 19:39:16 -05:00
Colin Snover 2c61569c62 SCI32: Disable "change directory" button in native save/load dialogue 2016-09-29 19:39:16 -05:00
Colin Snover 4d73736d1f SCI32: Fix compilation warnings 2016-09-29 19:39:16 -05:00
Colin Snover 1847b0f705 SCI32: Fix warnings and incompatible save games when built without SCI32 2016-09-29 19:39:16 -05:00
Colin Snover 3e75f42d85 SCI: Rename "until" to "thru" in kernel call signatures
Kernel calls with these signatures are inclusive of the engine
version given in the name; this change makes it clearer that
this is the case.
2016-09-29 19:39:16 -05:00
Colin Snover 7bae02e558 SCI32: Put brackets around rest parameters
The kernel signature * means "one or more", not "zero or more" as
might be expected from the otherwise regex-like syntax.
2016-09-29 19:39:16 -05:00
Colin Snover c644f817e3 SCI32: Add mark for KQ7 in script patches 2016-09-29 19:39:16 -05:00
Colin Snover 0c9d423497 SCI32: Emulate MGDX ego view metadata 2016-09-29 19:39:16 -05:00
Colin Snover aa720ca9cd SCI32: Fix deleting save games in KQ7 2016-09-29 19:39:16 -05:00
Colin Snover fba8568484 SCI32: Fix multiple bugs in kSave
1. Shift save numbers up/down for game scripts that rely on save
   game numbers starting from 0 to work correctly
2. Add fake file operations to support KQ7 save games
3. Hide autosave games from native save/load list to match SSCI.
2016-09-29 19:39:16 -05:00
Colin Snover 2629269212 SCI32: Emulate Shivers 1 game score metadata 2016-09-29 19:39:16 -05:00
Colin Snover 25c874b9cd SCI32: Add more debugger support for dumping SCI32 arrays 2016-09-29 19:39:16 -05:00