Commit Graph

93564 Commits

Author SHA1 Message Date
Cameron Cawley
46056aba3c ENGINES: Reduce winexe_*.h header includes 2020-01-11 17:34:12 +02:00
Cameron Cawley
b8e94e1acd COMMON: Rename PEResources::getNameList() to getIDList() 2020-01-11 17:34:12 +02:00
Cameron Cawley
948c555ea6 ALL: Create all instances of NEResources and PEResources using new instead of on the stack
Also adapted WinCursorGroup and MacMenu to reflect this.
2020-01-11 17:34:12 +02:00
lolbot-iichan
395f707203 WINTERMUTE: Add detection for Hor game
"Hor" is a small ("5 minutes"), complete and really nice game by Roman
Koksharov.

It has no in-game text except the game title, so I marked is at
Common::UNK_LANG.

Source: https://gamejolt.com/games/hor/258037
Source: https://www.indiedb.com/games/hor

v1.0 and v1.3 are actually almost the same, difference is only in
"ALLOW_WINDOWED_MODE" game property and settings binary.

P.S. Have you found a secret ending? ^_~
2020-01-11 17:33:09 +02:00
Scott Percival
91f7d856af DIRECTOR: Add V4 builtin palettes, support for loading the movie default 2020-01-11 23:30:40 +08:00
Filippos Karapetis
89e4242d3c NEWS: Add changes for version 2.1.1 from the 2.1 branch 2020-01-11 14:22:34 +02:00
Eugene Sandulenko
75015e02a3 DIRECTOR: Fix loaded cast references 2020-01-11 12:09:15 +01:00
Scott Percival
ff6e864392 DIRECTOR: Seperate render pass for shape fill and stroke 2020-01-11 12:31:53 +08:00
Scott Percival
56aa8f3448 GRAPHICS: Fix arguments order in drawRect 2020-01-11 11:55:45 +08:00
Scott Percival
b31d5ac2b9 DIRECTOR: Align fill patterns to global origin 2020-01-11 11:27:21 +08:00
Scott Percival
c565847240 DIRECTOR: LINGO: Allow b_length to cast from reference 2020-01-11 11:25:23 +08:00
sluicebox
64517fd6a2 SCI: Fix SQ1VGA Russian class names
Fixes bug #10156
2020-01-10 16:47:56 -08:00
sluicebox
172bc97110 SCI: Ignore incorrectly detected volume version
Ignores a detected volume version of SCI3 when the map version is less
than SCI2, as that indicates detectVolVersion's heuristics failed.

SQ1VGA Russian has volume files with a few junk bytes in between
resource entries, which causes detectVolVersion to return SCI3
instead of the expected result of Invalid and then use the
correctly detected map version. The detection algorithm tries each
version until it finds one that fits, and the SCI3 pattern happens
to fit because it's necessarily the most permissive due to the
wCompression bytes containing meaningless values.

Fixes bug #10156
2020-01-10 16:44:37 -08:00
Eugene Sandulenko
53901e7a9d DIRECTOR: Do not crash if movie was not loaded 2020-01-10 23:33:08 +01:00
Eugene Sandulenko
d14a840e5e DIRECTOR: Gracefully exit when end of movie list is reached 2020-01-10 23:10:36 +01:00
Eugene Sandulenko
a132d6aa78 DIRECTOR: More streamlined movie loading tracing 2020-01-10 22:52:00 +01:00
Eugene Sandulenko
7830f936aa DIRECTOR: Fix crash when built-in is being redefined 2020-01-10 22:51:41 +01:00
Eugene Sandulenko
f7a848e65d DIRECTOR: Better track of loaded movies 2020-01-10 17:06:50 +01:00
Eugene Sandulenko
26812078b5 DIRECTOR: Properly iterate over all movies when test-all is requested 2020-01-10 16:58:34 +01:00
Eugene Sandulenko
be69970112 DIRECTOR: Fix crashes on ungraceful exit 2020-01-10 16:52:40 +01:00
Paul Gilbert
a18eae1067 GUI: Fix crash opening edit game dialog for games with no music 2020-01-09 18:37:19 -08:00
sluicebox
e0a3a387b9 SCI: Log bp_function (bpe) parameters in debugger
Trac #9833
2020-01-09 18:04:03 -08:00
sluicebox
a804afc571 SCI: Trigger bpr/bpw breakpoints within kernel calls
Trac #9835
2020-01-09 18:04:03 -08:00
Thierry Crozat
485e8bee17 MACOSX: Opt in for dark theme
macOS 10.14 introduced a dark theme in addition to the nornal
aqua theme. Applications compiled with the 10.14 SDK or above
are automatically opt in for both, but applications compiled
with an older SDK are not and still use the aqua theme even
when the system is set to use the dark theme. Those applications
need to explicitely opt in to use the dark theme.

This fixes bug #11305: Dark Mode is not supported
2020-01-09 22:24:41 +00:00
athrxx
c3ff5f9d52 KYRA: (LOK/Amiga) - fix save thumbnail colors
(I probably broke that in 04e85a0f)
2020-01-09 21:39:48 +01:00
Eugene Sandulenko
b521eb3fd4 DIRECTOR: Sanity checks on unsuccessful movie loading 2020-01-09 18:15:23 +01:00
Eugene Sandulenko
b0d31a2afa DIRECTOR: Improve error messages 2020-01-09 18:10:11 +01:00
Eugene Sandulenko
0869e02c1b DIRECTOR: Properly reastart movies 2020-01-09 18:07:23 +01:00
Eugene Sandulenko
625f3c1c28 DIRECTOR: Do not start main loop when compile only is requested 2020-01-09 17:11:31 +01:00
Eugene Sandulenko
5264fecd03 DIRECTOR: Narrowed down movie scanning only to the game directory 2020-01-09 17:11:31 +01:00
Eugene Sandulenko
0bf57feb40 DIRECTOR: Added test target for executing all movies 2020-01-09 17:11:31 +01:00
Eugene Sandulenko
d64137740b DIRECTOR: Renamed lingotests detection file to avoid execution 2020-01-09 17:11:31 +01:00
Eugene Sandulenko
956f5cd083 DIRECTOR: LINGO: Added test for 'put the number of <x> of' 2020-01-09 17:11:31 +01:00
Eugene Sandulenko
7bc46d9ffb DIRECTOR: LINGO: Fix compilation for 'the number of words of' 2020-01-09 17:11:31 +01:00
Eugene Sandulenko
d6d55facc8 PRINCE: I18N: Update translation (English)
Currently translated at 87.3% (2408 of 2757 strings)
2020-01-09 15:27:04 +00:00
Scott Percival
f26aff2708 DIRECTOR: LINGO: Allow cb_v4theentitypush and cb_v4theentityassign to cast to INT 2020-01-09 19:23:43 +08:00
sluicebox
fe9b3fea55 SCI32: Update GK2 subtitle compatibility 2020-01-08 21:52:25 -08:00
Niv Baehr
7fd12064e3 I18N: Update translation (Hebrew)
Currently translated at 97.8% (1129 of 1154 strings)
2020-01-09 01:27:03 +00:00
Eugene Sandulenko
3b706314da DIRECTOR: Correctly set script type for Lscr bytecode 2020-01-08 23:42:11 +01:00
athrxx
40bf41bf30 KYRA: (LOK) - workaround for green potion animation
The optional green potion that can be made at the alchemists' crystals can lead to invalid memory access. The animation frames aren't properly cleaned up like in the snake poisoning sequence.
I just add the same handling as as workaround.
2020-01-08 23:14:34 +01:00
Eugene Sandulenko
25dca26ff8 DIRECTOR: Fix loading CastInfo strings 2020-01-08 23:08:13 +01:00
Eugene Sandulenko
50c0d8b3c2 DIRECTOR: LINGO: Regenerate lexer 2020-01-08 23:08:13 +01:00
Eugene Sandulenko
3780c42858 DIRECTOR: LINGO: Fix MovieScript event processing 2020-01-08 23:08:13 +01:00
Eugene Sandulenko
5fb8660a54 DIRECTOR: Set correct script cast type when parsing 2020-01-08 23:08:13 +01:00
Eugene Sandulenko
8b8aebadcb DIRECTOR: Parse script cast types 2020-01-08 23:08:13 +01:00
Eugene Sandulenko
30b9a43a4c DIRECTOR: Generate start/stopMovie events 2020-01-08 23:08:13 +01:00
Eugene Sandulenko
f4a439a8e8 DIRECTOR: LINGO: Implement 'the pi' 2020-01-08 23:08:12 +01:00
Eugene Sandulenko
b19c1f7449 DIRECTOR: LINGO: Clarified built-ins for D3 2020-01-08 23:08:12 +01:00
athrxx
24d0159e79 KYRA: (LOK) - fix mouse cursor bug (see #11303) 2020-01-08 20:27:54 +01:00
athrxx
ec872b8dc8 KYRA: (LOK) - shakeScreen() improvement
(maintain smooth mouse cursor movement during shakes)
2020-01-08 20:27:54 +01:00