Commit Graph

21 Commits

Author SHA1 Message Date
Eugene Sandulenko
f8593e8ecb GROOVOE: Plug memory leak. CID 1003912 2013-04-27 08:49:07 +03:00
Johannes Schickel
a401f0a19e ALL: Replace cursorTargetScale in OSystem API with a simple "do not scale" 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-06-03 02:02:57 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Ori Avtalion
9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Max Horn
0ce2ca4e00 COMMON: Replace MKID_BE by MKTAG
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-04-12 16:53:15 +02:00
Jordi Vilalta Prat
dd43dfc81c GROOVIE: Simplify the cursor palette reading. 2011-02-16 12:25:11 +01:00
Johannes Schickel
5d9e69146c GROOVIE: Adapt to setPalette/grabPalette RGBA->RGB change. 2011-02-14 17:08:32 +01:00
Matthew Hoops
faef4ab349 Check against the signature of Groovie v2 cursors with MKID_BE, makes it easier to see what it's doing.
svn-id: r50114
2010-06-21 14:44:18 +00:00
Matthew Hoops
1c0ffdc42d Add support for loading T7G Mac resources using the MacResManager.
svn-id: r49005
2010-05-11 15:41:31 +00:00
Johannes Schickel
aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Torbjörn Andersson
22116b488e Fixed cppcheck warning.
svn-id: r45241
2009-10-19 04:19:11 +00:00
Max Horn
37e51f1575 Fixed some (pedantic) warnings
svn-id: r44015
2009-09-08 22:03:07 +00:00
Scott Thomas
9e7737a653 Groovie: Handle special case for cursor #4
svn-id: r43847
2009-08-31 02:04:24 +00:00
Scott Thomas
5791d475f5 Groovie: Initial implementation cursors for Groovie V2
svn-id: r43842
2009-08-30 23:57:43 +00:00
Max Horn
ce39c26d14 -1 is not an uint8. Assuming ones-complement, though, I guess 255 was meant
svn-id: r35865
2009-01-14 18:52:25 +00:00
Jordi Vilalta Prat
59d41b30ff Show the cursor and update it properly when closing the GMM.
svn-id: r35858
2009-01-14 03:09:19 +00:00
Jordi Vilalta Prat
be346a6b5f - Initialize the current cursor to an invalid one (this removes a glitch when loading from the launcher)
- Removed the _syst attribute in Cursor_t7g

svn-id: r35856
2009-01-14 02:08:44 +00:00
Henry Bush
9446bfa503 T7G: Stage one of move to ScummVM's CursorMan: rename groovie one so it doesn't have same name
svn-id: r35793
2009-01-08 23:06:08 +00:00
Johannes Schickel
28d33e01e9 Fixed cursor palette when returning from GMM/Debugger. (Thanks to jvprat for testing)
svn-id: r35428
2008-12-18 20:36:16 +00:00
Torbjörn Andersson
e5d0462af6 Initialise _current. Fixes a Valgrind warning.
svn-id: r35067
2008-11-14 23:37:30 +00:00
Max Horn
bb87d39424 Patch #2271425: Groovie engine
svn-id: r35060
2008-11-14 21:32:20 +00:00