aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics
AgeCommit message (Collapse)Author
2016-02-27SCI32: Clear InfoFlagViewVisible after updating ScreenItemWillem Jan Palenstijn
2016-02-27SCI32: Remove two hacks for Torin, and document what happens insteadFilippos Karapetis
2016-02-27SCI: Remove another GK1-related hackFilippos Karapetis
2016-02-27SCI: Remove a TODO in GK1 that has been resolved properly nowFilippos Karapetis
2016-02-23SCI: Improve kAnimate fastcast detection, Remove EQ1 hackMartin Kiewitz
- Add "kAnimate fast cast state" to "version" debug command - Make it possible for script patcher signatures to get fully used outside of the regular script patcher - Remove previous fastcast detections and replace them with a signature heuristic - Remove object name checking, when fastcast global is set - Heuristic detects "fast cast" support incorrectly for multilingual KQ5, but it seems the game never sets the global, so it won't matter. KQ5 CD (also SCI1 late) has fastcast support. - Remove hack in GfxView::draw - Add lots of comments to ScriptPatcher class This fixes EcoQuest 1 Floppy showing the anemone on top of the message box (see bug #5170)
2016-02-21SCI32: Comment splitRectsWillem Jan Palenstijn
2016-02-21SCI32: Clean up Gfx::FrameoutsyncWithScripts()Martin Kiewitz
2016-02-21SCI32: Fix save patching for ScummVM dialogMartin Kiewitz
- Patch game super object for saving instead of game object - Remove re-adding planes+screen items, game::replay does that We would only have to do that for soft-failing on restore - Change debug levels of kNumLoops/kNumCels to 9 - Add special comment about -info- selector in syncWithScripts() This should now make ScummVM menu saving work properly at least in SQ6.
2016-02-21SCI32: Add comment about SQ6's option planeMartin Kiewitz
2016-02-21SCI32: Implement syncing planes+screen items from VM for restoreMartin Kiewitz
Fixes restoring saved games, when ScummVM dialogs are patched in Removing clearing planes+screen items as well, because the scripts actually did that, but did not clear everything. Fixes "Invalid screen item" message when entering options menu, after restoring in SQ6.
2016-02-21SCI: Use nullptr instead of 0 for null pointer checksColin Snover
2016-02-21SCI32: Add a bit more debug info to errors + screenitemsMartin Kiewitz
2016-02-21SCI: Fix redrawAll updating visiblePlanesWillem Jan Palenstijn
It was comparing ScreenItem*'s directly, instead of objects.
2016-02-21SCI: Skip NULL entries in FindByObjectWillem Jan Palenstijn
Lists can contain gaps if they're searched before Pack() is called.
2016-02-21SCI: Clear visible planes in GfxFrameout::clear() tooWillem Jan Palenstijn
This caused planes and visibleplanes to go out of sync when loading.
2016-02-20SCI: Fix showStyle check in palMorphFrameOut() - thanks snoverFilippos Karapetis
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