aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-09-29SCI32: Fix crashes in line drawing codeFilippos Karapetis
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-29SCI32: Implement kBitmapCreateFromView and kBitmapGetInfoColin Snover
Used by Torin room 40300 to perform pathfinding by bitmap.
2016-09-29SCI32: Extra bounds checking in CelObj rendererColin Snover
2016-09-29SCI32: Always build scaler tables to the maximum possible sizeColin Snover
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-29SCI32: Clean up scaling flagsColin Snover
2016-09-29SCI32: Fix Torin inventory crash caused by wrong array typeColin Snover
2016-09-29SCI32: Fix CelObj scaling in games with hi-res scriptsColin Snover
2016-09-29SCI32: Disable "change directory" button in native save/load dialogueColin Snover
2016-09-29SCI32: Fix compilation warningsColin Snover
2016-09-29SCI32: Fix warnings and incompatible save games when built without SCI32Colin Snover
2016-09-29SCI: Rename "until" to "thru" in kernel call signaturesColin Snover
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-29SCI32: Put brackets around rest parametersColin Snover
The kernel signature * means "one or more", not "zero or more" as might be expected from the otherwise regex-like syntax.
2016-09-29SCI32: Add mark for KQ7 in script patchesColin Snover
2016-09-29SCI32: Emulate MGDX ego view metadataColin Snover
2016-09-29SCI32: Fix deleting save games in KQ7Colin Snover
2016-09-29SCI32: Fix multiple bugs in kSaveColin Snover
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-29SCI32: Emulate Shivers 1 game score metadataColin Snover
2016-09-29SCI32: Add more debugger support for dumping SCI32 arraysColin Snover
2016-09-29SCI32: Increase allowed number of save games in native save/loadColin Snover
This is applied only to games where the standard save/load dialogue is used; games like KQ7 and Phantasmagoria, which use a non-standard UI for save games, are still limited to the number of saves originally supported.
2016-09-29SCI32: Improve MGDX supportColin Snover
Audio directory switching is temporarily disabled because it causes use-after-free in the resource manager.
2016-09-29SCI32: Fix read overflow when there are no save gamesColin Snover
SCI system scripts will always try to read once from the game IDs array even if the number of games is zero.
2016-09-29SCI32: Add handling for save cataloguesColin Snover
2016-09-29SCI32: Implement ScummVM save/loadColin Snover
2016-09-29SCI: Replace magic numbers for globals with named constantsColin Snover
2016-09-29SCI32: Correct return values for kFileIO operationsColin Snover
2016-09-29SCI32: Implement kSave for standard-save SCI32 gamesColin Snover
Games with custom save code (KQ7, MGDX, PQ:SWAT, Shivers) are not fully supported yet.
2016-09-29SCI32: Fix "new game" and auto-save functionalityColin Snover
2016-09-29SCI32: Add constants documentationColin Snover
2016-09-29SCI: Split savegame descriptor fill code from savegame list codeColin Snover
The descriptor is used to check the validity of single savegames in SCI32.
2016-09-29SCI32: Start implementing kSave for SCI32Colin Snover
2016-09-29SCI32: Clean up and fix some SCI32-only kFileIO operationsColin Snover
2016-09-29SCI32: Add support for kPrintDebugColin Snover
2016-09-29SCI32: Implement kSetHotRectanglesColin Snover
Used only by chapter 7 of Phant1.
2016-09-29SCI32: Fix kFileIOOpen signatureColin Snover
The mode argument is required in SCI32 too; Torin just had a script bug.
2016-09-29SCI32: Patch bad calls to IntArray::newWith in Phant1 and SQ6Colin Snover
2016-09-29SCI32: Rewrite kArray & kStringColin Snover
This change invalidates earlier SCI32 save games, which separated arrays and strings in an incompatible manner. Old save games contain invalid references to a string segment which no longer exists, and contain incompatible array structures that lack critical type information.
2016-09-29SCI32: Add a trap for invalid calls to kNumCelsColin Snover
2016-09-29SCI: Improve debugging output for selector failuresColin Snover
2016-09-29SCI: Generalize code for getting information on the current callColin Snover
2016-09-29SCI: Fix whitespaceColin Snover
2016-09-29SCI: Fix typo in debugger helpColin Snover
2016-09-29SCI32: Fix buffer overflow when drawing border to a tiny text bitmapColin Snover
2016-09-29SCI32: Improved game resolution detectionColin Snover
2016-09-29SCI: Put CD flag on CD gamesColin Snover
2016-09-29SCI32: Skip SEQ playback if file not foundColin Snover
CID 1361588.
2016-09-29SCI32: Fix incorrect use of speedThrottler in Video32Colin Snover
The sleep values for video playback are the amount of time until the next frame needs to be displayed, whereas speedThrottler is used to ensure that a given amount of time always elapses between two triggered speedThrottler calls.
2016-09-29SCI: Move SciEngine::sleep to correct source fileColin Snover
2016-09-29SCI32: Fix incorrect warnings about unlocking type 140Colin Snover
This type in SSCI corresponds to Wave resources, but since ScummVM does not differentiate between Wave and Audio resources, just say it's an Audio resource type, not an Invalid resource type.
2016-09-29SCI32: Explicitly instantiate MIN/MAX templatesColin Snover
2016-09-29SCI32: Update screen on frameout, instead of in the event loopColin Snover