aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/paint16.cpp
AgeCommit message (Collapse)Author
2016-08-19SCI32: Remove CoordAdjuster32, at least for the momentColin Snover
This may come back in the future to deduplicate some gfx code, but SCI32 had two different inlined ways of doing coordinate conversions with different rounding methods, so CoordAdjuster32 didn't get used when the graphics system was rewritten. At the moment, SCI32 code uses the mulru/mulinc methods from helper.h for scaling up/down coordinates.
2016-08-01SCI32: Add bitmap segment and remove GC option from hunk segmentColin Snover
2016-08-01SCI32: Enable optional explicit memory management of hunk entriesColin Snover
Bitmaps in ScrollWindow and Robot code are managed by the kernel and not by game scripts, although they must be able to be referenced through a reg_t. To prevent incorrect GC of bitmaps that are in use but not referenced by any game script, explicit memory management of hunk entries can be enabled.
2015-04-19SCI: workaround sig pq2/demo:lb+hq1 migratedMartin Kiewitz
- also kDisplay cleanup, removed dummy opcodes - workarounds should be used instead - fixed hq1 workaround entry, it seems we are able to read vocabulary now
2014-11-04SCI: fix Japanese Space Quest 4 (intro + buttons)Martin Kiewitz
At least SQ4 uses #j text prefix as signal for the interpreter to not use the PC9801 hires font, but to use the internal low res font instead
2014-02-18SCI: Make GPL headers consistent in themselves.Johannes Schickel
2013-05-01SCI: Initialize some members of GfxPaint16 - CID 1010057Filippos Karapetis
2013-04-18SCI: Remove a bunch of unused private member variablesMax Horn
All instances uncovered by clang warnings.
2012-09-26JANITORIAL: Remove trailing whitespaces.Johannes Schickel
Powered by: git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
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