Commit Graph
11 Commits
Author SHA1 Message Date
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh ee57380de7 ENGINES: JANITORIAL: Remove 'virtual' when override is specified 2021-11-14 14:32:04 +02:00
Roland van Laar 5d45afb18b DIRECTOR: Convert cursor setting into Datum
This fixes two bugs in one go:
- setting a cursor to 0 wasn't possible when a cast+mask cursor was used
- querying a sprite for cast+mask cursor returned 0 instead of the cast
  ids.

Cursors can be set in two ways:
    1) set cursor of sprite X to INT
    2) set cursor of sprite X to [INT, INT]

A `cursor of sprite X` should return the same values that as were used
when setting the cursor.
2021-08-26 12:23:07 +02:00
ysj1173886760 4766fd025b DIRECTOR: set fallback cursor when custom cursor is not read correctly. 2021-08-14 21:42:53 +08:00
djsrv 19dab8f130 DIRECTOR: Set cursors per-movie, not globally 2021-08-06 01:11:49 -04:00
djsrv 615995fdc1 DIRECTOR: Change member refs to use CastMemberID 2021-06-30 22:32:19 -04:00
Eugene Sandulenko e27d5ac7fc DIRECTOR: JANITORIAL: Code formatting and unified the namespace end comments 2020-08-21 00:36:19 +02:00
Nathanael Gentry 343046bd5e DIRECTOR: Properly set cursor keyColor 2020-07-22 10:20:56 -04:00
Nathanael Gentry 87b8ff5825 DIRECTOR: Condition cursor palette check 2020-07-22 10:20:56 -04:00
Nathanael Gentry 2622a4628f DIRECTOR: Reset cursors properly
This also handles cases when there is an error loading.
2020-07-20 14:18:15 -04:00
Nathanael Gentry 4f15cb4af4 DIRECTOR: Introduce Cursor class 2020-07-18 00:37:57 -04:00