aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-07-12SCI32: Disable kernel call 0x23 on LSL6hiresColin Snover
LSL6hires calls 0x23 (Graph/Robot) from game scripts, but it is a null function in the game's interpreter.
2016-07-12SCI32: Fix unnecessary palette updatesColin Snover
Some games load palettes that include color 255, but this is hardcoded to white in SSCI, so just ignore it during merges since it is ignored when the hardware palette is updated anyway.
2016-07-12SCI32: Avoid flash of incorrect colour when palettes are changedColin Snover
Avoid forcing the screen to refresh after a palette change if the screen is also about to be drawn to, as the palette change + draw is intended to be an atomic operation.
2016-07-12GUI: Fix TabWidget height issuesAlexander Tkachev
Changes theme stx files to specify TabWidget's type. That fixes wrong TabWidget height. Changes TabWidget's getHeight() to return not only "children" height, but also tabs height. That fixes wrong clipping area. Changes Widget's findWidget to use getHeight(). That fixes bug when widgets in the bottom of TabWidget were not reacting to the mouse events.
2016-07-11SCI32: Fix broken background volume in Torin during speechColin Snover
2016-07-11Revert "SCI32: Add blackline option to KQ7 2.00b DOS"Colin Snover
This reverts commit 1ab87e3f8f24b19f5b9257dd9e6c5118b1a00f1d. VMD and DUK are the formats that get blacklined, not Robot.
2016-07-11SCI32: Add ADGF_DEMO flag to Hoyle 5 detectionColin Snover
2016-07-11SCI32: Add blackline option to KQ7 2.00b DOSColin Snover
KQ7 DOS uses Robot video in place of AVI.
2016-07-11SCI: Update script patch commentsMartin Kiewitz
2016-07-11SCI32: Add detection for Hoyle 5 demoColin Snover
2016-07-11SCI32: Improve kq7 subtitle script patchMartin Kiewitz
Subtitle box should now always use color 255, which should be white all the time. Normally it uses color 7, which is white most of the time, but for example pink/purple at the start of chapter 5.
2016-07-11SCI32: Give planes a default typeColin Snover
With the addition of the transparent pic type code, the _type property would be read uninitialised by setType if _pictureId was set to kPlanePic. CID 1357230, 1357231.
2016-07-11SCI32: Guard against no split countColin Snover
CID 1357229.
2016-07-11SCI32: Silence non-monitored channels while monitoring is activeColin Snover
2016-07-11SCI32: Fix incorrect logic of cycler overflowColin Snover
2016-07-11SCI32: Minor cleanup of GfxPalette32Colin Snover
2016-07-11SCI32: Fix bad output caused by missing palette copiesColin Snover
Sometimes, games accidentally use palette entries that are not marked as used and expect them to be a particular colour, like the Phantasmagoria title screen, or the white palette entry (always 255 in DOS/Win).
2016-07-11SCI32: Fix sign comparison warningColin Snover
2016-07-11SCI32: Split GfxPalette and GfxPalette32 + HunkPaletteColin Snover
2016-07-11SCI32: Split kPalCycle into subop functionsColin Snover
2016-07-11SCI32: Fix audio deadlocksColin Snover
Several functions in Audio32 would call into the mixer to pause or resume the audio handle, which would cause a deadlock if the mixer's mixCallback timer fired while one of these functions was running on the main thread. To address this, calls to mixer to pause/unpause the digital audio handle have been removed. Since this was just an optimisation to prevent unnecessary calls to fill the audio buffer, the only problem now is that a tiny amount of CPU is wasted on unnecessary callbacks to read from the empty SCI mixer.
2016-07-11SCI32: Minor Audio32 cleanupColin Snover
2016-07-11GRAPHICS: Fix copy/paste error in blitAlphaBitmapClip() (CID 1357410)Torbjörn Andersson
2016-07-11GRAPHICS: Fix copy/paste error in blitSurfaceClip (CID 1357411)Torbjörn Andersson
2016-07-11SCI32: Fix an issue with the KQ7 subtitles script patchMartin Kiewitz
Volume was lowered, but not raised afterwards for certain cases Original script patch was commited in b676530528349842ad178d02a2cbe49a0facd68e
2016-07-10SCI32: Add script patch to fix/improve KQ7 subtitlesMartin Kiewitz
Needs lots of testing of course Applies to 1.51 and 2.00
2016-07-10MOHAWK: Switch Riven saves to a slot based naming schemeBastien Bouclet
Existing saves are compatible but must be renamed to riven-###.rvn
2016-07-10MOHAWK: Save ScummVM specific metadata in the Riven savesBastien Bouclet
- Thumbnail - Save date - Save description - Total play time
2016-07-10MOHAWK: The French DVD version of Riven is just a repackaged CD versionBastien Bouclet
2016-07-10MOHAWK: Make the Riven saved games loadable by the original engineBastien Bouclet
2016-07-10MACOS: Use 'unsigned int' instead of NSUIntegerColin Snover
NSUInteger apparently does not exist until macOS 10.5, but buildbot targets 10.4.
2016-07-10SCI32: Re-enable KQ7 subtitles, but with a warning on game startColin Snover
2016-07-10MACOS: Fix sign comparisonColin Snover
2016-07-10SCI32: Disable KQ7 subtitlesColin Snover
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-10SCI32: Use #defines to reduce duplication of game optionsColin Snover
2016-07-10SCI32: Clean up Video32/VMDPlayerColin Snover
2016-07-10SCI32: Add support for blacklined videoColin Snover
Ow. My eyeballs.
2016-07-10SCI32: Implement kPlayVMDColin Snover
2016-07-10VIDEO: Expose API for providing a memory location to draw VMDsColin Snover
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-10Merge pull request #774 from Tkachov/the-container-box-pr2Eugene Sandulenko
GUI: Add ScrollContainerWidget
2016-07-08SCI: Set isSample when starting digital sample from soundInitSndWillem Jan Palenstijn
This fixes digital samples in at least QfG1, SQ3, LSL5. Bug #7159.
2016-07-07DEVTOOLS: Fix create_project build with MinGW64Bastien Bouclet
2016-07-07DEVTOOLS: Add a CMake project generator to create_projectBastien Bouclet
Also-By: Joel Teichroeb <joel@teichroeb.net> Also-By: Einar Johan Trøan Sømåen <einarjohants@gmail.com>
2016-07-06Merge pull request #775 from wjp/sci32_readwriteWillem Jan Palenstijn
SCI32: Improve FileIO read-write support
2016-07-06SCI32: Add SaveFileRewriteStream for read/write access to filesWillem Jan Palenstijn
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-06AUDIO: Fix audio corruption in MS ADPCM decoderTorbjörn Andersson
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-06SCI: Fix typo in script patch comment (longbow arithmetic bug)Martin Kiewitz
Wasn't bug #6571, but bug #6751 Thanks to omer_mor for spotting it
2016-07-06Revert "SCI: Mark INNDEMO as demo"Martin Kiewitz
This reverts commit 61a8a5a88f4f02f1d4cdd3523ad6cec63701d8dd.
2016-07-06SCI: Mark INNDEMO as demoMartin Kiewitz
2016-07-06Merge pull request #781 from OmerMor/inndemoMartin Kiewitz
SCI: Add detection for the ImagiNation Network (INN) Demo