aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/paint16.cpp
AgeCommit message (Collapse)Author
2010-07-24SCI: adding workaround for sq4 room 391Martin Kiewitz
svn-id: r51238
2010-07-23SCI: adding table for kDisplay workaroundsMartin Kiewitz
and removing hardcoded checks, adding another workaround for kGraph(drawLine) in island of dr. brain (also gene explanation chart) Moving trackOriginAndFindWorkaround() into workarounds.cpp svn-id: r51209
2010-07-23SCI: adding workaround for sq4/room 391Martin Kiewitz
kDisplay is called with an object as opcode, we simply skip over it svn-id: r51208
2010-07-02SCI: changing adjusting of upscaled hires box coordinatesMartin Kiewitz
svn-id: r50593
2010-06-29SCI: Rewrap more commentsMax Horn
svn-id: r50500
2010-06-29SCI: Add some const qualifiersMax Horn
svn-id: r50499
2010-06-26SCI: another commit for adding a workaround for islang room 300 again ↵Martin Kiewitz
(although i already commited it already, stupid torturegit) svn-id: r50330
2010-06-25Removed the getHunkPointer error - it's valid SCI behavior (e.g. when ↵Filippos Karapetis
loading/quitting sometimes, since hunks are not saved). We check for valid hunk pointers anyway, so there's no reason for the warning/error svn-id: r50279
2010-06-25SCI: Introduce SciGameId enumMax Horn
svn-id: r50273
2010-06-20SCI: properly implement kPalVary functionality within kDrawPic and ↵Martin Kiewitz
transitions, so pharkas finally works w/o palette corruption svn-id: r50099
2010-06-20SCI: update sys palette timestamp only on kDrawPic in SCI1.1, fixes intro of ↵Martin Kiewitz
island of dr. brain svn-id: r50077
2010-06-18SCI: pseudo-implemented 0x72 and 0x73 for kDisplay used by longbow-demo, ↵Martin Kiewitz
although sierra sci doesn't support them at all svn-id: r50016
2010-06-18SCI: partially revert r49983 - all of those are not implemented in sierra ↵Martin Kiewitz
sci or not even pseudo-valid in there. all of those seem to be script bugs svn-id: r50007
2010-06-18Added several unimplemented kDisplay subops, as well as a new sound command, ↵Filippos Karapetis
found in the demo of Longbow svn-id: r49983
2010-06-17Strict mode: error out on unhandled subops, to note if they actually exist ↵Filippos Karapetis
and where they're used svn-id: r49975
2010-06-15SCI: SciGui/SciGui32 gone for good...Martin Kiewitz
svn-id: r49860
2010-06-15SCI: calling wait() directly and removing it from SciGuiMartin Kiewitz
svn-id: r49853
2010-06-15SCI: fix changes from r49806Martin Kiewitz
svn-id: r49839
2010-06-15SCI: move portrait methods to gfxPaint16Martin Kiewitz
svn-id: r49806
2010-06-15Throttle screen updates to 60fps in some screen transition effects as wellFilippos Karapetis
svn-id: r49690
2010-05-28Silenced some superfluous warnings in KQ5CDFilippos Karapetis
svn-id: r49294
2010-05-24SCI: leave console open for pic_visualize/undither commands - also don't use ↵Martin Kiewitz
SciGui class for undither anymore svn-id: r49198
2010-05-18- Removed the wrapper kalloc, kmem and kfree functions. Now, the associated ↵Filippos Karapetis
Segment manager functions allocateHunkEntry, getHunkPointer and freeHunkEntry are used directly (which are more descriptive, anyway) - Replaced the GET_SEGMENT macro by a method of the segment manager - Removed the unused reference to the created hunk in allocateHunkEntry(), only the reg_t reference to it is returned now svn-id: r49078
2010-05-15SCI: adding upscaled hires mode 640x480 for kq6 and gk1, fixing valgrind ↵Martin Kiewitz
error in GfxPortrait class, not using priority anymore when drawing hires cels (shouldnt be needed for kq6) svn-id: r49040
2010-05-15SCI: SCI_SCREEN_MASK_* now GFX_SCREEN_MASK_*, using enum - added new enum ↵Martin Kiewitz
GFX_SCREEN_UPSCALED_* svn-id: r49039
2010-05-12SCI: changed behaviour for kDisplay change (r49012) to use oldGfxFunctions ↵Martin Kiewitz
(.502), which isn't 100% accurate (should be .566) but better than not restoring for whole SCI0LATE svn-id: r49017
2010-05-12SCI: tracked down the kDisplay change, added comment about thatMartin Kiewitz
svn-id: r49016
2010-05-12SCI: added comments about r49012, change actually happened during sci0lateMartin Kiewitz
svn-id: r49014
2010-05-12SCI: dont restore port settings for SCI0 games (fixes sq3 wrong font used ↵Martin Kiewitz
when scanning for planets) svn-id: r49012
2010-04-25SCI: green buttons for sci0early implementedMartin Kiewitz
svn-id: r48799
2010-04-20SCI: replaced values with constantMartin Kiewitz
svn-id: r48754
2010-02-17SCI: Cleanup resource.hMax Horn
svn-id: r48084
2010-02-07SCI: dont set palette on kernelDrawCel() callMartin Kiewitz
svn-id: r47954
2010-02-06SCI: added plane coordinate adjustment code for sci32 when drawing pictures, ↵Martin Kiewitz
put everything into GfxCoordAdjuster svn-id: r47939
2010-02-06SCI: put kShakeScreen into GfxPaint, called directly nowMartin Kiewitz
svn-id: r47936
2010-02-05SCI: moving kDisplay into GfxPaint16, now getting called directly as wellMartin Kiewitz
svn-id: r47917
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: renamed SciGuiPicture to GfxPictureMartin Kiewitz
svn-id: r47899
2010-02-04SCI: renaming class View to GfxViewMartin Kiewitz
svn-id: r47891
2010-02-04SCI: renaming Transitions to GfxTransitionsMartin Kiewitz
svn-id: r47890
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-04SCI: adding GfxPaint32 class, adding back support for planes, minor change ↵Martin Kiewitz
in GfxPaint16 (using #def instead of fixed value) svn-id: r47880
2010-01-31SCI: renamed Text class to GfxText16Martin Kiewitz
svn-id: r47780
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