aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-09-30SCI32: Reset saved parts of GfxPalette32 when loading save gamesColin Snover
2016-09-30SCI32: Fix some buildbot compiler warningsColin Snover
2016-09-30SCI32: Fix buildWillem Jan Palenstijn
2016-09-29SCI32: Fix broken palette cycling in SCI2/2.1early gamesColin Snover
This fixes the incorrect appearance of the Sierra logo in PQ4 when the main menu appears in hi-res mode. The behaviour of kPalCycle(SetCycle) changed in between 2.1early and 2.1mid to fix an off-by-one error that prevented the last palette entry in a cycle range from being used. Some earlier games, like PQ4CD in hi-res mode, relied on this behaviour, and would render incorrectly if the last palette entry in a range was used.
2016-09-29SCI32: Clean up and document GfxPalette32Colin Snover
2016-09-29SCI32: Fix off-by-one error in palette fadesColin Snover
2016-09-29SCI: Deduplicate call origin formattingColin Snover
2016-09-29SCI: Add prefix to global variable constantsColin Snover
2016-09-29SCI32: Increase resource manager LRU cache sizeColin Snover
This fixes high CPU utilisation playing Stooge Fighter 3 in SQ6.
2016-09-29SCI32: Fix kArray signatureColin Snover
2016-09-29SCI32: Break into debugger after frameout, not beforeColin Snover
2016-09-29SCI32: Ensure break to debugger works during transitionsColin Snover
2016-09-29SCI32: Fix whitespaceColin Snover
2016-09-29SCI32: Add workaround for kNumCelsColin Snover
This workaround may be able to be vastly simplified in the future since, so far, simply returning the number of cels in loop 0 is enough to make all the scripts with this bug work as expected.
2016-09-29SCI32: Fix SQ6 crash using the special button in Stooge Fighter 3Colin Snover
2016-09-29SCI32: Ease debugging of wrong array typesColin Snover
2016-09-29SCI32: Fix SQ6 crash in Holocabana control panelColin Snover
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.