aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kgraphics.cpp
AgeCommit message (Collapse)Author
2010-02-05SCI: priority band specific stuff now gets called directly w/o SciGuiMartin Kiewitz
svn-id: r47916
2010-02-05SCI: remaining cursor functions now also directly calledMartin Kiewitz
svn-id: r47914
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-05Cleanup kShowMovie; merge the SCI1.1/SCI2 and SCI2.1 AVI code.Matthew Hoops
svn-id: r47911
2010-02-05SCI: GfxCoordAdjuster class added, local2Global and global2Local use that ↵Martin Kiewitz
class directly, kGraph / RedrawBox is now using GfxPaint16 directly svn-id: r47908
2010-02-05SCI: calling most of the cursor functions directly via _gfxCursor instead of ↵Martin Kiewitz
SciGui/32 svn-id: r47903
2010-02-04Moved the PalVary code inside the GfxPalette classFilippos Karapetis
svn-id: r47893
2010-02-04SCI: kPicNotValid now uses GfxScreen directly and not SciGui/32Martin Kiewitz
svn-id: r47889
2010-02-04SCI: putting most kGraph functions into GfxPaint16Martin Kiewitz
svn-id: r47887
2010-02-04SCI: putting kDrawCel info GfxPaint class, debug is using GfxPaint class as ↵Martin Kiewitz
well for drawing cels svn-id: r47885
2010-02-04SCI: adding GfxPaint class, implementing kernelDrawPicture for GfxPaint16 ↵Martin Kiewitz
and GfxPaint32, using those classes directly when drawing pictures instead of SciGui/32. Making draw_pic command work in sci32 that way, using _gfxPaint16 for kDrawPic because that command is sci16 exclusive svn-id: r47883
2010-02-03Placed all the game feature detection code in a separate classFilippos Karapetis
svn-id: r47850
2010-01-31SCI: rename Controls to GfxControls, gets directly called nowMartin Kiewitz
svn-id: r47783
2010-01-31SCI: syncWithFramebuffer() is now called directly w/o SciGui/SciGui32Martin Kiewitz
svn-id: r47781
2010-01-31SCI: GfxCache is now also called directly w/o SciGui nor SciGui32Martin Kiewitz
svn-id: r47759
2010-01-31SCI: renamed kernelFind() to kernelFindColor, so that it isnt that confusing :PMartin Kiewitz
svn-id: r47753
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: renamed SciGuiAnimate to GfxAnimate, moved code from SciGui into this ↵Martin Kiewitz
class, now getting called directly svn-id: r47751
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-30SCI: Remove extra '\n's in debugC messagesWillem Jan Palenstijn
svn-id: r47707
2010-01-30Add the SCI2.1 variant of kShowMovie; KQ7 now shows the opening video.Matthew Hoops
svn-id: r47699
2010-01-29Fix compile when ENABLE_SCI32 is not set.Matthew Hoops
svn-id: r47682
2010-01-29SCI: adding shakeScreen() for gui32 for lsl6Martin Kiewitz
svn-id: r47681
2010-01-29SCI: added new SciGui32 class, Gfx class needs some work though and ↵Martin Kiewitz
hopefully i didnt overlook some kernel function that is also used by sci32. now using plane left/top svn-id: r47679
2010-01-29SCI: Move selector stuff to new header; reorder k_argc & k_argp param of ↵Max Horn
invoke_selector svn-id: r47665
2010-01-28SCI2.1: Added a dummy function for kRobot (with some info on its ↵Filippos Karapetis
parameters), assigned IsOnMe to OnMe (needs verification, but seems to be correct) and changed kSave(8) to return nonzero. The menu of the Phantasmagoria demo is now shown, together with its creepy music :) svn-id: r47648
2010-01-27SCI: added workaround for laura bow 2 game menu (same issue as in ↵Martin Kiewitz
pharkas)...sigh svn-id: r47611
2010-01-27SCI: changed the pharkas workaround to also cover pharkas-floppy demoMartin Kiewitz
svn-id: r47606
2010-01-27Only reshow the cursor after playing a video if it was originally showing ↵Matthew Hoops
beforehand. This fixes the GK1 demo menu. svn-id: r47602
2010-01-26SCI: changed flags (uint16) to force (bool) for set/merge palette methodsMartin Kiewitz
svn-id: r47578
2010-01-26SCI: Add string support for odd-offset pointers into reg_t-based segments.Walter van Niftrik
svn-id: r47572
2010-01-25SCI: dont fix line color for amiga 32 colorMartin Kiewitz
svn-id: r47561
2010-01-25SCI: removed EGA mapping for amiga games, cause changing ↵Martin Kiewitz
K_GRAPH_GET_COLORS_NR to support amiga also fixes it - also fixes other odd issues like the ones in kq5 and castle of dr. brain/sq1 (thx. to waltervn for finding this out) svn-id: r47560
2010-01-24SCI: Fix list control scrolling in Jones EGA and VGA.Walter van Niftrik
svn-id: r47511
2010-01-23Added some skeleton code for kPalVary()Filippos Karapetis
svn-id: r47485
2010-01-23SCI: separate fix function for kDrawControl rectsMartin Kiewitz
svn-id: r47462
2010-01-22SCI: dont swap coordinates on rects when both are "wrong", will fix button ↵Martin Kiewitz
placement and gfx corruption when challenging jones (caused by duplicate buttons having lower right 0, 0) - function needs some more work svn-id: r47446
2010-01-22SCI: restoring r47412, we were right all along but this "hack" was done on ↵Martin Kiewitz
the sierra sci interpreter for jones ega/vga only (talkie NOT included). So this restore does it game specific now, causing no regressions anywhere else. We detect jones/talkie as "jones" as well, may cause regressions for talkie svn-id: r47445
2010-01-22SCI: reverting r47412, change was incorrect and also resulted in broken ↵Martin Kiewitz
animations inside text boxes in kq5. jones also uses hardcoded -1 priority for control icons. svn-id: r47444
2010-01-20SCI: control icons now use objects priority selector instead of hardcoded ↵Martin Kiewitz
priority 255. fixes jones speech bubbles svn-id: r47412
2010-01-20SCI: kDrawCel workaround documented and not temporary anymoreMartin Kiewitz
svn-id: r47409
2010-01-20SCI: workaround for game menu/quit menu in freddy pharkas till vm issue is ↵Martin Kiewitz
resolved svn-id: r47407
2010-01-19SCI: Remove upper 4 bits when drawing lines on EGA games (fixes window ↵Martin Kiewitz
colors in kq1 and others) svn-id: r47385
2010-01-17SCI: kDisposeWindow - use reanimate when argc == 1 (fixes iceman window removal)Martin Kiewitz
svn-id: r47341
2010-01-15SCI: adjust kNewWindow to support argc==15 (on mac according [md5])Martin Kiewitz
svn-id: r47308
2010-01-14SCI: another change to reanimate behaviour of kDisposeWindowMartin Kiewitz
svn-id: r47300
2010-01-14SCI: change on reanimate kDisposeWindow behaviour, fixes sq5 window removalMartin Kiewitz
svn-id: r47299
2010-01-11Changed all kGraph calls which handle rectangles to use kGraphCreateRect(). ↵Filippos Karapetis
Also, changed kGraphCreateRect() to return a rect, rather than update a rect pointer svn-id: r47253
2010-01-11Some portrait-related changes, to be used when portrait loading/unloading is ↵Filippos Karapetis
done. Also, added a comment on where the class is used svn-id: r47251
2010-01-11Moved all the cache limits inside helpers.h and removed an obsolete TODOFilippos Karapetis
svn-id: r47250