aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/view.h
AgeCommit message (Collapse)Author
2014-02-18SCI: Make GPL headers consistent in themselves.Johannes Schickel
2011-10-12SCI: Implementation of kCelInfo subop 4Heather Douglass
kCelInfo subop 4 returns the pixel color at the passed in x,y coordinates for the passed in view, loop, cel. Shivers uses this function for the red door puzzle, room 23601 to determine what blocks on the puzzle board are already occupied by pieces.
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)
2010-10-26SCI: fix gfx issues when giving out cards hoyle4Martin Kiewitz
bit 2 actually triggers special drawing of cels in sierra sci svn-id: r53855
2010-08-02SCI: adding non-scaleable view capabilityMartin Kiewitz
fixes laura bow 2 (especially floppy but CD is also affected somewhat by this) svn-id: r51660
2010-07-31SCI: adjusting inside view::getCelRect for sci0earlyMartin Kiewitz
fixes cels being placed wrongly, sci0early didnt have the z adjust. svn-id: r51537
2010-07-25SCI: using coordadjuster in GfxViewMartin Kiewitz
svn-id: r51276
2010-07-24SCI: kCelWide/kCelHigh now adjust on hires viewsMartin Kiewitz
somewhat fixes gk1 hires inventory issue svn-id: r51245
2010-06-30SCI: support for hires views in gk1Martin Kiewitz
svn-id: r50533
2010-06-28SCI: Remove GfxView::getLoopInfo; add assert to GfxView::getCelInfoMax Horn
The return value of GfxView::getCelInfo was used virtually everywhere without a check for it being non-NULL. Hence instead of returning NULL when the loop count is zero, it makes more sense to assert out (instead of a segfault, or worse, random data being used). svn-id: r50422
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-23SCI: implementing boundary checking for GfxPalette::createFromData(), sq5 ↵Martin Kiewitz
has a broken picture 0 resource, which would result in either crash or at least bad read from memory depending on whats read there svn-id: r50178
2010-02-05SCI: adding some minor documentation for the various graphic classesMartin Kiewitz
svn-id: r47904
2010-02-04SCI: renaming class View to GfxViewMartin Kiewitz
svn-id: r47891
2010-02-04SCI: fix support for cels that are larger than 64k (sierra logo animation in ↵Martin Kiewitz
sq6) svn-id: r47873
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
2010-01-29SCI: view class fix for hires views that are larger than 64k (fixes kq7 cel ↵Martin Kiewitz
corruption) svn-id: r47661
2010-01-16SCI: View::drawScaled() created (doesnt do scaling yet), removed scaling ↵Martin Kiewitz
variables from View::draw, gfx calls drawScaled() when scaleX/Y != 128, getting scaled rect inside kAnimate() svn-id: r47322
2010-01-16SCI: created getCelScaledRect() inside view classMartin Kiewitz
svn-id: r47319
2010-01-12SCI: View::getCelCount now validates inputMartin Kiewitz
svn-id: r47267
2010-01-11SCI: changed displaceY and displaceX for cels to int16, also inserted cast ↵Martin Kiewitz
to signed char for sci1 displaceX - should fix wii flickering and incorrect cel placement problems svn-id: r47257
2010-01-07SCI: implemented additional drawCel for hires views, fixes menu bar of kq6 - ↵Martin Kiewitz
still need to fix coordinates and implement save/restoreBits for hires svn-id: r47116
2010-01-06- Some work on kLocalToGlobal and kGlobalToLocal for SCI2+Filippos Karapetis
- Removed the custom types MemoryHandle, LoopNo, CelNo (cause we ended up having code like LoopNo loopNo = ...) - Improved the sanity checks in frameOut() svn-id: r47087
2010-01-05Some initial work on SCI1.1 view scaling (not working yet)Filippos Karapetis
svn-id: r47027
2010-01-05More renamingFilippos Karapetis
svn-id: r47009