aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics
AgeCommit message (Collapse)Author
2016-02-20SCI32: kIsOnMe apply scaling + use mulru() thx snoverMartin Kiewitz
2016-02-20SCI32: kIsOnMe searches _visiblePlanes, not just _planesMartin Kiewitz
Forgot to mention that in last commit
2016-02-20SCI32: Splitting up GfxFrameout::kernelIsOnMe() into 2 methodsMartin Kiewitz
2016-02-20SCI: Document and disable the unverified code used in GK1Filippos Karapetis
2016-02-20SCI: Add a more detailed explanation about kernelSetZoomZoneFilippos Karapetis
2016-02-20SCI: Document kernelSetZoomZone()Filippos Karapetis
2016-02-20SCI: Add a better explanation of the visibility code used in GK1Filippos Karapetis
2016-02-20SCI: Handle the "visible" object selector. Fixes the inventory in GK1Filippos Karapetis
2016-02-20SCI: kernelSetZoomZone is a stub in Mac versions. Fixes bug #7040Filippos Karapetis
Cursor handling is quite different in Mac SCI versions. Among other changes, the screen where a zoom cursor was used in Freddy Pharkas has been redesigned to work without such a cursor, and the relevant zoom cursor call has been stubbed
2016-02-20SCI: Rewrite Plane::mergeToRectListWillem Jan Palenstijn
The old one would continue reading from outerRect after it was deleted.
2016-02-20SCI32: Some work on kIsOnMeMartin Kiewitz
Plenty of hotspots seem to work now Not fully done yet
2016-02-19SCI32: Make upscaled games work (e.g. gk1 hires)Martin Kiewitz
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-19SCI: Compare offsets in the Plane comparison operatorFilippos Karapetis
Fixes a crash in the first scene of Torin's Passage
2016-02-19SCI: Use proper constification in overriden base class functionsFilippos Karapetis
2016-02-18SCI: Fix bad positioning of relatively positioned pic celsColin Snover
2016-02-18SCI: When rewriting lookup tables, also actually record what scale they are forColin Snover
2016-02-18SCI: Fix some rect off-by-onesColin Snover
2016-02-18SCI: Add comments to plane codeColin Snover
2016-02-18SCI: Implement templated drawing subroutinesColin Snover
2016-02-18SCI: WIP GfxText32 codeColin Snover
This at least prevents SQ6 from crashing when going into the introduction
2016-02-18SCI: Fix palette equality checkColin Snover
2016-02-18SCI: Implement accurate renderer architecture for SCI32Colin Snover
2016-02-15Merge pull request #667 from a-detiste/masterEugene Sandulenko
JANITORIAL: Typos detected with lintian & grep
2016-02-15JANITORIAL: Typos detected with lintian & grepAlexandre Detiste
2016-02-14SCI: Proper initialization.Eugene Sandulenko
There is no guarantee of initialization order in the constructor declaration, thus corss references are not a good idea.
2016-02-06SCI: Screen pixel optimizationsMartin Kiewitz
Put things like putPixel() into screen.h, so that it can be inlined. Also don't use look up tables for those methods anymore and instead calculate offsets manually, because that should be faster.
2016-02-06SCI: Fix bits size calculation for upscaled hiresMartin Kiewitz
in screen class (calculating how many bytes are needed to save a specified area of various screen maps)
2016-02-06SCI: Implement kernelSyncWithFramebuffer using copyFromScreen.Johannes Schickel
2016-02-06SCI: Properly use pitch in GfxScreen::copyFromScreen.Johannes Schickel
2016-02-02SCI: Removed ".data" from SciEventMartin Kiewitz
Was the ScummVM-system-Keycode, sometimes modified. Changed Menu/Portrait/Controls32-code to use .character instead. Cleaned up a bit of code in getScummVMEvent()
2016-02-02SCI: Fix control/Fx keys not working anymoreMartin Kiewitz
Was effectively caused by commit adding the keyboard driver bug for SCI0/SCI01, although the bug is actually real and happens. It seems Sierra did not check the key-modifier in kMenuSelect. We do and that's why the code didn't recognize all sorts of menu keys anymore. We now isolate the lower byte before comparing. I also noticed, that Sierra passed keyboard modifiers in mouse events. This was probably done, so that owners of a 1-button mouse were able to right-click. We do this now too. Also added information about mouse modifiers in kGetEvent. Moved the mouse modifier code into getScummVMEvent(). This should fix bug #7009.
2016-01-22SCI32: PQ4 seems to support high resolution tooMartin Kiewitz
2016-01-22SCI: add user option for high resolution graphicsMartin Kiewitz
Instead of choosing Windows as platform, users can now also simply click this option for Gabriel Knight 1 + King's Quest 6 Defaults to high resolution graphics
2016-01-20SCI: Fix SCI32 hires detection making PQ4 unusably slowColin Snover
2016-01-15SCI: Fix usage of override functions and silence a warningFilippos Karapetis
2016-01-15Merge pull request #649 from csnover/sci32-kPaletteFilippos Karapetis
SCI32: kPalVary, kPalette fade support, kPalette findColor support, improvements to game time management
2016-01-14SCI: Minor clean-ups to comments and null pointer valuesColin Snover
2016-01-14SCI: Implement SCI32 kPalette findColor and matchColorColin Snover
It seems that findColor is used only by kPalette, and matchColor is used only by Remap.
2016-01-14SCI: fix kernelCoordinateToPriorityMartin Kiewitz
do not check _priorityTop. Sierra never did it (I checked all sorts of SCI versions, kq4 early, kq5, kq6, etc.) and checking it will cause at least a priority issue in lsl2 in room 54 (airplane that is taking off will be drawn using priority 1 instead of 0)
2016-01-14SCI: Use tick-based timing more consistentlyColin Snover
This means tick-based times are saved to save games, as in SCI32 engine, instead of seconds, which are not accurate enough. It also means places in SCI engine that need to access game ticks should do so through g_sci instead of g_system or g_engine.
2016-01-14SCI: Implement SCI32 kPalVary and kPalette setFadeColin Snover
This also fixes kPalCycle signatures to be more accurate.
2016-01-08SCI: Fix the math in applyFade(), and simplify setFade()Filippos Karapetis
2016-01-08SCI: *Really* fix the logic in applyFade()Filippos Karapetis
Thanks wjp
2016-01-08SCI: Fix the logic in applyFade()Filippos Karapetis
Note that this is still unused, as it is normally called from kSetShowStyle()
2016-01-08SCI: Renamed one more function name to conform to our guidelinesFilippos Karapetis
2016-01-08SCI: Make GfxPalette32 conform to out formatting guidelinesFilippos Karapetis
We do not prepend underscores to private class functions
2016-01-08SCI: SCI32 palette cyclers are disjoint, so use a single palette copyFilippos Karapetis
2016-01-08SCI: Simplify the SCI32 palette cycling codeFilippos Karapetis