Commit Graph

152024 Commits

Author SHA1 Message Date
Scott Percival
523d31590e DIRECTOR: Prevent exitFrame handler from running twice
It is possible to call "pause" in the exitFrame handler, then rely on
another handler (e.g. mouseDown) to call "continue" to start the movie
playback. exitFrame should not be called again once playback is resumed.

Fixes entering the first hatch in L-Zone.
Fixes D4-unit/T_EVNT12.DIR in director-tests.
2024-05-22 17:24:31 +02:00
Scott Percival
8e6ba00bc2 DIRECTOR: XOBJ: Fix MMovie to rename autosaves to something sensible 2024-05-22 17:24:31 +02:00
Scott Percival
337f214ff4 DIRECTOR: Move equality warnings behind debug gate 2024-05-22 17:24:31 +02:00
Scott Percival
6461bdcd25 DIRECTOR: Clean up array compare code, add more tests 2024-05-22 17:24:31 +02:00
Scott Percival
f673761135 DIRECTOR: LINGO: Fix b_count for RECT and POINT 2024-05-22 17:24:31 +02:00
Scott Percival
9a822aa057 DIRECTOR: LINGO: Add more list edge cases 2024-05-22 17:24:31 +02:00
Scott Percival
fb1f453dc1 DIRECTOR: LINGO: Allow nonsense coercion of symbol to integer
Fixes the collision detection loop in the maze minigame of Virtual
Nightclub.
2024-05-22 17:24:31 +02:00
Scott Percival
417106a9d0 DIRECTOR: LINGO: Fix typo in fetching CastScripts with b_script 2024-05-22 17:24:31 +02:00
Scott Percival
cf47a34a86 DIRECTOR: LINGO: Add POINT/RECT support to Lingo::setObjectProp 2024-05-22 17:24:31 +02:00
Scott Percival
6819a99fcf DIRECTOR: XOBJ: Fix MMovie save dialog + return ticks 2024-05-22 17:24:31 +02:00
Scott Percival
782ad3f28f DIRECTOR: LINGO: Add better logging for Datum equality/comparison 2024-05-22 17:24:31 +02:00
Scott Percival
49a4648f6e DIRECTOR: Force Lctx loading after other resources
It is possible for the bytecode compiler to call
getCastMemberByScriptId, which in turn can force a load() for a cast
member. If this cast member happens to be a TextCastMember, the text
will be missing.

Fixes the maze gallery minigame in Virtual Nightclub.
2024-05-22 17:24:31 +02:00
Scott Percival
9e76421275 DIRECTOR: Enable built-in debug logging in Virtual Nightclub 2024-05-22 17:24:31 +02:00
Scott Percival
5051d1fe9c DIRECTOR: LINGO: Fix list handler override bodge
Fixes ARRAY/PARRAY log messages in Virtual Nightclub.
2024-05-22 17:24:31 +02:00
ScummVM-Translations
c3c1fb7209 I18N: Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ScummVM/scummvm
Translate-URL: https://translations.scummvm.org/projects/scummvm/scummvm/
2024-05-22 13:15:41 +00:00
Eugene Sandulenko
7ef89c0e55
DIRECTOR: Silence the warning in a different way when clearing a struct 2024-05-22 14:38:59 +02:00
Eugene Sandulenko
c41087cf66
DIRECTOR: DEBUGGER: Improved row header indentation in Score window 2024-05-22 14:37:32 +02:00
复予
0e563b0554 I18N: Update translation (Chinese (Simplified))
Currently translated at 76.8% (1640 of 2135 strings)
2024-05-22 11:42:58 +00:00
Strangerke
c333222e3a BAGEL: Remove scrollDown, change the definition of fadeLines and scrollUp in order to remove the unused parameters, clean the implementation 2024-05-22 08:32:12 +01:00
Strangerke
62f9284afe BAGEL: Fix a couple of potential memory leaks in CBagMovieObject, remove a useless part of a check (mention by PVS Studio) 2024-05-22 08:18:44 +01:00
D G Turner
0d3cdd3047 DIRECTOR: Fix Memset On Non-Trivial Structure GCC Compiler Warning 2024-05-22 01:47:35 +01:00
D G Turner
6e3f4afc40 DIRECTOR: Fix Enumeration Value Type Mismatch GCC Compiler Warning
This should be checked to ensure that this functions as intended.
2024-05-22 01:37:04 +01:00
D G Turner
2c832ed975 DIRECTOR: Fix Signed vs. Unsigned Comparison GCC Compiler Warnings 2024-05-22 01:14:56 +01:00
sluicebox
076ea03926 SCI: Fix KQ6 message when clicking on horse in castle
Fixes an inaccessible message due to the wrong verb

Thanks to @StuntmanSnake for discovering this
2024-05-21 16:26:01 -07:00
Strangerke
3f09c38747 BAGEL: Fix several PVS Studio issues 2024-05-21 23:50:38 +01:00
Eugene Sandulenko
26f17006eb
DIRECTOR: DEBUGGER: Fix crash in Score window when switching to a smaller movie 2024-05-21 23:49:14 +02:00
Eugene Sandulenko
56357b344a
DIRECTOR: DEBUGGER: Displaq QD shape info and improve Score visuals 2024-05-21 23:26:28 +02:00
Eugene Sandulenko
6b999d9b27
DIRECTOR: DEBUGGER: Better centering of icons font 2024-05-21 22:43:01 +02:00
Eugene Sandulenko
6a753db237
FONTS: Replaced Material Icons with a bigger font
The file was renamed from "MaterialSymbolsSharp[FILL,GRAD,opsz,wght].ttf"

The upstream version taken is ace1af08508a6562ef05055a606cf44ea583ce3b
from May 17, 2024
2024-05-21 22:38:44 +02:00
athrxx
09566f861b SCUMM: (INDY3) - finish iq points fixes
There was another occasion where the episode iq point would
be written into the series iq file. Also, the loading routine wasn't
always working correctly.
2024-05-21 22:17:00 +02:00
Eugene Sandulenko
6b0cd31e76
DIRECTOR: DEBUGGER: Replaced all icons with Material Design icons and increased font size 2024-05-21 22:01:23 +02:00
Eugene Sandulenko
aa3d6f3771
FONTS: Replaced OpenFontIcons.ttf with MaterialIcons-Regular.ttf
OpenFontIcons.ttf appeared to be badly broken, all SVG contain
strokes which does not render well on non-SVG rasters.
2024-05-21 21:59:46 +02:00
Eugene Sandulenko
f944132e47
CONFIGURE: ImGui now requires freetype2 2024-05-21 21:02:48 +02:00
Eugene Sandulenko
f5fa7aeb0c
IMGUI: Switched to FreeType2 rendering 2024-05-21 21:02:48 +02:00
scemino
0d53e600ba DIRECTOR: Add script caching 2024-05-21 20:38:37 +02:00
Strangerke
2c562525c1 BAGEL: Fix several PVS Studio issues 2024-05-21 18:50:44 +01:00
Strangerke
87dafae34d BAGEL: Fix some PVS Studio issues 2024-05-21 18:33:22 +01:00
ScummVM-Translations
b70f09c821 I18N: Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ScummVM/scummvm
Translate-URL: https://translations.scummvm.org/projects/scummvm/scummvm/
2024-05-21 11:52:36 +00:00
Eugene Sandulenko
a5fe495fe9
DIRECTOR: DEBUGGER: Uniform icons usage and added rendering for main channels in Score 2024-05-21 13:52:17 +02:00
复予
21dcc0ae82 I18N: Update translation (Chinese (Simplified))
Currently translated at 73.1% (1562 of 2135 strings)
2024-05-21 10:42:59 +00:00
Eugene Sandulenko
d3cd29d0c1
DIRECTOR: DEBUGGER: Render Score window with smaller font 2024-05-21 11:06:49 +02:00
Eugene Sandulenko
9f4e33eae5
DIRECTOR: DEBUGGER: Improve Score window selection UX 2024-05-21 10:32:26 +02:00
Eugene Sandulenko
1c94550496
DIRECTOR: DEBUGGER: Improve Score extended mode and implemented rest of the modes 2024-05-21 08:58:55 +02:00
Eugene Sandulenko
f1c92c7ec0
DIRECTOR: DEBUGGER: Render different Score modes 2024-05-21 08:58:55 +02:00
Eugene Sandulenko
d9c2fd0e96
DIRECTOR: DEBUGGER: Improved Scroe window usability 2024-05-21 08:58:55 +02:00
Eugene Sandulenko
a7482534d9
DIRECTOR: DEBUGGER: Attempt to put combo box to the Score header 2024-05-21 08:58:51 +02:00
Paul Gilbert
6203267f0b BAGEL: Fix rendering of checkboxes in sraf computer 2024-05-20 20:37:44 -07:00
ScummVM-Translations
6e84d23ea8 I18N: Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ScummVM/scummvm
Translate-URL: https://translations.scummvm.org/projects/scummvm/scummvm/
2024-05-20 22:47:23 +00:00
Michael
b2f8b31362 MTROPOLIS: move assert after nullptr check 2024-05-21 01:47:09 +03:00
复予
cf0ee7c5de I18N: Update translation (Chinese (Simplified))
Currently translated at 62.6% (1337 of 2135 strings)
2024-05-20 20:42:59 +00:00