aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/cursor.cpp
AgeCommit message (Collapse)Author
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
2010-01-05More renamingFilippos Karapetis
svn-id: r47009