aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/frameout.cpp
AgeCommit message (Collapse)Author
2016-03-18SCI32: Use correct script dimensions for later SCI32 gamesColin Snover
These values are hard-coded in the engine executable for each game.
2016-03-18SCI32: Fix crashes in kIsOnMe caused by stale CelObjsColin Snover
2016-03-18SCI32: Fix incorrect double-read from CLUTColin Snover
2016-03-17SCI32: Remove outdated note about state of frameout codeColin Snover
This code is engine-accurate now, not based on guesswork.
2016-03-17SCI32: Temporarily remove dead SCI2.1early transitions codeColin 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-17SCI32: Update unimplemented TODO to reflect the correct operation typeColin Snover
2016-03-17SCI32: Enable redrawAllCount in palMorphFrameOutColin Snover
2016-03-16SCI32: Work around bad Styler script in KQ7 2.0bColin 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-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-16SCI32: Global 12 contains the previous roomFilippos Karapetis
2016-03-15SCI32: More work on remappingFilippos Karapetis
Still not working
2016-03-11SCI32: Add remap counters and hook them up to frameOutFilippos Karapetis
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: Implement kSetNowSeenColin Snover
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: Change magnifier warning to errorColin Snover
If anything actually uses this feature, we should know about it eventually.
2016-03-07SCI32: Add debugger command to view screen items in the visible plane listColin Snover
2016-03-06SCI32: Fix memory leaksColin Snover
2016-03-06SCI32: Implement kEditTextColin Snover
2016-03-02SCI32: Minor consistency improvement to FrameOutColin Snover
2016-03-02SCI32: "Fix" missing fade transitionsColin Snover
The original engine had some members on PlaneShowStyle to allow wall clock timing but never actually used them in the processing loop so transitions simply ran as quickly as the CPU could process them. For the moment, we will just limit these transitions to ~30fps, which hopefully roughly matches the speed of the engine on hardware of the era.
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-21SCI32: Add a bit more debug info to errors + screenitemsMartin Kiewitz
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-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-18SCI: Fix some rect off-by-onesColin Snover
2016-02-18SCI: Implement accurate renderer architecture for SCI32Colin Snover
2016-01-20SCI: Fix SCI32 hires detection making PQ4 unusably slowColin Snover
2016-01-14SCI: Implement SCI32 kPalVary and kPalette setFadeColin Snover
This also fixes kPalCycle signatures to be more accurate.
2016-01-07SCI32: Add kFrameOut stub codeColin Snover
2016-01-07SCI32: Add initial support for palette cycling (kPalCycle) and fading (kPalFade)Colin Snover
Graphics palette code was rewritten between SCI1 and SCI2, so SCI32 palette engine code has been moved to a separate GfxPalette32 class.
2016-01-02JANITORIAL: Remove #includes of list_intern.hOri Avtalion
2015-12-29SCI32: split up SCI2.1 into EARLY/MIDDLE/LATEMartin Kiewitz
- Detection works via signatures (couldn't find a better way) - new kString subcalls were introduced SCI2.1 LATE - kString now has signatures and is split via subcall table - kString fix, so that KQ7 doesn't crash, when starting a chapter - Sci2StringFunctionType removed, because no longer needed
2014-11-09SCI: Phantasmagoria actually outputs 630x450 nowMartin Kiewitz
clipping of video output was required
2014-10-13SCI: WordingFilippos Karapetis
2014-10-13SCI: Set the NS rect for all cases in GK1 (bug #6729)Filippos Karapetis
2014-08-08SCI: Extend hack to fix regression in GK1Filippos Karapetis
2014-05-27ALL: Rename Debugger::DebugPrintf to Debugger::debugPrintf.Johannes Schickel
2014-02-18SCI: Make GPL headers consistent in themselves.Johannes Schickel