aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/cursor.cpp
AgeCommit message (Collapse)Author
2012-06-16SCI: Get rid of casts on CursorManager::replaceCursor calls.Johannes Schickel
2012-04-29SCI: Add a hack to fix the cursor colors in Longbow (bug #3489101)Filippos Karapetis
2012-03-25SCI: Fix cursor coordinates for SCI01. Fixes a crash in KQ1 (bug #3503932)Filippos Karapetis
2012-03-07SCI: Add a new configuration option for SQ4 CD, "silver_cursors"Filippos Karapetis
This allows the user to choose the alternate set of silver mouse cursors that is available in the game resources of the game, instead of the original golden ones
2012-02-17SCI: Added some sanity checks by digitallFilippos Karapetis
- Limit the LB1 cursor workaround to LB1 only (so that fanmade games aren't affected) - Error our when bad cursor hotspots are found
2012-02-17SCI: Fix and cleanup the monochrome cursor codeFilippos Karapetis
This makes the code like FreeSCI again, which is the correct way to fix bug #3487088.
2012-02-17SCI: Fix bug #3487088 - "SCI: LB1: Missing Wait cursor"Filippos Karapetis
2012-02-13SCI: Fix bug #3487092: "SCI: LB1: Magnifying glass cursor is grey"Filippos Karapetis
2011-10-18SCI: Added some hacks related to new functionality in Phantasmagoria 2Filippos Karapetis
The game will now start (but won't do anything exciting - it'll display its main menu, which doesn't work yet)
2011-09-05SCI: Fix Island of Dr. Brain copyprot pause menu on touch devicesWillem Jan Palenstijn
Patch from m_kiewitz.
2011-09-03SCI: Fix QFG3 run/walk/sleep menu on touch devicesWillem Jan Palenstijn
The analysis and fix are from m_kiewitz.
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