aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics
AgeCommit message (Collapse)Author
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
2010-08-29SCI: changing scroll transition behaviourMartin Kiewitz
makes scroll smooth on linux (and maybe others too) svn-id: r52436
2010-08-29SCI: Throttle the invocations of Engine::shouldQuit()Filippos Karapetis
SCI constantly invoked Engine::shouldQuit(), which in turn called 2 virtual functions. This added a significant overhead, as this was called constantly without any throttling whatsoever. Now, the invocation of shouldQuit() is throttled to be on each frame update (i.e. at a rate of 60fps). Thanks to wjp for profiling this. svn-id: r52431
2010-08-25SCI: adding detection for freddy pharkas "fred"Martin Kiewitz
fixes blop not appearing during intro song, because game thought we were too slow (bug #3051514) svn-id: r52392
2010-08-24SCI: fixing comment of r52351Martin Kiewitz
svn-id: r52353
2010-08-24SCI: fix race condition in sierra kPalVary codeMartin Kiewitz
we are loading pictures very fast, this results in a kPalVary race condition, because sierra set timer to 1 tick, when it was getting called with 0 ticks and required the timer to occur before the transition. Fixes freddy pharkas nighttime being daytime during transitions (bug #3051905) svn-id: r52351
2010-08-24SCI: dont load target palette when gameIsRestarting != 0Martin Kiewitz
fixes sepia palette getting applied when loading in pharkas (part of bug #3051905) svn-id: r52326
2010-08-23SCI: multiple changes for mother goose vgaMartin Kiewitz
which is sci1 and sci1.1 fixes bug #3051145 - separating this mother goose from ega and sci2.1 - adding workaround when restoring saved games in these games, games try to calculate restored savedgameid instead of looking it up, we patch this code out and also set the global to the current savedgameid - adding workaround for scripts checking savedgameid to be below 13 (our savedgameids begin at 100 now) - changing official range for savedgameids from 1000->1999 to 100->199, otherwise mother goose would have required much larger patches and this range should be fine even if we replace savedgame dialogs later svn-id: r52301
2010-08-23SCI: slightly changing msecs for scrollingMartin Kiewitz
svn-id: r52299
2010-08-21SCI: improving delaying transitionsMartin Kiewitz
should hopefully make them run better on different platforms (some platforms dont update on every updateScreen call, so the transitions worked much faster there (e.g. wii) and some other platforms dont have that much power, so transitions were slower on those) svn-id: r52266
2010-08-21SCI: now fading color 255 as well in sci1.1Martin Kiewitz
looks better, although sierra didn't do that (examples: qfg3 demo/intro) svn-id: r52264
2010-08-21SCI: add support for Control-C in earlier SCI games, tooFilippos Karapetis
svn-id: r52254
2010-08-21SCI: Fixed bug #3048911 - "Keyboard discrepancies in all SCI games" by ↵Filippos Karapetis
handling synthetic (keyboard repeat) events and adding support for Control-C svn-id: r52252
2010-08-20Reverting r52224, as it was incorrect - fanmade games use the same ↵Filippos Karapetis
interpreter as normal ones, so this doesn't make sense. Added a FIXME with a description about the graphics glitch in fanmade games svn-id: r52225
2010-08-20SCI: Fixed bug #3041153 - "SCI Fanmade Games: Message window glitch"Filippos Karapetis
svn-id: r52224
2010-08-20SCI: Fixed bug #3049146 - "MOTHERGOOSE CD: Rooms 7, 23 crash", merged some ↵Filippos Karapetis
similar workaround entries and added a comment for invalid rects received in kCan(t)BeHere svn-id: r52223
2010-08-19SCI: disabling EGA mapping after sci1egaMartin Kiewitz
fixes vga conversion games graphic glitches, some views have bad mapping tables svn-id: r52218
2010-08-16SCI: sci1.1 pictures w/o cel don't set paletteMartin Kiewitz
even if one is present in the picture, fixes some transitions looking weird in eq2 - bug #3037126 svn-id: r52125
2010-08-14SCI: now reusing window ids on kNewWindowMartin Kiewitz
sq4cd recreates the inventory window several times, but also reuses old window ids, causing kernelSetActive errors. fixes bug #3044757 svn-id: r52079