Commit Graph
38 Commits
Author SHA1 Message Date
Torbjörn Andersson e6e7366ba2 GROOVIE: Fix SDL cursor alpha with SDL in two cursor mode
This applies the recent fix from Cursor_v2::showFrame() to
Cursor_v2::show2Cursors() as well. Otherwise the eyeball cursor may
still be drawn with a transparent pupil.
2022-02-17 00:19:14 +01:00
Die4Ever d0c44d4ba6 GROOVIE: fix cursor alpha with SDL
SDL uses keycolor even though we're using ABGR8888, so just set it to a pink color that isn't used
2022-02-10 22:45:04 -06:00
Die4Ever fe6d20ecd1 GROOVIE: T11H fix blue circles for GameBook notifications 2021-12-30 22:06:35 -06:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh 0909948281 GROOVIE: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
Orgad Shaneh 3919f53326 ENGINES: Replace new[]/memset with new[]() 2021-11-10 19:53:15 +01:00
Die4Ever 0c66948292 GROOVIE: fix Clandestiny music on Mac 2021-09-16 09:21:24 +03:00
Die4Ever 174f3c5074 GROOVIE: Clandestiny savegame fixes
Fixes crashes when you have saved games. Also makes the preview images on saved games work.
2021-09-16 09:21:24 +03:00
Die4Ever 328a47dffa GROOVIE: improve cursor/fades fps
Improves the fps of mouse cursor movements without messing up the animation speed of the cursors. Also improves the fps of fade ins and fade outs.
2021-09-15 19:13:57 +03:00
Die4Ever c7e4c851f6 GROOVIE: some cleanup 2021-09-15 19:13:57 +03:00
Christian Lindemann e0ed66fe58 GROOVIE: Adaptions for transparent cursor 2021-09-15 19:13:57 +03:00
Christian Lindemann d0f247f7b0 GROOVIE: Add cursor hotspots for V2 engine 2021-09-15 19:13:57 +03:00
Bastien Bouclet 0735a923e4 GROOVIE: Add override keywords 2020-02-09 12:43:15 +01:00
Eugene Sandulenko 829e62a9fe GROOVIE: Clean initialization for few classes 2016-05-28 15:26:31 +02:00
D G Turner d8751516cc GROOVIE: Remove engine-specific "all" debugflag. Minor naming cleanup.
This is now uneeded as the GUI debugger superclass implements the same
functionality and this removes a bunch of complexity from the Groovie
engine debug calls. Also, removed groovie prefix from the debug flag
naming as unecessary as these are within the Groovie namespace.
2014-06-05 03:01:12 +01:00
Matthew Hoops 3c287aad18 GROOVIE: Switch to 32bpp only in groovie2
Needed for alpha
2014-06-01 22:08:28 -04:00
Johannes Schickel 8f55aed475 GROOVIE: Make GPL headers consistent in themselves. 2014-02-18 02:39:35 +01:00
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