aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics
AgeCommit message (Collapse)Author
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
2010-09-18JANITORIAL: Removed most punctuation at end of warning() and error()Torbjörn Andersson
Our warning() and error() functions always add an exclamation mark to the end of the message anyway. svn-id: r52791
2010-09-09SCI: adding text code reference supportMartin Kiewitz
fixes glossary in pepper, bug #3040039 svn-id: r52651
2010-09-07SCI: Added parentheses inside GfxScreen::isFillMatch() to make the code moreFilippos Karapetis
readable svn-id: r52615
2010-09-07SCI: Slight change in GfxPicture::vectorFloodFill()Filippos Karapetis
Changed bitwise XOR operations to bitwise NOT AND, to make the code a bit easier to understand svn-id: r52614
2010-09-05SCI: dont do global scaling on non-scaleable viewsMartin Kiewitz
lb2floppy: scripts get confused in the rat scene, when scaleX/Y are set with applied global scaling. This results in kInitBresen to get called almost endlessly, which results in ego slowing down to a crawl and not being able to reach the upper right exit - fixes bug #3050606 svn-id: r52559
2010-09-04SCI: delete on textedit control now checks stringMartin Kiewitz
svn-id: r52518
2010-08-31SCI: adding workaround for platform-specificMartin Kiewitz
incompatibility with some sierra games. Some games open a new menu, set mouse cursor within that menu and expect the mouse cursor to be in there and will close it, if it's outside. In case of Wiimote/touch interfaces this logic won't work of course. Fixes island of dr. brain and QfG1VGA on Wii and touch-interface platforms svn-id: r52474
2010-08-29SCI: adding comment about invalid rect return valMartin Kiewitz
svn-id: r52444