152104 Commits

Author SHA1 Message Date
Strangerke
74eaaa5a88 BAGEL: Remove extra const in function declarations, add missing const 2024-05-26 06:21:50 +01:00
Strangerke
79457670a1 BAGEL: Remove unreachable code in CBofMovie 2024-05-26 06:21:49 +01:00
Strangerke
3bbe28bcd8 BAGEL: Remove unused methods in CBofWindow 2024-05-26 06:21:48 +01:00
Strangerke
d40c9badf9 BAGEL: Fix various tiny issues (missing or useless keywords, typos, variable scopes, ...) 2024-05-26 06:21:48 +01:00
Paul Gilbert
42bdadaed6 M4: Endian fix for script interpreter. Demo now gets in-game on BE systems 2024-05-25 19:50:03 -07:00
Paul Gilbert
38cd2e1cc6 M4: Endian fix for cutscene palettes 2024-05-25 16:44:24 -07:00
Eugene Sandulenko
dc52513ed3
DIRECTOR: Keep formatting for empty STXT resources
This effectively reverts 77582aa8233b3037dec2ef71e6220205a31fbcda
and fixes mcluhan-win that is checking fonts for presence in this manner
in its startup movie:

  if the textFont of field 4 < "McLuhan13" then
    alert("The provided McLuhan fonts are not installed.  Please reinstall Understanding McLuhan.")
    quit()
  end if
2024-05-26 00:50:57 +02:00
Peter
86a9fd66c5 JANITORIAL: Fix GCC 14 warnings
Fix repetitive warnings about template-id in constructors and destructors. This ensures C++20 compatibility. Warnings are encountered when compiling with GCC 14.
2024-05-26 00:00:45 +03:00
Paul Gilbert
32f3bfea6c M4: More endian fixes 2024-05-25 12:17:39 -07:00
Lothar Serra Mari
c12804c3de I18N: Update translation (German)
Currently translated at 95.0% (2090 of 2198 strings)
2024-05-25 16:51:39 +00:00
Scott Percival
ff7cdff562 DIRECTOR: Ensure channel sprite information is up to date
Previously there was a gap between loading a new frame, and copying the
sprite information from that new frame back to the channels (if
required). Scripts could run in this gap, and in this case they would
be operating on the old sprite information instead of the new.

Score::renderFrame has been renamed to Score::updateFrame; the method
doesn't actually render anything, it reconciles the difference
between the frame data and the channel data, updates the channel data,
and produces a list of dirty rects.

Fixes the menu screen of Majestic: Alien Encounter.
Fixes director-tests/D4-unit/T_SPRT02 and T_SPRT03
2024-05-25 16:25:18 +02:00
Scott Percival
41cea48a9e DIRECTOR: Reset sprite contents when loading frames from start
Fixes _blendAmount state leak in w_tonnel of Eastern Mind (activate the
magatama dragon, then look at the creature embedded in the wall).
2024-05-25 16:25:18 +02:00
Scott Percival
c83699ba50 DIRECTOR: Add detection entry for nikolaitrains 2024-05-25 16:25:18 +02:00
Scott Percival
ac9a37955c DIRECTOR: Update detection tables for digby 2024-05-25 16:25:18 +02:00
Le Philousophe
cf9d7060af DIRECTOR: Make absolute path coherent with path separator
Path separator is set to \ only on director 4+ and Windows platform in
DirectorEngine constructor.
Don't use a \ separator in getCurrentAbsolutePath on versions older than
Director 4.
2024-05-25 13:55:01 +02:00
Matthew Jimenez
18c6eb8c31 ULTIMA8: Make middle-click pathfinder kill existing pathfinder process. 2024-05-25 00:07:45 -05:00
Matthew Jimenez
1ae7ff095c ULTIMA8: Fix missing process type on pathfinder 2024-05-25 00:07:45 -05:00
Paul Gilbert
2a5ffabb74 M4: Further endian fixes 2024-05-24 20:31:48 -07:00
Timo Mikkolainen
4b3780b4c1 I18N: Update translation (Finnish)
Currently translated at 100.0% (2198 of 2198 strings)
2024-05-25 02:43:00 +00:00
Eugene Sandulenko
99615e1d66
iDIRECTOR: DEBUGGER: Show button ttoltips in Log window 2024-05-25 02:40:21 +02:00
Eugene Sandulenko
e9695c57af
DIRECTOR: DEBUGGER: Rearranged Vars window
Put all variables into collapsable groups and
moved Global vars to the very top
2024-05-25 02:31:36 +02:00
Michael
1d776fbfe0 MTROPOLIS: remove video path from SearchMan
With the previous commit, the SearchMan entry is not required anymore.

This reverts commit ed71bee3a76420c877b8028a9df535408ee8dd83
2024-05-24 19:25:19 -04:00
Michael
b2cd9f66a0 MTROPOLIS: use VFS layer to resolve video path
This makes the handling of external Quicktime files
more similar to the AVI file handling below.
2024-05-24 19:25:19 -04:00
Michael
dc49091a15 MTROPOLIS: remove subpath search loop
The SearchMan entry "Video" is used to find the right path instead.
2024-05-24 19:25:19 -04:00
Michael
3bc9d65afc MTROPOLIS: Add Video directory to SearchMan 2024-05-24 19:25:19 -04:00
Michael
bd3ab79910 MTROPOLIS: add ability to play external video files 2024-05-24 19:25:19 -04:00
Matthew Jimenez
0f4df1fe55 ULTIMA8: Trace coordinates on middle-click pathfinding.
Previously this used the traced item location, which would not lead to the expected location. Fixes #13851
2024-05-24 17:21:39 -05:00
Strangerke
ebe05ea348 BAGEL: Remove more null checks priori to delete 2024-05-24 23:09:01 +01:00
Eugene Sandulenko
2faed61a66
DIRECTOR: DEBUGGER: Implement Score window pagination 2024-05-24 23:34:52 +02:00
Strangerke
9af2c24f1a BAGEL: Fix several PVS Studio issues 2024-05-24 22:12:29 +01:00
Strangerke
3547918296 BAGEL: remove a couple of unused methods in CQueue, fix some more PVS Studio issues 2024-05-24 21:33:54 +01:00
Strangerke
630f2f66c0 BAGEL: Use bofCleanAlloc instead of bocAlloc when followed by a memset(0) 2024-05-24 21:33:54 +01:00
Strangerke
14417d1024 BAGEL: Remove useless null check prior to delete in SBarComputer 2024-05-24 21:33:54 +01:00
Eugene Sandulenko
b9a7f9fa5f
JANITORIAL: Indentation fixes 2024-05-24 22:30:43 +02:00
Eugene Sandulenko
076074ec88
SCUMM: Fix compilation 2024-05-24 22:21:39 +02:00
Eugene Sandulenko
ee55870422
JANITORIAL: Fix indentation and remove trailing spaces 2024-05-24 21:54:28 +02:00
elasota
b1ee674243 MTROPOLIS: Add copy ctor to MediaCueMessengerModifier to deal with cue source string field 2024-05-24 14:55:51 -04:00
Vissery
a788ab1775
SCUMM: HE: Update Backyard Baseball 2001 competitive mode
* Update script_v6.cpp

* Update script_v6.cpp

* Update script_v6.cpp

* Update script_v6.cpp
2024-05-24 13:53:47 -05:00
elasota
c28438d2a9 MTROPOLIS: Support setting runtime version to deal with 1.1.2+ Windows plug-ins 2024-05-24 14:41:44 -04:00
Michael
2e9cff78b6 MTROPOLIS: support loading cue source as string
This constellation occurs in the retail version of Star Trek: The Game Show
2024-05-24 14:41:24 -04:00
scemino
bb5aa98b8b DIRECTOR: Show script history in a combo 2024-05-24 20:30:35 +02:00
scemino
367d00b091 DIRECTOR: Keep script toolbar visible when scrolling code 2024-05-24 20:30:35 +02:00
Eugene Sandulenko
dea88ded28
DIRECTOR: Patching built-in Projector archive files
This lets McLuhan to finally properly start and load
these movies
2024-05-24 18:29:08 +02:00
Eugene Sandulenko
25577d4702
COMMON: Improved debug output for dumping archives 2024-05-24 18:29:08 +02:00
ScummVM-Translations
1b1d06839c 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-24 16:28:21 +00:00
scemino
ab58eb8f73 DIRECTOR: Fix invalid handler end offset 2024-05-24 18:27:59 +02:00
scemino
c0a195013d DIRECTOR: Fix syntax highlighting with globals 2024-05-24 18:27:59 +02:00
ScummVM-Translations
2e106dbece I18N: Update translations templates 2024-05-24 14:38:08 +00:00
scemino
9f22307353 DIRECTOR: Use imgui docking 2024-05-24 16:37:25 +02:00
scemino
4a1209da9f IMGUI: Use docking branch
This is is imgui commit fee0210592b9cb5b1a778f005ffb1fe76b19ced0
2024-05-24 16:35:55 +02:00