aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/paint16.cpp
AgeCommit message (Collapse)Author
2012-06-18SCI: Add setter/getter methods to reg_t'sFilippos Karapetis
No functionality change has been made with this commit. This avoids setting and getting the reg_t members directly, and is the basis of any future work on large SCI3 scripts (larger than 64KB)
2012-03-13JANITORIAL: Replace (x ? false : true) by !(x).Christoph Mallon
2011-10-19SCI: Fixed script bug #3425276 - "SCI: PQ2: Game crashes when looking at file"Filippos Karapetis
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-01SCI: Round left/right edges in bitsShow to even coordsWillem Jan Palenstijn
This fixes the vertical black line glitch in the QfG3 start menu (#3293351)
2011-04-29SCI: Fixed bug #3289744 - "Hero Quest 1 demo crashes"md5
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-03-30SCI32: Support for views with 640x400 native resolutionLars Skovlund
(fixes Wolfgang closeup, room 720)
2011-03-04SCI: Added a comment for the additional code in kDisplaymd5
This extra code that is responsible for changing text placing has been found in SCI1 middle (i.e. LSL1VGA) and newer games
2011-03-02Revert "SCI: Fixed bug #3039775 - "KQ4: Graphics glitch [...]""Willem Jan Palenstijn
This reverts commit 74e99328ec0fa43074c52b69d21922407153a1aa. SSCI takes care of this issue in a different manner, which the next commit emulates.
2011-03-02SCI: Fixed text positioning in the credits screen of Dr. Brain Amigamd5
The additional text positioning code in kDisplay was added in SCI1 middle, not SCI1 late. Also, did some slight cleanup
2011-03-02SCI: Fixed bug #3039775 - "KQ4: Graphics glitch in the mansion tower"md5
2011-02-28SCI: Moved hunk pointer handling to the GC, and removed some related workaroundsmd5
SCI scripts can contain stale pointers, which are used later on. We now delete the contents of hunk entries without invalidating the relevant pointers and let the GC clear the references. Many thanks to waltervn and wjp for all their work and help on this.
2011-02-20SCI: Slight cleanupmd5
2011-01-09SCI: Changed the bShow parameter of GfxText16:Box() into a boolFilippos Karapetis
svn-id: r55179
2010-12-20SCI: Fixed bug #3037945 - "PQ3 : Graphical Glitch with White Mercedes on ↵Filippos Karapetis
Freeway" svn-id: r54975
2010-09-26SCI: kDrawPic setting _picNotValid on non-frontMartin Kiewitz
fixes lsl5 english graphic corruption during taj mahal wakeup, should also fix sq5 1.03 graphic corruption right after scrubbing (bug #3041069) save for backporting svn-id: r52911
2010-08-14SCI: adding workaround for camelot during endingMartin Kiewitz
fixes bug #3044734 also fixing heap corruption during the ending svn-id: r52077
2010-08-11SCI: fixing kGraphFillBoxAny implementationMartin Kiewitz
working now like in sierra sci, when using priority/control - fixes pepper adventures in time - no failure screen - bug #3040185 cleanup of GfxPaint16::fillRect svn-id: r51994
2010-08-04SCI: Add kDisplay workarounds for the Hero's Quest demoMatthew Hoops
svn-id: r51742
2010-08-01SCI: Move kernelShakeScreen to GfxScreen so it can be used in SCI32 (it's ↵Matthew Hoops
used in GK1) svn-id: r51583
2010-07-26SCI: implement scaling for kDrawCelMartin Kiewitz
fixes qfg4 demo properly (bug #3034506, previous commit r51304) svn-id: r51332
2010-07-24SCI: fix warning and remove duplicate codeMartin Kiewitz
svn-id: r51243
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