aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/compare.cpp
AgeCommit message (Collapse)Author
2016-03-13SCI32: Add note about kCantBeHere rectColin Snover
2016-03-10SCI32: Use correct name of kCantBeHere kernel functionColin Snover
Only updating SCI32 names here due to not knowing about the correctness of the SCI16 code.
2016-03-10SCI32: Use separate function for SCI32 version of kCantBeHereColin Snover
Requested by @m-kiewitz.
2016-03-10SCI32: Implement kSetNowSeenColin Snover
2016-03-10SCI32: Implement kCantBeHereColin Snover
2016-02-27SCI32: Remove two hacks for Torin, and document what happens insteadFilippos Karapetis
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-02-18SCI: Make GPL headers consistent in themselves.Johannes Schickel
2014-02-17SCI: Fix NS rect calculation in GK1 (and SCI32 in general)Filippos Karapetis
This fixes the regressions caused by refactoring in SCI32. Thanks to Timo Korvola for tracking down the issue and providing an initial patch in bug #6452
2013-04-18SCI: Remove a bunch of unused private member variablesMax Horn
All instances uncovered by clang warnings.
2011-10-19SCI: Merged all the code to get/set the NS rectFilippos Karapetis
2011-06-13SCI: Reverted commit db7dea3Filippos Karapetis
The original check was correct, and the associated MG bug (#3049515) has actually been fixed with another commit. Fixes bug (regression) #3315639 - "Character Glitches in KQ4 SCI". Many thanks to waltervn and wjp for their help on this
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-03-30SCI32: Support for views with 640x400 native resolutionLars Skovlund
(fixes Wolfgang closeup, room 720)
2011-02-23SCI: Cleaned up and segmented the animate code in order to make it a bit ↵md5
more readable
2011-02-23SCI: Fixed bug #3049515 - "MOTHERGOOSE CD: Tommy Tucker lock-up"md5
2011-02-02SCI: Fix GK1 Mac scalingMatthew Hoops
svn-id: r55744
2010-10-07SCI: fixing kBaseSetter on scaled viewsMartin Kiewitz
adding check, if view is scaleable also just copying nsRect now instead of recalculating - fixes lb2 regression at the docks (calling taxi hangs the game, bug #3982289) - i noticed this difference before but copying nsRect didnt work back then (i guess because of other bugs), that's why i recalculated it should get backported, but only after some more testing - maybe someone should play through lb2 again svn-id: r53045
2010-08-29SCI: adding comment about invalid rect return valMartin Kiewitz
svn-id: r52444
2010-08-20SCI: Fixed bug #3049146 - "MOTHERGOOSE CD: Rooms 7, 23 crash", merged some ↵Filippos Karapetis
similar workaround entries and added a comment for invalid rects received in kCan(t)BeHere svn-id: r52223
2010-08-07SCI: changing kBaseSetter behaviour when scaledMartin Kiewitz
fixes lb2 docks issue (bug #3036306) svn-id: r51835
2010-07-27SCI: reverting part of r51361Martin Kiewitz
breaks qfg3 right after intro svn-id: r51363
2010-07-27SCI: adding scaling code in kBaseSetterMartin Kiewitz
and fixing palVary timer crash when exiting engine during palVary processing svn-id: r51361
2010-07-25SCI: sci32 coord adjustment changesMartin Kiewitz
- fixes lsl6hires inventory svn-id: r51275
2010-07-22SCI: Hopefully fix compilation when ENABLE_SCI32 is not definedMatthew Hoops
svn-id: r51164
2010-07-21SCI: kSetNowSeen sci2.1Martin Kiewitz
fixes hotspots svn-id: r51085
2010-07-15SCI: some big changes to kCantBeHere - kCantBeHere returns the actual ↵Martin Kiewitz
"problem" instead of being a plain boolean - part of solving lsl1 casino door / qfg1vga gate svn-id: r50919
2010-06-30SCI: adjust brRect and nsRect, if sci2 hires views are used, fixes hotspots ↵Martin Kiewitz
in gk1 svn-id: r50536
2010-06-28SCI: Add const qualifiers to many GfxView methods and their return values.Max Horn
This helps to ensure proper data encapsulation. Also reformatted some overlong comments to 80 chars per line, and fixed some other code formatting issues. svn-id: r50421
2010-06-23Moved the SelectorCache struct inside selector.h, where it belongs, and ↵Filippos Karapetis
fixed some header dependencies in the process svn-id: r50183
2010-06-10Use the SELECTOR() macro for readabilityFilippos Karapetis
svn-id: r49563
2010-05-29Mass renaming of selector-related functions, and removed some defines which ↵Filippos Karapetis
were just cloaking functions with a different name - GET_SEL32 -> readSelector - GET_SEL32V -> readSelectorValue - PUT_SEL32 -> writeSelector - PUT_SEL32V -> writeSelectorValue Also, changed some selector-related function names and variables to CamelCase svn-id: r49317
2010-05-15SCI: SCI_SCREEN_MASK_* now GFX_SCREEN_MASK_*, using enum - added new enum ↵Martin Kiewitz
GFX_SCREEN_UPSCALED_* svn-id: r49039
2010-02-21SCI: added warning when getting invalid rect in kCan(t)BeHereMartin Kiewitz
svn-id: r48102
2010-02-21Handle invalid rects in kCanBeHere(). Fixes some odd crashes in IcemanFilippos Karapetis
svn-id: r48098
2010-02-06Mark the sanity checks inside kernelSetNowSeen and kernelBaseSetter as hacksFilippos Karapetis
svn-id: r47932
2010-02-06Don't try and manipulate invalid views (i.e. views with view ID -1/65535, ↵Filippos Karapetis
which are most likely the currently missing dynamically constructed text views). Torin chapter 1 starts now (and dies shortly afterwards, but that's a different issue) svn-id: r47930
2010-02-05SCI: removing int8 from kernelSetNowSeen() as well, didnt make any sense :PMartin Kiewitz
svn-id: r47923
2010-02-05SCI: removing int8 inside kernelSetNowSeen as well, didnt make any sense :PMartin Kiewitz
svn-id: r47922
2010-02-05SCI: Get rid of the mysterious sign_extend_byte() and replace it by a simple ↵Max Horn
cast ;) svn-id: r47921
2010-02-05SCI: Document GfxCompare::canBeHereCheckRectList; pass Common::Rect by refMax Horn
svn-id: r47920
2010-02-05SCI: Add comment to GfxCompare::canBeHereCheckRectListMax Horn
svn-id: r47919
2010-02-05SCI: Add a 'SELECTOR' macroMax Horn
svn-id: r47918
2010-02-05SCI: moved onControl etc. into GfxCompare, now getting called directly. also ↵Martin Kiewitz
fixed loading saved games due Gfx* changes svn-id: r47912
2010-02-04SCI: renaming class View to GfxViewMartin Kiewitz
svn-id: r47891
2010-01-31SCI: renamed SciPalette to GfxPalette, Screen to GfxScreen, GfxPalette is ↵Martin Kiewitz
now called directly w/o SciGui svn-id: r47752
2010-01-31SCI: cleaned up graphics classes, removed gfx&windowmgr, added gfxports, ↵Martin Kiewitz
gfxcompare, gfxpaint16, gfxcache. kernel uses gfxports directly w/o going through SciGui svn-id: r47745