Commit Graph
137148 Commits
Author SHA1 Message Date
Eugene Sandulenko 4b1717150a DIRECTOR: LINGO: Implement 'the result' 2020-07-22 12:41:41 +02:00
Eugene Sandulenko 0991666303 DIRECTOR: LINGO: Simulate 'preLoadCast' 2020-07-22 12:36:37 +02:00
Eugene Sandulenko d86838c743 DIRECTOR: LINGO: Unstub 'the preLoadRAM' 2020-07-22 12:35:55 +02:00
Eugene Sandulenko 00ceb9d9d3 CI: Disable win32 and x64 builds because they're broken
The builds are timing out at the vcpkg state and nobody cares,
especially the author, about looking into the problem.
2020-07-22 10:28:15 +02:00
Nathanael Gentry ae1af9c06a DIRECTOR: Fix matte intersection check
Actually, it's not applied indiscriminately. It only take effect when there is
already a matte ink on the given sprite.
2020-07-21 23:12:54 -04:00
Nathanael Gentry c294d73955 DIRECTOR: Make sure dirty rects are valid
This prevents a crash in the Stretch scene of The Apartment's More Puppets movie.
2020-07-21 23:12:54 -04:00
Nathanael Gentry 405f0bf1b9 DIRECTOR: Don't unnecessarily redraw puppets 2020-07-21 23:12:53 -04:00
Nathanael Gentry 697fae20db DIRECTOR: Keep track of failed matte creation
This dramatically cuts down the number of matte warnings in Majestic.
2020-07-21 23:12:53 -04:00
antoniou79 e6e591a28e CONFIGURE: Update comments for Android port 2020-07-22 06:11:44 +03:00
antoniou79 70fce0d0a4 ANDROID: Comment about new versioCodes 2020-07-22 06:05:24 +03:00
antoniou79 c002873cc4 ANDROID: Request NDK version 21.3.6528147 in build.gradle 2020-07-22 05:44:56 +03:00
Roland van Laar 5357b8b23c DIRECTOR: LINGO: Handle builtin args in range
Builtins can have a range of arguments. For example
`unLoadCast` can have 0, 1 or 2 arguments, defined as 0, 2.
Calling such functions only allowed for the min and max number
of arguments (nargs). This fixes that by checking if the nargs
is either smaller than the minimum or larger than the maximum.
2020-07-22 00:18:52 +02:00
Vladimir Serbinenko 49979f1665 GRAPHICS: Support 4-bit windows cursors 2020-07-22 00:06:36 +02:00
Eugene Sandulenko 28cc32ac0f DIRECTOR: Fix typo 2020-07-21 23:55:47 +02:00
Eugene Sandulenko 2a484dda5b DIRECTOR: Pass strings by references 2020-07-21 23:55:10 +02:00
Eugene Sandulenko 181b298dad DIRECTOR: Catch unknown field in readChannels() 2020-07-21 23:35:45 +02:00
Eugene Sandulenko 896ff77946 DIRECTOR: Implement 'the labelList' 2020-07-21 23:35:45 +02:00
Eugene Sandulenko 234f99395e DIRECTOR: LINGO: Implement b_label() 2020-07-21 23:35:45 +02:00
Eugene Sandulenko d70c3475c5 DIRECTOR: Implement getting labels by name 2020-07-21 23:35:45 +02:00
djsrv a67e4bee50 DIRECTOR: Update screen in DirectorEngine::draw 2020-07-21 17:34:22 -04:00
djsrv 17be87ffb3 DIRECTOR: Rename Movie::getCurrentStage getStage 2020-07-21 17:34:22 -04:00
djsrv 1d0f8db46a DIRECTOR: Get rid of blocking loops 2020-07-21 17:34:22 -04:00
Roland van Laar 5285e7d29c DIRECTOR: make _actionId a uint16, it can be > 255
_actionId was also read twice, the last one was the correct one.
Redefine the first _actionId as an unk.
2020-07-21 22:48:27 +02:00
djsrv 2a310ee7e7 DIRECTOR: Fix segfault 2020-07-21 16:21:56 -04:00
Nathanael Gentry 6b404187fc DIRECTOR: Move mouse position check to channel
This permits, for instance, only changing the cursor when we are inside a
bitmapped sprite.
2020-07-21 15:11:34 -04:00
Roland van Laar b62a77f498 DIRECTOR: replace whitespace trim with String::trim 2020-07-21 20:48:43 +02:00
Nathanael Gentry a7426c2872 GRAPHICS: MACGUI: Eliminate window composition surface
Now there is just the composeSurface from the widget. This fixes a bug where the
inner window contents would be blitted with transparency and also eliminates a
redundant copying. Now the border and inner surfaces are composed together on demand.
2020-07-21 14:48:27 -04:00
Roland van Laar 3cae55dc3a DIRECTOR: remove leading space when opening files
This happens in Majestic. It does a theMoviePath && 'path\to\file'.
Since theMoviePath is empty, it results in: ' path\to\file'.
2020-07-21 20:34:31 +02:00
Eugene Sandulenko e693076558 DIRECTOR: Set the cast size for bitmaps, sounds and texts 2020-07-21 18:53:28 +02:00
Eugene Sandulenko 2bf6850e8f DIRECTOR: LINGO: Implement 'the size of cast' 2020-07-21 18:53:07 +02:00
Eugene Sandulenko d759ca6271 DIRECTOR: Store cast member size 2020-07-21 18:28:17 +02:00
Eugene Sandulenko 1aea38cc63 COMMON: Makw SeekableSubReadStreamEndian subclass of SeekableReadStreamEndian 2020-07-21 18:20:00 +02:00
Eugene Sandulenko cd7b892d0c MOHAWK: Fix mess with stream pointers casting 2020-07-21 18:20:00 +02:00
Nathanael Gentry 99e973f5ec DIRECTOR: More carefully check for end of bitmap stream
This is a patch for the bitmap loading bug introduced in 3d1a68a3ed.
2020-07-21 11:27:54 -04:00
antoniou79 55136a8f7e SKY: Prevent manual save to slot 0
Slot 0 is reserved for autosave but ScummVM in-game would allow saving on it

This was causing segmentation fault (_selectedGame would overflow and also saveGameTexts would be indexed with a -1 index
2020-07-21 16:57:38 +03:00
Eugene Sandulenko 8939609787 COMMON: Make MemoryReadStreamEndian inherit from SeekableReadStreamEndian 2020-07-21 12:46:22 +02:00
Eugene Sandulenko 9dfaabb47c DIRECTOR: LINGO: b_openResFile is implemented for Mac so far, catch it on Windows 2020-07-21 09:16:07 +02:00
SupSuper 4d855ff6c0 COMMON: Fix warning from incorrect parameter type in fribidi call
fribidi_log2vis takes a FriBidiParType, not a FriBidiCharType
(though the values are identical)
2020-07-21 07:11:09 +01:00
djsrv e4caa3d514 DIRECTOR: LINGO: Fixed shared cast patching 2020-07-20 17:13:07 -04:00
Nathanael Gentry 4d2da628df GRAPHICS: MACGUI: Set WM cursor visible on cursor pop 2020-07-20 16:49:11 -04:00
djsrv 270511dd5c DIRECTOR: LINGO: Fix patcher debug 2020-07-20 15:24:22 -04:00
djsrv 758a90ab32 DIRECTOR: LINGO: Patch Warlock script 2020-07-20 15:24:22 -04:00
djsrv 854300607c DIRECTOR: Fix mac name 2020-07-20 15:24:22 -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 f903822f8d DIRECTOR: Read cursors from external resources 2020-07-20 14:17:24 -04:00
Nathanael Gentry 0058822e6e DIRECTOR: Implement opening resource files 2020-07-20 14:17:24 -04:00
djsrv 5176a39a90 DIRECTOR: LINGO: Suppress var not found warnings 2020-07-20 11:56:05 -04:00
djsrv 7ae8fc0ff0 DIRECTOR: LINGO: Fix c_call resolution order 2020-07-20 11:56:05 -04:00
Nathanael Gentry a17b19810e DIRECTOR: Use buildbot to sniff out a stub 2020-07-20 10:49:33 -04:00
Eugene Sandulenko 86d249ffed DIRECTOR: LINGO: Implement the purgePriority. We're not going to use it, though 2020-07-20 15:34:04 +02:00