aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/cursor.cpp
AgeCommit message (Collapse)Author
2017-11-19SCI: Fix UB shifting negative integersColin Snover
2017-09-27SCI: Do some clean-up of event handling systemColin Snover
Convert macros and vars to enums, rename keyboard events in preparation for adding key up events, clean up unnecessary nested conditionals, add TODOs for potential future work.
2017-06-08COMMON: Make SpanOwner copy assignment make a copy of the owned SpanColin Snover
To move data from one SpanOwner to another, use `moveFrom`. Thanks @waltervn for pointing out the problem.
2017-05-27SCI: Remove a leftover SCI32 hackFilippos Karapetis
2017-03-27SCI: Implement bounds-checked reads of game resourcesColin Snover
2016-08-22SCI32: Move the SCI32 Mac cursor handling code into GfxCursor32Filippos Karapetis
This was left in the SCI16 code in commit 80d9182554
2016-08-19SCI32: Remove CoordAdjuster32, at least for the momentColin Snover
This may come back in the future to deduplicate some gfx code, but SCI32 had two different inlined ways of doing coordinate conversions with different rounding methods, so CoordAdjuster32 didn't get used when the graphics system was rewritten. At the moment, SCI32 code uses the mulru/mulinc methods from helper.h for scaling up/down coordinates.
2016-03-05SCI: Make cursor workaround work properly on OpenPandoraMartin Kiewitz
Other platforms, that support analog stick + touch screen at the same time, are possibly also affected. Cursor workarounds exist for qfg1vga, qfg3, lsl5 and Island of Dr. Brain. Those sometimes worked and sometimes didn't on at least OpenPandora and should be fixed now.
2016-02-20SCI: Add a more detailed explanation about kernelSetZoomZoneFilippos Karapetis
2016-02-20SCI: kernelSetZoomZone is a stub in Mac versions. Fixes bug #7040Filippos Karapetis
Cursor handling is quite different in Mac SCI versions. Among other changes, the screen where a zoom cursor was used in Freddy Pharkas has been redesigned to work without such a cursor, and the relevant zoom cursor call has been stubbed
2014-11-09SCI: some more work on 480x300 mac supportMartin Kiewitz
2014-02-18SCI: Make GPL headers consistent in themselves.Johannes Schickel
2013-05-01SCI: Fix a non-initialized variable in GfxCursor - CID 1003112Filippos Karapetis
2013-04-28SCI: Change wording for the cursor position workaroundsFilippos Karapetis
2013-04-27SCI: Change wording for bug/further info referencesFilippos Karapetis
2013-04-16SCI: Fix potential memory leak with Mac cursor's hotspotMatthew Hoops
2013-04-16SCI: Fix mac cursor memory leakMatthew Hoops
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