aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/cursor.cpp
AgeCommit message (Collapse)Author
2011-05-25ALL: behaviour -> behaviorMatthew Hoops
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-05SCI: Use new MacCursor code instead of convertCrsrCursor()Matthew Hoops
2011-03-09SCI: Implement Mac iconbar event handling.Walter van Niftrik
2011-03-07Merge branch 'pe_exe' of https://github.com/clone2727/scummvm into ↵Matthew Hoops
clone2727-pe_exe
2011-03-06SCUMM: Use the new WinCursor code in SCUMM HEMatthew Hoops
Also, updated the MacResManager cursor code to reflect the SCUMM resource extractor code changes
2011-03-06SCI: Fix KQ6 Mac inventory cursorsMatthew Hoops
2011-02-14SCI: Adapt to setPalette/grabPalette RGBA->RGB change.Johannes Schickel
2011-02-10SCI: Don't fallback to views in SCI1.1+ Mac gamesMatthew Hoops
svn-id: r55871
2011-02-08SCI: Add detection for Freddy Pharkas MacMatthew Hoops
svn-id: r55828
2011-02-06SCI: Improve Mac SCI1.1+ cursor supportMatthew Hoops
The scripts can pass a list of view id's from the DOS version that get remapped to CURS/crsr id's. GK1 cursors now work and Phantasmagoria uses the correct ones. svn-id: r55791
2010-11-26SCI: Implemented FR #3101338: "King's Quest 6 Windows Mouse Icons"Filippos Karapetis
Added an option to use the original Windows cursors in the Windows version of KQ6 Also, added an update on how the Mac cursors are handled (perhaps the handling is the same) svn-id: r54495
2010-10-23ALL: Fix indention (whitespaces -> tabs)Max Horn
svn-id: r53738
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-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-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: 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-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-14SCI: Add support for Mac 'crsr' cursors used in SCI2+ gamesMatthew Hoops
svn-id: r52076
2010-07-23SCI: support kSetCursorSci11(-2)Martin Kiewitz
svn-id: r51202
2010-06-30SCI: adjust brRect and nsRect, if sci2 hires views are used, fixes hotspots ↵Martin Kiewitz
in gk1 svn-id: r50536
2010-06-29SCI: Rewrap more commentsMax Horn
svn-id: r50500
2010-06-28SCI: Comment cleanupMax Horn
svn-id: r50423
2010-06-28SCI: Add const qualifiers to many GfxView methods and their return values.Max Horn
This helps to ensure proper data encapsulation. Also reformatted some overlong comments to 80 chars per line, and fixed some other code formatting issues. svn-id: r50421
2010-06-20SCI: removing unneeded parameters inside SciPalette, cleanup of SciPaletteMartin Kiewitz
svn-id: r50076
2010-06-17SCI: Moved the event code a little bit around.Max Horn
* Move sleep() from EventManager to SciEngine * Rename EventManager methods: get -> getSciEvent, and getFromScummVM -> getScummVMEvent * Make scancode_rows static const * Turn altify & numlockify from EventManager methods into static functions (and comment out the currently unused numlockify) svn-id: r49959
2010-06-17Fix a valgrind warning in GfxCursor. Thanks to digitall for finding it.Matthew Hoops
svn-id: r49917
2010-06-15SCI: only set mouse position, when cursor is visible (fixes non-stop, but ↵Martin Kiewitz
escapeable mouse position setting to 0, 0 in eco quest 1 floppy during intro) svn-id: r49874
2010-06-15SDL: only change mouse cursor, when mouse is currently within our window, ↵Martin Kiewitz
also enable mouse position changing again for SCI svn-id: r49866
2010-06-09Disabled the mouse warping code, as it can be annoying in windowed modeFilippos Karapetis
svn-id: r49542
2010-06-09Renamed the SciEvent class to EventManager, to separate it from the sciEvent ↵Filippos Karapetis
structure, and removed it from the engine state svn-id: r49534
2010-05-18Add initial support for KQ6 Mac. Wrapper functions for read/writing to ↵Matthew Hoops
pointers are now used (found in util.*) for code that has different endianness in SCI1.1+ Mac games. Add support for Mac 'snd ' and 'CURS' resources. QFG1 Mac is not yet playable due to script compression. svn-id: r49070
2010-05-15SCI: adding special 640x440 upscaling mode for kq6, finally hires portraits ↵Martin Kiewitz
are drawn at the right position svn-id: r49041
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-04-26SCI: fix regression from r48720, upscaled games that use view cursors crashedMartin Kiewitz
svn-id: r48810
2010-04-19SCI: added comments about sierra not upscaling cursors for shape and view ↵Martin Kiewitz
cursors svn-id: r48721
2010-04-19SCI: added upscaling for shape cursors in upscaled hires games (will make ↵Martin Kiewitz
the cursor "normal" sized in japanese sci01 games) svn-id: r48720
2010-02-17SCI: Cleanup resource.hMax Horn
svn-id: r48084
2010-02-05SCI: remaining cursor functions now also directly calledMartin Kiewitz
svn-id: r47914
2010-02-05SCI: calling most of the cursor functions directly via _gfxCursor instead of ↵Martin Kiewitz
SciGui/32 svn-id: r47903
2010-02-05SCI: renamed class Cursor to GfxCursorMartin Kiewitz
svn-id: r47902
2010-02-04SCI: renaming class View to GfxViewMartin Kiewitz
svn-id: r47891
2010-01-31SCI: renamed SciPalette to GfxPalette, Screen to GfxScreen, GfxPalette is ↵Martin Kiewitz
now called directly w/o SciGui svn-id: r47752
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-19SCI: dont directly set mouse cursor to visible state but call show() instead ↵Martin Kiewitz
thus updating _isVisible so cursor wont get lost in sci0 games svn-id: r47391
2010-01-06SCI: making most of the variables in screen class private (some of it was ↵Martin Kiewitz
needed for old gui) svn-id: r47075