Commit graph

303 commits

Author SHA1 Message Date
Scott Percival
f7e2a19327 DIRECTOR: Fix video palette mismatch in Mac gamma mode
A few places in the code fetch the palette from the window manager. This
is not the source of truth; the WM might have a gamma-converted palette.

Fixes incorrect video colouring in the Mac version of Wrath of the Gods.
2025-03-25 12:17:34 +08:00
Scott Percival
dd553c4443 DIRECTOR: Add several games to detection table
Thanks to Tim Reimer for the tipoff.
2025-03-25 12:17:34 +08:00
Scott Percival
0f44adce38 DIRECTOR: XOBJ: Add stubs for GetSoundInLevel and ListDev 2025-03-25 12:17:34 +08:00
Eugene Sandulenko
b1e72ffbd7
DIRECTOR: XLIBS: Improved node jump processing in callback in QTVR Xlib 2025-03-04 23:49:28 +01:00
Eugene Sandulenko
51ce5217f2
DIRECTOR: XLIBS: Actually execute rollover callback in QTVR Xlib 2025-02-25 22:46:16 +01:00
Eugene Sandulenko
55e342f814
DIRECTOR: XLIBS: Fix callback calling and added sanity check to QTVR Xlib 2025-02-25 22:46:16 +01:00
Eugene Sandulenko
0f01d699b9
DIRECTOR: XLIBS: Fix methods table <facepalm> 2025-02-24 11:47:48 +01:00
Eugene Sandulenko
909af07511
DIRECTOR: XLIBS: Improved hotspot callback handling 2025-02-24 11:47:48 +01:00
Eugene Sandulenko
91a521be3f
DIRECTOR: XLIBS: Changed callback notation for QTVR Xlib 2025-02-24 01:14:39 +01:00
Eugene Sandulenko
70f430e4a9
DIRECTOR: XLIBS: Implement 'mouseOver' method 2025-02-23 17:18:17 +01:00
Eugene Sandulenko
fff67c6e7c
DIRECTOR: XLIBS: Unstub rest of the minor methods in QTVR Xlib 2025-02-23 17:18:17 +01:00
Eugene Sandulenko
3275e633e8
DIRECTOR: XLIBS: Unstub minor methods in QTVR Xlib 2025-02-23 17:18:17 +01:00
Eugene Sandulenko
714c3faf0a
DIRECTOR: XLIBS: Initial code for QTVR Xlib
Used in trektech
2025-02-23 01:20:35 +01:00
Scott Percival
686ed8747a DIRECTOR: XOBJ: Add additional alias for FileIO 2025-02-17 11:07:59 +01:00
Scott Percival
a71ec6fc78 DIRECTOR: XTRA: Add alias for PrintOMatic 2025-02-08 14:45:53 +01:00
Scott Percival
c0df58acc8 DIRECTOR: XOBJ: Implement m_readPict in FileIO
Fixes display of text cards in Murphy's TV.
2025-02-04 15:24:17 +01:00
Scott Percival
520d9dcedf DIRECTOR: XOBJ: Add stubs for PrintOMatic, FileXtra and Xsound 2025-02-04 15:24:17 +01:00
Scott Percival
43b63504c7 DIRECTOR: Update detection entry for ukiuki1 2025-02-04 15:24:17 +01:00
Scott Percival
5f336ea402 DIRECTOR: XOBJ: Add additional functions for HenryXObj 2025-02-04 15:24:17 +01:00
Le Philousophe
506c8945ff DIRECTOR: Don't allocate big objects in stack in SpaceMgr
The SpaceMgr objects (especially SpaceCollection) are pretty huge (over
1MB size) because they are made of HashMap which contain their object
pool.
These objects should have never been allocated on stack.
As the nodes are not existing, make sure they are allocated directly on
the heap using the getOrCreateVal call.
When needed, the result is recycled to avoid an extra lookup.
2025-01-24 17:29:33 +08:00
eientei95
ac06583b5a DIRECTOR: movutils fixes for fpgapirates
* Add MovieUtilities name for Mac version
* Add alternate Windows DLL name (movieutl)
2025-01-04 09:40:01 +02:00
Scott Percival
fbc40129a1
DIRECTOR: XOBJ: Fix incorrect memory management in AiffXObj
Thanks to sluicebox for the tipoff.
2024-12-06 23:23:17 +08:00
Cameron Cawley
8b3cf445d5 DIRECTOR: Make more static data read only 2024-11-26 00:32:00 +01:00
Scott Percival
183e257235 DIRECTOR: XOBJ: Fix file handle leak in AiffXObj 2024-11-11 20:40:06 +01:00
Scott Percival
956bb269ee DIRECTOR: Add Lingo quirk for frankenstein 2024-11-11 20:40:06 +01:00
Misty De Meo
275e877349
DIRECTOR: remove duplicate xlib definitions 2024-11-07 18:39:09 -08:00
Misty De Meo
d3ffa177f9
DIRECTOR: fix dateutil switch 2024-09-09 16:14:14 -03:00
Misty De Meo
938e95a460
DIRECTOR: add Daijoubu xlib comments 2024-09-08 19:29:14 -03:00
Misty De Meo
1477e59e16
DIRECTOR: real implementation of dates 2024-09-08 19:29:13 -03:00
Misty De Meo
8b0178d35e
DIRECTOR: stub implementation of two xlibs 2024-09-08 18:29:00 -03:00
Hubert Maier
42710e6e78
JANITORIAL: DIRECTOR: Fix typos in comments 2024-08-02 17:13:10 +03:00
Eugene Sandulenko
a1f7e398bb JANITORIAL: Remove trailing spaces 2024-07-26 16:44:54 +02:00
eientei95
d6a4d92495 DIRECTOR: Add detection for Mysterious Island; add MystIsle xobj 2024-07-15 07:47:50 +03:00
Roland van Laar
07aaa9a263 DIRECTOR: add stubs for Mummy xlibs
Add xlib stubs for Mummy: Tomb of the Pharaoh.
Generated with `director-generate-xobj-stubs.py`.
2024-07-12 16:03:14 +02:00
Scott Percival
b7d55c157d DIRECTOR: XOBJ: Have FileIO XObject return error codes from constructor
Fixes crash when loading the config file for Jungle Park.
2024-07-07 22:11:03 +02:00
Scott Percival
6cf9272bbf DIRECTOR: XOBJ: Add modded version of MoveMouse from Jungle Park 2024-07-07 22:11:03 +02:00
Roland van Laar
b780db73e2 DIRECTOR: LINGO: XTRAS: update with gen-xobj-stub
Rerun the director-generate-xobj-stub.py for
- directsound
- keypoll
- qtvrxtra
- timextra

Includes new registration for XTRAs by name and
D5 XTRAs property name.

According to D5 lingo dictionary
this property is settable and gettable. Testing in D5-win show
that the poperty is only gettable.

Implement these items also for:
- fileio
2024-06-28 14:38:18 +02:00
Scott Percival
707a854668
DIRECTOR: Fix FileIO::m_displaySave 2024-06-18 23:46:44 +08:00
Eugene Sandulenko
ef58fa797b
DIRECTOR: LINGO: Plug in IniXObj
This is a JT's XObj, typically called INI.DLL. So far, we saw only
one game using it, gameid 'karma'. However, another gameid, 'www'
is using JWXINI.DLL renamed to INI.DLL

Thus, we are filtering "INI" by specific gameids
2024-06-17 21:52:46 +02:00
Eugene Sandulenko
605b339ba9
DIRECTOR: JANITORIAL: FIx whitespaces 2024-06-17 21:52:46 +02:00
Eugene Sandulenko
4049cbbf1a
DIRECTOR: LINGO: Remove redundant file entries to Xlibs
We probe .dll suffix and the filenames are case-insensitive
2024-06-17 21:52:46 +02:00
Eugene Sandulenko
96df7715e1
DIRECTOR: LINGO: Introduce filter by gameid for xlibs/xobj filenames
Currently, it is used for resolving conflict when gameid "www"
is using ini.dll for jwxini.dll, while ini.dll exists and is
used in gameid 'karma'
2024-06-17 21:52:46 +02:00
codengine
3704b01c46 DIRECTOR: XOBJ: Remove usage comment for "Karma" in jwxini 2024-06-16 01:07:07 +02:00
codengine
650057a5f8 DIRECTOR: XOBJ: Remove filexobj and use fileio instead 2024-06-16 01:07:07 +02:00
codengine
f8710e88dd DIRECTOR: Add detection table entry for Karma (German) 2024-06-16 01:07:07 +02:00
codengine
18b670b617 DIRECTOR: XOBJ: Add filexobj 2024-06-16 01:07:07 +02:00
codengine
07221c99b4 DIRECTOR: XOBJ: Add bimxobj 2024-06-16 01:07:07 +02:00
codengine
ec48ec243d DIRECTOR: XOBJ: Duplicate methods from inixobj in jwxini
As both xLibs use the same name (INI), this change is required for now until we have a system where the xLibs can be selected target-specific.

When this is done, this commit should be reverted.
2024-06-16 01:07:07 +02:00
codengine
362882e805 DIRECTOR: XOBJ: Add inixobj 2024-06-16 01:07:07 +02:00
codengine
46b350a804 DIRECTOR: XOBJ: Revert redundant duplicate definitions in jwxini xLib 2024-06-16 01:07:07 +02:00