Commit Graph
137148 Commits
Author SHA1 Message Date
Paul Gilbert 8e5f7a9453 TITANIC: Fix stopping movies 2016-07-10 16:10:50 -04:00
Paul Gilbert 9db15f6967 TITANIC: Allow television video to play multiple times 2016-07-10 16:10:49 -04:00
Bastien Bouclet 504ffd2aba MOHAWK: Switch Riven saves to a slot based naming scheme
Existing saves are compatible but must be renamed to riven-###.rvn
2016-07-10 22:01:03 +02:00
Bastien Bouclet f78bb08b18 MOHAWK: Save ScummVM specific metadata in the Riven saves
- Thumbnail
- Save date
- Save description
- Total play time
2016-07-10 22:01:03 +02:00
Bastien Bouclet 792548f28f MOHAWK: The French DVD version of Riven is just a repackaged CD version 2016-07-10 22:01:02 +02:00
Bastien Bouclet c06e347d90 MOHAWK: Make the Riven saved games loadable by the original engine 2016-07-10 22:01:02 +02:00
Colin Snover 1c0c540fa7 MACOS: Use 'unsigned int' instead of NSUInteger
NSUInteger apparently does not exist until macOS 10.5, but
buildbot targets 10.4.
2016-07-10 11:46:32 -05:00
Colin Snover 46804fda15 SCI32: Re-enable KQ7 subtitles, but with a warning on game start 2016-07-10 11:46:19 -05:00
Colin Snover c294e4fbf8 MACOS: Fix sign comparison 2016-07-10 10:50:05 -05:00
Colin Snover 774d0cbdb3 SCI32: Disable KQ7 subtitles
The subtitles in KQ7 were not finished and don't quite work right,
drawing off the screen and in weird positions. They could probably
be fixed with some aggressive script patching, but for now, they
are just disabled (as they are in the official release).
2016-07-10 10:50:05 -05:00
Colin Snover 0f5935f97c SCI32: Use #defines to reduce duplication of game options 2016-07-10 10:50:05 -05:00
Colin Snover 19f90177b7 SCI32: Clean up Video32/VMDPlayer 2016-07-10 10:18:30 -05:00
Colin Snover b6dbc79021 SCI32: Add support for blacklined video
Ow. My eyeballs.
2016-07-10 09:36:10 -05:00
Colin Snover 4d91b458e5 SCI32: Implement kPlayVMD 2016-07-10 09:35:24 -05:00
Colin Snover 28d4f5b0e4 VIDEO: Expose API for providing a memory location to draw VMDs
In SSCI, VMD is drawn by a standard CelObjMem wrapped by a
ScreenItem, giving the location of the bitmap memory to the
decoder. The decoder already supports this, but the API was
previously hidden behind the AdvancedVMDDecoder wrapper
(which is more convenient to use than the VMDDecoder class).
2016-07-10 09:35:24 -05:00
Eugene Sandulenko 9cec2eea5c Merge pull request #774 from Tkachov/the-container-box-pr2
GUI: Add ScrollContainerWidget
2016-07-10 16:23:34 +02:00
Vincent Pelletier 41f50c2ba0 GRIM: Get rid of a few TinyGL-only lines.
Now that TinyGL behaves better around matrices, these lines become
superfluous.
2016-07-10 13:25:20 +00:00
Vincent Pelletier 93d23656fa TINYGL: Do not clear matrix_model_projection_updated in gl_matrix_update.
Changing texture or color matrices must not prevent a model projection
update, even if it is done last.
2016-07-10 13:19:45 +00:00
Vincent Pelletier f75767fc78 TINYGL: Always check if texture matrix need applying.
matrix_model_projection_updated is not set when texture matrix alone is
modified.
2016-07-10 13:13:46 +00:00
Vincent Pelletier a53e36478c GRIM, SHADERS: Reduce differences between GRIM and EMI shaders. 2016-07-10 01:06:25 +00:00
Vincent Pelletier c57691c751 GRIM, SHADERS: Drop no-op calls in GfxOpenGLS::drawMesh.
disableLight/enableLight only set _lightsEnabled, and nothing reads it
between these two calls.
2016-07-10 01:06:25 +00:00
Vincent Pelletier 7108b8cbe9 GRIM, SHADERS: Toggle light inside drawMesh.
Fixes appearance of roulettes in cn and beavers in dm (#1186).
2016-07-10 01:06:25 +00:00
Willem Jan Palenstijn 862f12c71b SCI: Set isSample when starting digital sample from soundInitSnd
This fixes digital samples in at least QfG1, SQ3, LSL5. Bug #7159.
2016-07-08 22:08:53 +02:00
Bastien Bouclet e1c186e85f DEVTOOLS: Fix create_project build with MinGW64 2016-07-07 18:47:18 +02:00
Bastien Bouclet 6a3e07dca5 DEVTOOLS: Add a CMake project generator to create_project
Also-By: Joel Teichroeb <joel@teichroeb.net>
Also-By: Einar Johan Trøan Sømåen <einarjohants@gmail.com>
2016-07-07 18:47:18 +02:00
Willem Jan Palenstijn 82eea1491b Merge pull request #775 from wjp/sci32_readwrite
SCI32: Improve FileIO read-write support
2016-07-06 21:09:29 +02:00
Willem Jan Palenstijn d832a23241 SCI32: Add SaveFileRewriteStream for read/write access to files
At least Phantasmagoria and PQ:SWAT require this.

This adds a ReadStream/WriteStream to support this. It replaces
the previous VirtualIndexFile which required reimplementation of
most read/write functions.
2016-07-06 21:06:12 +02:00
Torbjörn Andersson 9382dab811 AUDIO: Fix audio corruption in MS ADPCM decoder
Since _decodedSamples[] is filled with either 2 or 4 samples, we
can't use 1 - (count - 1) to "ensure that acts as a FIFO". When
we have 4 samples, that index will become negative, putting
uninitialized data into the buffer.

We could still use a similar trick, but I think it's much clearer
to use an index variable like this. We need an addition variable
either way.
2016-07-06 20:51:28 +02:00
Martin Kiewitz 20ccd3affc SCI: Fix typo in script patch comment (longbow arithmetic bug)
Wasn't bug #6571, but bug #6751
Thanks to omer_mor for spotting it
2016-07-06 19:57:26 +02:00
Martin Kiewitz 273bbab82a Revert "SCI: Mark INNDEMO as demo"
This reverts commit 61a8a5a88f.
2016-07-06 13:24:43 +02:00
Martin Kiewitz 61a8a5a88f SCI: Mark INNDEMO as demo 2016-07-06 10:22:02 +02:00
Vincent Pelletier 6519558046 GRIM,EMI: Drop Grim::Component::setupTexture
This method is never implemented, so drop its declaration and callers.
2016-07-05 23:13:11 +00:00
Martin Kiewitz 3540cf189d Merge pull request #781 from OmerMor/inndemo
SCI: Add detection for the ImagiNation Network (INN) Demo
2016-07-06 00:00:22 +02:00
Omer Mor 445b690a6f SCI: Add detection for the ImagiNation Network (INN) Demo 2016-07-06 00:40:33 +03:00
Eugene Sandulenko 0854dbd68c Revert "GRAPHICS: Fix GUI transparency. As pointed by blitter on IRC"
This reverts commit 1d3d6c8692.

As it was pointed by wjp, this fully ignores the alphamask.
2016-07-05 19:23:04 +02:00
Eugene Sandulenko c805b933d2 Merge pull request #780 from BenCastricum/po_nl-nl
I18N: Update dutch translation
2016-07-05 19:22:23 +02:00
Ben Castricum c10d570055 I18N: Update dutch translation 2016-07-05 14:50:48 +02:00
Eugene Sandulenko 1d3d6c8692 GRAPHICS: Fix GUI transparency. As pointed by blitter on IRC 2016-07-05 09:26:11 +02:00
Bastien Bouclet 0440ff64f1 MOHAWK: Have the Myst and Riven options dialog share a base class
Now the Riven options dialog has the same features as the Myst one:
- Screen centering
- Save / Load / Quit buttons
2016-07-04 20:47:16 +02:00
Bastien Bouclet d35d8efc50 MOHAWK: Change the Riven options dialog's cancel button not to save the settings 2016-07-04 20:47:16 +02:00
Bastien Bouclet 0c57c99f00 MOHAWK: Change the Riven options dialog not to subclass GUI::OptionsDialog 2016-07-04 20:47:16 +02:00
Martin Kiewitz ee41f6456e SCI: Adding script patch for longbow arithmetic berry bush bug
Fixes bug #6571
2016-07-04 18:31:40 +02:00
Torbjörn Andersson eff9f87483 PRINCE: Remove manual debug level setting. It's too noisy. 2016-07-04 07:12:45 +02:00
Torbjörn Andersson fad29cf071 BBVS: Remove some uses of g_system 2016-07-04 06:52:37 +02:00
Torbjörn Andersson 9020002c78 PRINCE: Add video player for topware.avi logo
The sound is rather bad, but I assume that's something with our
CinePak video decoder so I'll leave it like this for now. The player
itself is based on the BBVS engine.
2016-07-04 01:03:32 +02:00
Torbjörn Andersson 35a5918ada PRINCE: Prefix the names of the data archives
This avoids a conflict between the "all" directory and the "all"
archive, if the directory happens to be named in all lower case.
While it isn't on the CD, we shouldn't introduce case sensitivity
in the file names if we can avoid it.
2016-07-03 22:20:52 +02:00
Torbjörn Andersson 2ac0b7d7ae PRINCE: Correct search path to voices/databank.ptc
At least in my copy, the voices directory is on the same level as
the other directories. (Though the whole thing is inside a
directory called "data", so maybe that's where that came from?)
2016-07-03 22:20:52 +02:00
Willem Jan Palenstijn ea941962d7 Merge pull request #778 from raziel-/patch-1
BASE: Fix Typo
2016-07-03 22:13:47 +02:00
Hubert Maier 866f8ede2d BASE: Fix Typo 2016-07-03 23:12:07 +03:00
Martin Kiewitz f5ed14e93d SDL: Fix keyboard on macOS, when using SDL2, fix directional keypad
This will hopefully fully fix keyboard issues for macOS / SDL2,
for example when pressing "alt-x".

Also reset .ascii to 0, when Num-Lock is NOT enabled and keypad
directional keys are pressed. This was fixed inside AGI+SCI
previously.

The latter shouldn't cause issues, but in case it does, the
affected engine should get fixed and use keycodes instead.
2016-07-03 20:36:27 +02:00