aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics
AgeCommit message (Collapse)Author
2010-11-17SCI: Change 'colour' to 'color'Max Horn
All other instances already were spelled 'color' in the SCI engine (and also most other parts of ScummVM) svn-id: r54285
2010-11-11SCI: Some video related changesFilippos Karapetis
- Now playVideo() is used when playing videos from the console (reducing code duplication) - Added support for 16bpp scaling in scale2x, so that the 16-bit color Duck videos are scaled correctly svn-id: r54210
2010-11-08SCI2: Added some currently unused code for drawing text on a bufferFilippos Karapetis
svn-id: r54143
2010-11-05SCI: Fix blend rounding, styleWillem Jan Palenstijn
svn-id: r54093
2010-11-05SCI: Add a default case to a switch statement to silence some compiler warnings.Johannes Schickel
svn-id: r54078
2010-11-04SCI: Fix precedence error in commentWillem Jan Palenstijn
svn-id: r54071
2010-11-04SCI: Use gamma 2.2 for blending undithered coloursWillem Jan Palenstijn
svn-id: r54069
2010-11-04SCI: adding force to memorial area for SQ3/introMartin Kiewitz
makes the view getting fully undithered svn-id: r54068
2010-11-02SCI: Remove any use of printfMax Horn
svn-id: r54037
2010-11-01SCI: Fixed a silly bug when restoring port rectangles. This uncovered a bug ↵Filippos Karapetis
with the recently added port save/restore code svn-id: r54015
2010-11-01SCI: fixing lfMartin Kiewitz
(stupid msvc) svn-id: r54014
2010-11-01SCI: saving/restoring script created windows nowMartin Kiewitz
fixes "GfxPorts::kernelSetActive" error based on code by [md5] svn-id: r54012
2010-10-31SCI: Play time related changesFilippos Karapetis
- Added support for savegame play time - Removed obsolete variables for calculating the play time (EngineState::gameStartTime and Console::_enterTime) - Renamed some variables to camelCase svn-id: r53974
2010-10-26SCI: removing unneeded callMartin Kiewitz
was a left-over from debugging svn-id: r53857
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-10-26SCI: kAnimate bit 2 is hoyle 4 exclusiveMartin Kiewitz
adjusted comments about that and also renamed the bit, also added additional TODO, because hoyle 4 has special code that gets into action, when bit 0 is not set, but bit 2 is svn-id: r53853
2010-10-26SCI: little cleanup kAnimateMartin Kiewitz
svn-id: r53852
2010-10-26SCI: fixing bug #3091767 by reverting r52820Martin Kiewitz
interpreters should get checked for that hoyle 4 code, comment added svn-id: r53851
2010-10-25SCI: fix comment in kAddToPicMartin Kiewitz
svn-id: r53828
2010-10-24SCI: fixing obvious kAddToPic regressionMartin Kiewitz
caused by r53068, triggered bug #3092840 (SQ5 genetix lab scaled incorrectly when laying course) - thx to digitall for bisect svn-id: r53775
2010-10-23SCI2/SCI2.1: Some changes to the screen drawing code.Filippos Karapetis
- Implemented kernelUpdateScreenITem - Changed the list of screen items to be a list of FrameoutEntry entries, so that it doesn't get recreated on every frame svn-id: r53744
2010-10-23ALL: Fix indention (whitespaces -> tabs)Max Horn
svn-id: r53738
2010-10-15SCI: fixing iceman undithering door close-upMartin Kiewitz
room 9 (go up right at the start) svn-id: r53522
2010-10-15SCI: updating comment for r53515Martin Kiewitz
svn-id: r53517
2010-10-15SCI: fixing view-undithering for laura bow 1Martin Kiewitz
(cupboards in room 43, just in the room to the left from the start) svn-id: r53515
2010-10-15SCI: Fixed code bugs from bug #3087872 - "SCI: Code analysis warnings"Filippos Karapetis
svn-id: r53482
2010-10-13SCI: Add detection for Hoyle4 MacMatthew Hoops
svn-id: r53397
2010-10-10SCI: Fix warning about uninitialized variableMax Horn
svn-id: r53140
2010-10-08SCI: Added a check for magnifier cursor multipliersFilippos Karapetis
Sierra SCI only allowed multipliers 1, 2 and 4, and errored out on unexpected values, thus we do the same svn-id: r53072
2010-10-08SCI: fixing mag cursor as far as possibleMartin Kiewitz
added TODO for real proper implementation at least the alignment and content shown is now correct svn-id: r53071
2010-10-08SCI: add global scaling again to kAddToPicMartin Kiewitz
fixes regression of r52887 - lb2 actors not scaled correctly bug #3083577 needs to get backported svn-id: r53068
2010-10-07SCI: bugfix for magnifier cursorsFilippos Karapetis
When deleting the resources related to magnifier cursors, zero them out as well. Fixes crash when exiting a game after using a magnifier cursor svn-id: r53054
2010-10-07SCI: Added a define to disable room transitionsFilippos Karapetis
This is only useful for development, for speedy runs of games, and should NOT be used in general, as it may introduce graphics glitches svn-id: r53049
2010-10-07SCI: fixing kBaseSetter on scaled viewsMartin Kiewitz
adding check, if view is scaleable also just copying nsRect now instead of recalculating - fixes lb2 regression at the docks (calling taxi hangs the game, bug #3982289) - i noticed this difference before but copying nsRect didnt work back then (i guess because of other bugs), that's why i recalculated it should get backported, but only after some more testing - maybe someone should play through lb2 again svn-id: r53045
2010-10-05SCI: Some fixes for zoom cursorsFilippos Karapetis
- Now the cursor buffer is initialized outside the mouse movement code, thus saving a memcpy there - Plugged some memory leaks - Removed an obsolete check svn-id: r53028
2010-10-04SCI: fixing crash in mag cursor code for pharkasMartin Kiewitz
svn-id: r53014
2010-10-04SCI: Several corrections for magnifier cursorsFilippos Karapetis
svn-id: r53010
2010-10-03SCI: Fix AltInput crash in non-parser gamesWillem Jan Palenstijn
svn-id: r53008
2010-10-03SCI: Added missing initialization of _zoomBitmapFilippos Karapetis
svn-id: r53007
2010-10-03SCI: Added support for SCI1.1+ magnifier cursors (bug #3034973).Filippos Karapetis
These are special cursors which zoom parts of a view dynamically. Examples are Freddy Pharkas, when reading the prescription with the whiskey and LB2, when using the magnifying glass on the Rosetta Stone svn-id: r53003
2010-10-03SCI: Support alternative inputs from vocab 913Willem Jan Palenstijn
This allows the input of accented characters and Japanese using plain ascii in non-English games. svn-id: r53001
2010-10-03SCI: Fix textwidth computation for chars >= 128Willem Jan Palenstijn
svn-id: r52992
2010-09-26SCI: adding separate status drawing codeMartin Kiewitz
now also draws "IV" in KQ4 correctly. This wasn't the case before because we reused the regular drawing code, which would see the 0xA ("IV") as linebreak save for backport svn-id: r52913
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-09-25SCI: little optimization in kAddToPicMartin Kiewitz
definitely save to backport, belongs to r52887 svn-id: r52888
2010-09-25SCI: changes to kAddToPicMartin Kiewitz
kAddToPic doesnt do loop/cel fixups, it also doesnt support global scaling and will only set nsRect on scaled Cels, not reusing fill() of kAnimate anymore, but doing those things separately fixes kq6 - 2nd window shown instead of peppermint bush (bug #3070465) should be save to backport svn-id: r52887
2010-09-20Make r52818 general on trunkLars Skovlund
svn-id: r52820
2010-09-20SCI: Handle bit 2 of scaleSignal by not updating nsRect values whenLars Skovlund
it's set. Currently game-specific for Hoyle4; fixes bug #3038424. But other SCI1.1 games should be tested with a general version of this to see whether it fixes relevant bugs. svn-id: r52818
2010-09-19SCI2/2.1: Changes to the plane codeFilippos Karapetis
Moved some plane related functions inside updatePlane() instead of frameOut(). Cleanup. svn-id: r52804
2010-09-19SCI2: Some work on RBT filesFilippos Karapetis
svn-id: r52801