aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
AgeCommit message (Collapse)Author
2016-09-09SCI32: Fix GK1 day 5 script patchMartin Kiewitz
The previous patch made ego not getting the drum book anymore.
2016-09-08SCI32: Add script patch for fixing game dialogue error on day 5Martin Kiewitz
Special thanks, credits and kudos to sluicebox on IRC, who did a ton of research on this and even found this game bug originally.
2016-08-30SCI: Add missing parentheses to SIG/PATCH macrosWillem Jan Palenstijn
2016-08-28SCI32: Fix rendering of non-ASCII charactersColin Snover
2016-08-28SCI32: Add script patch for Gabriel Knight 1 script bug day 10Martin Kiewitz
Day 10 - when dressing up. Right after that Gabriel turns around, which went on endlessly in ScummVM. In the original engine kNumCels is broken and returns in special cases basically random data instead of 0. We return 0, which caused the cycler to never end, because the scripts asked to cycle until cel -1.
2016-08-28SCI32: Fix incorrect/missing cursor after restoring a save gameColin Snover
2016-08-27SCI32: Allow invalid bitmap references to be passed to kBitmapDestroyColin Snover
SSCI explicitly ignored invalid references passed to this function. Fixes GK1 room 410, when using the Rada Drum book on the drummer.
2016-08-26SCI32: Fix warningWillem Jan Palenstijn
2016-08-26SCI: Add a sanity check in wrapFilename(), as in unwrapFilename()Filippos Karapetis
2016-08-25SCI: Make kFileIORename use wrapped filenamesWillem Jan Palenstijn
This fixes deleting savegames in Phantasmagoria 1.
2016-08-25SCI32: Add a workaround when starting a new game in PhantasmagoriaFilippos Karapetis
This workaround is needed when starting a new game from a chapter after the first one
2016-08-25SCI32: Also handle chase.dat in Phantasmagoria like phantsg.dirFilippos Karapetis
This file is used during the chase sequence, and needs the same read/write logic as phantsg.dir
2016-08-25SCI32: Remove the warning about already opened robot filesFilippos Karapetis
This happens all the time in Phantasmagoria, with no ill side-effects
2016-08-25SCI32: Fix the signature of kDoAudioCritical, and add documentationFilippos Karapetis
This is used in Phantasmagoria, chapter 3, nursery (room 14200), during the "ghost lullaby" event. It is used to make the lullaby sound exclusive, but it really doesn't make any major difference. Also, the documentation has been adjusted to contain this information. Finally, the documentation has been adjusted to use 80 columns
2016-08-24SCI32: Remove extra ! in error messageColin Snover
2016-08-24SCI32: Fix incorrect boolean operatorColin Snover
2016-08-24SCI32: Remove error check for negative celNoColin Snover
Negative cel numbers are exploited by at least the hi-res mode of PQ4CD.
2016-08-24SCI32: Add workarounds for a bug in Torin, in an animation of LycentiaFilippos Karapetis
2016-08-23SCI32: Fix crash in Torin, chapter 4, catapult scene (via ScreenItem)Filippos Karapetis
loopNo/celNo are set to unsigned integers in ScreenItem::setFromObject in SSCI, thus their value will be adjusted when it's negative, like in this case
2016-08-23SCI32: Allow kListAt to reference an empty listFilippos Karapetis
Happens in Torin when examining Di's locket in chapter 3
2016-08-23SCI32: Add a workaround for an uninitialized variable in TorinFilippos Karapetis
2016-08-23SCI32: Explicitly abord kEachElementDo when a game is being loadedFilippos Karapetis
This is a better check than the one in commit 3d1f1a3a21
2016-08-23SCI32: Update the SCI2/SCI2.1 games that use global 90 for speech/subsFilippos Karapetis
2016-08-23SCI32: Fix restoring games from Torin's game restore dialogFilippos Karapetis
The list in kListEachElementDo may be invalidated after a selector invocation
2016-08-23SCI32: Also handle game checks for "torinsg.cat" in TorinFilippos Karapetis
This shows the "Open..." button when continuing a game
2016-08-23SCI32: Fix palette in SCI32 Mac gamesFilippos Karapetis
2016-08-23SCI: Fix compilation when SCI32 is not enabledFilippos Karapetis
2016-08-22SCI32: Document the games that use Robot videosFilippos Karapetis
2016-08-22SCI32: Add a workaround for kDoSoundPlay for GK1 MacFilippos Karapetis
2016-08-22SCI32: Move the SCI32 Mac cursor handling code into GfxCursor32Filippos Karapetis
This was left in the SCI16 code in commit 80d9182554
2016-08-22SCI: Return the correct platform in kPlatform for Mac versionsFilippos Karapetis
2016-08-22SCI32: Add stubs for the kPlayVMDSetPreload and kPaletteSetGamma callsFilippos Karapetis
These were introduced in SCI3, and are used by RAMA. We don't preload videos, so we don't really need kPlayVMDSetPreload, but kPaletteSetGamma may need an implementation. With these two stubs, the main menu of RAMA is working again
2016-08-22SCI32: Reorder the SCI32 palette kernel call assignmentsFilippos Karapetis
2016-08-22SCI32: Fix fallback detector for SCI32 games againFilippos Karapetis
A regression from c4250c05d0
2016-08-19SCI32: Fix limited data range comparison warningColin Snover
On at least DC platform, the ShowStyleType enum is fit to a 4-bit data size, so the 16-bit input value needs to be checked for validity *before* it is cast to a 4-bit ShowStyleType.
2016-08-19SCI32: Remove unused ResourceManager from GfxFrameoutColin Snover
2016-08-19SCI32: Bug fixes to PQ:SWAT script bugs and kList callsColin Snover
2016-08-19SCI: Avoid attempts to use exe/txt/dll files as patchesColin Snover
Fixes some false warnings when games try to read in non-patch files with names that start with A/B/S/T.
2016-08-19SCI32: Enable multi-disc audio resourcesColin Snover
Phant1, PQ:SWAT, GK2, and Phant2 all have different audio maps and audio volumes on each CD. In order to make this work within ScummVM, where CDs are never swapped, each RESOURCE.AUD for these games must be renamed to RESAUD.00x and each RESOURCE.SFX renamed to RESSFX.00x.
2016-08-19SCI32: Partially implement kCDColin Snover
2016-08-19SCI32: Increase maximum line width for graphicsColin Snover
Torin renders pics that are wider than 1024px; SCI3 bumps the maximum line width to 4k.
2016-08-19SCI32: Add kPlayVMDGetStatus kernel callColin Snover
Used by Lighthouse.
2016-08-19SCI: Remove references to SCI32 features from SCI16 video playerColin Snover
2016-08-19SCI32: Remove CoordAdjuster32, at least for the momentColin Snover
This may come back in the future to deduplicate some gfx code, but SCI32 had two different inlined ways of doing coordinate conversions with different rounding methods, so CoordAdjuster32 didn't get used when the graphics system was rewritten. At the moment, SCI32 code uses the mulru/mulinc methods from helper.h for scaling up/down coordinates.
2016-08-19SCI32: Fix kGlobalToLocal and kLocalToGlobalColin Snover
Fixes (at least) the native SCI save dialogs.
2016-08-19SCI32: Implement kRobotColin Snover
2016-08-19SCI32: Split kPlatform for SCI32Colin Snover
2016-08-19SCI32: Add kSetNowSeen variant for older SCI32 gamesColin Snover
KQ7 2.00b, PQ:SWAT, Phant1, GK2, and Torin are all verified as using the 'ignore' variant; SQ6 and QFG4CD are verified as using the 'fail' variant. MGDX and Shivers could not be checked as they have only Phar Lap Win16 executables, so took a guess based on their release dates.
2016-08-19SCI32: Add some bounds checking, const-correctness, and errors to CelObjColin Snover
2016-08-19SCI32: Address TODO in seg_manager.hColin Snover