aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
AgeCommit message (Collapse)Author
2016-03-13Revert "SCI32: Fix small inaccuracy in the scaling drawing code"Colin Snover
This reverts commit d85eb8ded68a20de383d84064aacd1a4c81db4e9. This patch did not correctly fix the scaler to follow the same rules as SSCI and only worked on the y-axis.
2016-03-13SCI32: Add note about kCantBeHere rectColin Snover
2016-03-13SCI32: Remove incorrect note about dword_C6288Colin Snover
Any reason why flipping this condition did anything to GK1 rendering was due to other unrelated bugs in the renderer.
2016-03-13SCI32: Clarify the purpose of scaling ratios used in ScreenItemColin Snover
2016-03-13SCI32: Correct some kernel call signaturesColin Snover
2016-03-13SCI32: Implement kCelHigh and kCelWide SCI32 versionsColin Snover
The SCI16 versions do not implement the scaling algorithm used by SCI32 so would be off by one in some cases.
2016-03-13BACKENDS: Only expose one set of functions for AudioCDManagerMatthew Hoops
Engines should only have to call one set of functions and not decide between the two. In fact, the 'emulation' API was documented to just call the 'real CD' API.
2016-03-13SCI: Ensure openCD() is calledMatthew Hoops
2016-03-13SCI32: Fix small inaccuracy in the scaling drawing codeMartin Kiewitz
Previously sourcePos was always originating from plain 0, 0 which made some pixels not always getting drawn at the right spot when uneven scaling was used (for example 5:12). Seems to fix gabriel knight 1 hires graphic issues
2016-03-11SCI32: Fix incorrect mouse event coordinates in SCI2 hiresColin Snover
2016-03-11SCI32: Use Common::fill() instead of memset(), where possibleFilippos Karapetis
Thanks wjp, LordHoto, waltervn
2016-03-11SCI32: Assign a define for the non-remapped number of colorsFilippos Karapetis
2016-03-11SCI32: Add remap counters and hook them up to frameOutFilippos Karapetis
2016-03-11SCI32: Avoid usage of delegated constructorsFilippos Karapetis
Although this feature reduces code duplication, GCC throws the following: "warning: delegating constructors only available with -std=c++11 or -std=gnu++11".
2016-03-11SCI32: More work on remappingFilippos Karapetis
applyRemap() has been implemented now, however the end effect is still not visible
2016-03-11SCI32: Handle the different remap color ranges in SCI2 and SCI21Filippos Karapetis
This fixes an assertion when starting a new game in SQ6
2016-03-11SCI32: Fix bug in updateRemap()Filippos Karapetis
2016-03-11SCI32: Initial implementation of kRemapColorsFilippos Karapetis
applyRemap() is still not finished, so nothing is actually visible yet
2016-03-10SCI32: Implement GfxText32::getTextCountColin Snover
2016-03-10SCI32: Use correct name of kCantBeHere kernel functionColin Snover
Only updating SCI32 names here due to not knowing about the correctness of the SCI16 code.
2016-03-10SCI32: Use separate function for SCI32 version of kCantBeHereColin Snover
Requested by @m-kiewitz.
2016-03-10SCI32: Clean up debug messages in GfxFrameoutColin Snover
Error messages now contain the name of the failed function and plane/screen item information that can be used to look up the plane/screen item in a debugger, if the games ever crash in a release in this code, per suggestion by @m-kiewitz. Commented out messages that were used during the rearchitecture of the main graphics engine are also removed, since that code is stable now.
2016-03-10SCI32: Implement kMovePlaneItemsColin Snover
2016-03-10SCI32: Remove side-effect-abusing calls to ScreenItem::getCelObjColin Snover
2016-03-10SCI32: Minor cleanup of kernel callsColin Snover
2016-03-10SCI32: Implement kSetNowSeenColin Snover
2016-03-10SCI32: Implement kCantBeHereColin Snover
2016-03-08SCI: Fix build with SCI32 disabled.Johannes Schickel
Regression from d4869218200a3dd165c2f1c156f3c1620c813241.
2016-03-08SCI: Slight template formatting fixes.Johannes Schickel
2016-03-08SCI: Add missing namespace comments in graphics/.Johannes Schickel
2016-03-08SCI: SpacingFilippos Karapetis
2016-03-08SCI: Split color remapping functionality into a separate classFilippos Karapetis
Currently, only the SCI16 remapping functionality is implemented (used in the QFG4 demo)
2016-03-08SCI: Update the game ID of a workaround that's only used in QFG4 demoFilippos Karapetis
2016-03-08SCI32: Disable kRemapColors32, as SCI32 remapping is still incompleteFilippos Karapetis
2016-03-08SCI: Separate the demos of QFG4, PQ4 and GK1 from their full versionsFilippos Karapetis
The demo versions of these games were using a very different engine - SCI1.1 vs SCI2/SCI2.1. Thus, we split them into different game IDs, to avoid mixing specific game checks for them, as well as specific game workarounds, which are different for the demos than the full versions. Also, the demos should be working when SCI32 is disabled. For these games, we don't use ADGF_DEMO, to avoid game IDs like foodemo-demo
2016-03-08ENGINES: Make variable names of ADGameDescription conform to our guidelines.Johannes Schickel
gameid -> gameId guioptions -> guiOptions
2016-03-08ENGINES: Make variable names of AdvancedMetaEngine conform to our guidelines.Johannes Schickel
_singleid -> _singleId _gameids -> _gameIds _guioptions -> _guiOptions
2016-03-08SCI32: Clean up kIsOnMe and fix rounding bugColin Snover
The implementation was not correctly rounding the scaled position with mulru, leading to occasionally incorrect hit detection at the boundaries of boxes.
2016-03-07SCI32: Add unnecessary micro-optimisation to palette merging codeColin Snover
2016-03-07SCI32: Fix palette color overflowColin Snover
2016-03-07SCI32: Actually use the BitmapFlags enumColin Snover
2016-03-07SCI32: Enable GfxPalette32::cycleAllPauseColin Snover
This is used by the Mr Soylent machines in SQ6 (e.g. room 370).
2016-03-07SCI32: Implement kBitmapDrawTextColin Snover
2016-03-07SCI32: Move in-memory bitmap read/write into its own classColin Snover
2016-03-08SCI: Truncate channel data in case it goes beyond resource sizeMartin Kiewitz
Fixes invalid memory access during kq5 floppy ending
2016-03-08SCI: Script patch for ending glitch in multilingual kq5Martin Kiewitz
Game hangs during the magic battle during the ending. Happened in all multilingual versions because of a script bug (scripts were waiting for a signal, music didn't set one) Fixes French, German and Spanish versions of KQ5 Also happened, when using the original interpreter
2016-03-07SCI32: Change magnifier warning to errorColin Snover
If anything actually uses this feature, we should know about it eventually.
2016-03-07SCI32: Clean up renderer code a bit moreColin Snover
2016-03-07SCI32: Add reg_t comparisons for graphics sortingColin Snover
2016-03-07SCI32: Add debugger command to view screen items in the visible plane listColin Snover