Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-03-18 | SCI32: Use correct script dimensions for later SCI32 games | Colin Snover | |
These values are hard-coded in the engine executable for each game. | |||
2016-03-18 | SCI32: Fix crashes in kIsOnMe caused by stale CelObjs | Colin Snover | |
2016-03-18 | SCI32: Fix incorrect double-read from CLUT | Colin Snover | |
2016-03-17 | SCI32: Code documentation improvements | Colin Snover | |
2016-03-17 | SCI32: Remove outdated note about state of frameout code | Colin Snover | |
This code is engine-accurate now, not based on guesswork. | |||
2016-03-17 | SCI32: Temporarily remove dead SCI2.1early transitions code | Colin Snover | |
This code sneaked in with the graphics engine rewrite, but is not ready yet to be used. It will return shortly, once it is enabled and working. | |||
2016-03-17 | SCI32: Update unimplemented TODO to reflect the correct operation type | Colin Snover | |
2016-03-17 | SCI32: Enable redrawAllCount in palMorphFrameOut | Colin Snover | |
2016-03-16 | SCI32: Work around bad Styler script in KQ7 2.0b | Colin Snover | |
The SCI2.1mid version of the game includes scripts designed for SCI2.1early which means wrong parameters are sent to the kernel. | |||
2016-03-16 | SCI32: Fix updated screen item count in remapMarkRedraw() | Filippos Karapetis | |
Thanks to snover for noticing this | |||
2016-03-16 | SCI32: Implement analyzeForRemap() | Filippos Karapetis | |
2016-03-16 | SCI32: Implement the remapping drawing functions | Filippos Karapetis | |
2016-03-16 | SCI32: Implement analyzeUncompressedForRemap() | Filippos Karapetis | |
2016-03-16 | SCI32: Spacing | Filippos Karapetis | |
2016-03-16 | SCI32: Remove dead code related to priority map handling | Filippos Karapetis | |
The priority map is not used at all in SCI32 at the engine level by design, so all the relevant code that handles picture priority is pretty much dead | |||
2016-03-16 | SCI32: Global 12 contains the previous room | Filippos Karapetis | |
2016-03-16 | SCI32: Remove getColorAtCoordinate() | Filippos Karapetis | |
The only calling code for this was removed in commit 3f2469c33ed6017d3c385fbbfd01a4e690987fbc | |||
2016-03-15 | SCI32: Initialise all scaler tables | Colin Snover | |
Initialising only the first table means that if the first ratios aren't 1:1 but the *second* ratios are 1:1, the second ratios will read from an uninitialised table. | |||
2016-03-15 | SCI32: More work on remapping | Filippos Karapetis | |
Still not working | |||
2016-03-15 | SCI: Remove unused _gfxScreen parameter from GfxRemap | Filippos Karapetis | |
2016-03-13 | SCI32: Fix scaler drawing pixels at the wrong positions | Colin Snover | |
In order for scaling ratios to apply equally across objects that start at different positions on the screen, the pixels that are read from the source bitmap must all use the same pattern of division. In other words, cels must follow the same scaling pattern as if they were drawn starting at an even multiple of the scaling ratio, even if they were not. | |||
2016-03-13 | Revert "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-13 | SCI32: Add note about kCantBeHere rect | Colin Snover | |
2016-03-13 | SCI32: Remove incorrect note about dword_C6288 | Colin Snover | |
Any reason why flipping this condition did anything to GK1 rendering was due to other unrelated bugs in the renderer. | |||
2016-03-13 | SCI32: Clarify the purpose of scaling ratios used in ScreenItem | Colin Snover | |
2016-03-13 | SCI32: Fix small inaccuracy in the scaling drawing code | Martin 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-11 | SCI32: Use Common::fill() instead of memset(), where possible | Filippos Karapetis | |
Thanks wjp, LordHoto, waltervn | |||
2016-03-11 | SCI32: Assign a define for the non-remapped number of colors | Filippos Karapetis | |
2016-03-11 | SCI32: Add remap counters and hook them up to frameOut | Filippos Karapetis | |
2016-03-11 | SCI32: Avoid usage of delegated constructors | Filippos 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-11 | SCI32: More work on remapping | Filippos Karapetis | |
applyRemap() has been implemented now, however the end effect is still not visible | |||
2016-03-11 | SCI32: Handle the different remap color ranges in SCI2 and SCI21 | Filippos Karapetis | |
This fixes an assertion when starting a new game in SQ6 | |||
2016-03-11 | SCI32: Fix bug in updateRemap() | Filippos Karapetis | |
2016-03-11 | SCI32: Initial implementation of kRemapColors | Filippos Karapetis | |
applyRemap() is still not finished, so nothing is actually visible yet | |||
2016-03-10 | SCI32: Implement GfxText32::getTextCount | Colin Snover | |
2016-03-10 | SCI32: Use correct name of kCantBeHere kernel function | Colin Snover | |
Only updating SCI32 names here due to not knowing about the correctness of the SCI16 code. | |||
2016-03-10 | SCI32: Use separate function for SCI32 version of kCantBeHere | Colin Snover | |
Requested by @m-kiewitz. | |||
2016-03-10 | SCI32: Clean up debug messages in GfxFrameout | Colin 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-10 | SCI32: Implement kMovePlaneItems | Colin Snover | |
2016-03-10 | SCI32: Remove side-effect-abusing calls to ScreenItem::getCelObj | Colin Snover | |
2016-03-10 | SCI32: Implement kSetNowSeen | Colin Snover | |
2016-03-10 | SCI32: Implement kCantBeHere | Colin Snover | |
2016-03-08 | SCI: Slight template formatting fixes. | Johannes Schickel | |
2016-03-08 | SCI: Add missing namespace comments in graphics/. | Johannes Schickel | |
2016-03-08 | SCI: Spacing | Filippos Karapetis | |
2016-03-08 | SCI: Split color remapping functionality into a separate class | Filippos Karapetis | |
Currently, only the SCI16 remapping functionality is implemented (used in the QFG4 demo) | |||
2016-03-08 | SCI32: Clean up kIsOnMe and fix rounding bug | Colin 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-07 | SCI32: Add unnecessary micro-optimisation to palette merging code | Colin Snover | |
2016-03-07 | SCI32: Fix palette color overflow | Colin Snover | |
2016-03-07 | SCI32: Actually use the BitmapFlags enum | Colin Snover | |