Commit Graph

99269 Commits

Author SHA1 Message Date
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
Eugene Sandulenko
540fdb1de6 GRAPHICS: MACGUI: Initialize newly added class variables 2020-07-20 15:05:45 +02:00
Eugene Sandulenko
aca8a0ca5b JANITORIAL: Whitespace changes 2020-07-20 14:41:25 +02:00
Eugene Sandulenko
f7b89bad62 DIRECTOR: LINGO: Another template compilation fix 2020-07-20 12:09:12 +02:00
Eugene Sandulenko
c756e3034d DIRECTOR: LINGO: Fix compilation in FileIO 2020-07-20 09:48:38 +02:00
Eugene Sandulenko
a84532e012 DIRECTOR: Fix compilation 2020-07-20 09:45:46 +02:00
Matthew Duggan
3bcb0fe8ed ULTIMA8: Fix some coverity-identified issues 2020-07-20 14:45:22 +09:00
Matthew Duggan
4641ec2304 ULTIMA8: Force target reticle update when avatar dies 2020-07-20 14:36:09 +09:00
Matthew Duggan
601e996678 ULTIMA8: Add helper to get controlled actor 2020-07-20 14:34:48 +09:00
Matthew Duggan
84eebe3e7d ULTIMA8: Add Crusader fire type data 2020-07-20 14:33:20 +09:00