aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/cursors.cpp
AgeCommit message (Collapse)Author
2012-06-16MOHAWK: Get rid of casts on CursorManager::replaceCursor calls.Johannes Schickel
2012-06-03ALL: Replace cursorTargetScale in OSystem API with a simple "do not scale" ↵Johannes Schickel
logic. All uses of the old target scale API actually wanted to disallow scaling of the mouse cursor. This commit adapts our API to this and thus simplifies backend implementations. Some backends, most notable the Wii and Android, did some implementation of the cursor target scale, which I didn't adapt yet. I added a TODO for the porters there.
2012-05-14GRAPHICS: Hide the WinCursor implementationMatthew Hoops
2011-08-29MOHAWK: Fix using the Mac binary for Riven cursorsMatthew Hoops
2011-08-16MOHAWK: Use the default Windows cursor in /graphics nowMatthew Hoops
2011-07-05MOHAWK: Allow setting LB cursors by nameMatthew Hoops
2011-06-28MOHAWK: Rework archive handlingMatthew Hoops
A new base class has been introduced (aptly named "Archive"), which is much cleaner than inheriting from MohawkArchive. In addition, the underlying resource retrieving code has been merged to reduce dupliplication.
2011-06-16MOHAWK: Fix Memory Leak in PE Cursor Loading.D G Turner
2011-05-15MOHAWK: Display a black screen while changing stack. Default to an empty cursor.Bastien Bouclet
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-05MOHAWK: Use new MacCursor code instead of convertCrsrCursor()Matthew Hoops
2011-04-17MOHAWK: Do not access Surface::bytesPerPixel anymore.Johannes Schickel
2011-04-12COMMON: Replace MKID_BE by MKTAGMax Horn
MKID_BE relied on unspecified behavior of the C++ compiler, and as such was always a bit unsafe. The new MKTAG macro is slightly less elegant, but does no longer depend on the behavior of the compiler. Inspired by FFmpeg, which has an almost identical macro.
2011-03-28MOHAWK: Allow disabling compilation of MystMatthew Hoops
2011-03-07MOHAWK: Improve error handling when data isn't foundMatthew Hoops
2011-03-07MOHAWK: Make Riven use original executables for cursorsMatthew Hoops
It will try both Windows and Macintosh executables. The hardcoded cursors have been removed.
2011-03-04GRAPHICS: Split the NE cursor code from the NEResources classMatthew Hoops
Now the code lies in Graphics and all cursors are not cached upon opening an exe. The engine is now in charge of caching which cursors it wants.
2011-02-22COMMON: Add a key color field to NECursorMatthew Hoops
2011-02-22COMMON: Begin to merge some NE/PE codeMatthew Hoops
The ID classes are now common to both. The files have been renamed to better illustrate their purpose.
2011-02-19MOHAWK: Change bitmaps to use RGB palettes.Johannes Schickel
Thanks to clone2727 for reviewing this patch.
2011-02-14MOHAWK: Adapt to setPalette RGBA->RGB change.Johannes Schickel
Currently in some places the RGBA palettes are converted to RGB before they are set up. There might be a better way, but this should work fine for now.
2011-01-26MOHAWK: Introduce a new CursorManager for LB v2+ (they do not use exe cursors)Matthew Hoops
svn-id: r55554
2010-12-21MOHAWK: Allow DefaultCursorManager to use alternative tagsAlyssa Milburn
svn-id: r54987
2010-11-29MOHAWK: Set Maggie's Farmyard Adventure as an LB gameMatthew Hoops
The game will start, but has many problems as it uses a later version of the LB code. Also, make sure we check for filename being empty to stop an assertion in the MacCursorManager. svn-id: r54566
2010-11-28MOHAWK: Add basic Living Books support (all credit goes to fuzzie!)Matthew Hoops
v1 and v3 (both Windows and Mac) are working, v1 support is in better shape. svn-id: r54558
2010-11-25MOHAWK: Refactor cursor handlingMatthew Hoops
Cursor handling has now been moved to a new CursorManager class (which is subclassed for Myst/Riven) from the GraphicsManager classes. This will be needed for Living Books which will have a class for Windows and Mac cursors (coming soon!). svn-id: r54469