aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/celobj32.cpp
AgeCommit message (Collapse)Author
2016-05-27SCI32: Add explicit checks for null pointersColin Snover
CID 1351617, 1351618, 1351619, 1351620, 1351621, 1351622, 1354791.
2016-05-27SCI32: Initialise pointers in CelObj scalerColin Snover
This ensures that if there is a bug in the drawing code that causes the row to be unset, it will not result in silently reading garbage out of random memory. CID 1354802
2016-05-27SCI32: Fix CelObj cacheColin Snover
The previous implementation did not work properly, assigning the next insertion index to the oldest object instead of filling empty cache slots on a cache miss.
2016-03-16SCI32: Implement analyzeForRemap()Filippos Karapetis
2016-03-16SCI32: Implement the remapping drawing functionsFilippos Karapetis
2016-03-16SCI32: Implement analyzeUncompressedForRemap()Filippos Karapetis
2016-03-16SCI32: SpacingFilippos Karapetis
2016-03-16SCI32: Remove dead code related to priority map handlingFilippos 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-15SCI32: More work on remappingFilippos Karapetis
Still not working
2016-03-13SCI32: Fix scaler drawing pixels at the wrong positionsColin 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-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: 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-08SCI: Slight template formatting fixes.Johannes Schickel
2016-03-08SCI: Add missing namespace comments in graphics/.Johannes Schickel
2016-03-07SCI32: Move in-memory bitmap read/write into its own classColin Snover
2016-03-06SCI32: Fix memory leaksColin Snover
2016-03-03SCI32: Add all kBitmap signaturesColin Snover
Not all SCI2.1late/SCI3 function signatures are fully known yet, but all subops are now represented in the kernel tables.
2016-03-01SCI32: Fix bad reads of mirrored celsColin Snover
2016-02-18SCI: Minor cleanupColin Snover
1. Reorder member initialisations to match class member order 2. Use #pragma mark instead of comments for annotating sections 3. Remove useless >=0 checks on unsigned types
2016-02-19SCI: Use American English, like we do in other parts of ScummVMFilippos Karapetis
This replaces "colour" to "color"
2016-02-18SCI: When rewriting lookup tables, also actually record what scale they are forColin Snover
2016-02-18SCI: Implement templated drawing subroutinesColin Snover
2016-02-18SCI: Implement accurate renderer architecture for SCI32Colin Snover