Commit Graph
86814 Commits
Author SHA1 Message Date
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
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
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
Martin Kiewitz 29c31f8308 Revert "SDL: Fix keyboard on macOS, fix directional keypad"
This reverts commit 9aa7174218.

For now.
2016-07-03 19:43:56 +02:00
Martin Kiewitz 9aa7174218 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 19:08:24 +02:00
Willem Jan Palenstijn 02acf2e6ee Merge pull request #741 from wjp/sci-call
SCI: Clean up some aspects of call handling
2016-07-03 12:59:59 +02:00
Alexander Tkachev 846619fd42 GUI: Add checks in Widget::getBossClipRect()
Prints a warning if clipping area is invalid and fixes it.
2016-07-03 12:24:56 +02:00
Alexander Tkachev 6de5324742 JANITORIAL: Fix a few warnings 2016-07-03 12:24:55 +02:00
Alexander Tkachev cea58cc61c JANITORIAL: Remove trailing spaces 2016-07-03 12:24:53 +02:00
Alexander Tkachev bc2c7689dc GUI: Update scummmodern.zip 2016-07-03 12:24:47 +02:00
Alexander Tkachev 3d636617d0 GUI: Use clipping everywhere 2016-07-03 12:24:46 +02:00
Alexander Tkachev dc9b32e620 GUI: Fix PopUpDialog 2016-07-03 12:24:28 +02:00
Alexander Tkachev 6fd6043391 GUI: Fix blitAlphaBitmapClip() 2016-07-03 12:24:11 +02:00
Alexander Tkachev 4b87563792 GUI: Add blipClip() 2016-07-03 12:23:57 +02:00
Alexander Tkachev 916c86e689 GUI: Add blitAlphaBitmapClip() 2016-07-03 12:23:41 +02:00
Alexander Tkachev e636894b06 GUI: Add fillSurfaceClip() 2016-07-03 12:23:12 +02:00
Alexander Tkachev a39a6533c4 GUI: Add drawCrossClip() 2016-07-03 12:22:41 +02:00
Alexander Tkachev 0dcd29e998 GUI: Fix drawRoundedSquareClip() 2016-07-03 12:22:26 +02:00