Commit graph

11 commits

Author SHA1 Message Date
Cameron Cawley
8b3cf445d5 DIRECTOR: Make more static data read only 2024-11-26 00:32:00 +01: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
Scott Percival
89ba335860 DIRECTOR: XOBJ: Make object name match library name
It is possible for games to call factory("libName") to check if an
XObject has been opened, which requires the names to match.

Fixes the XObject loader in Virtual Nightclub.
2024-04-25 00:54:17 +02:00
Scott Percival
d43612db85 DIRECTOR: XOBJ: Refactor methods to pass path to library 2024-03-31 16:58:31 +02:00
Scott Percival
8b9d31eda8 DIRECTOR: XOBJ: Refactor open/close to use ObjectType 2024-03-11 01:04:43 +01:00
Scott Percival
14af094515 DIRECTOR: XOBJ: Replace stub boilerplate with macro 2023-04-29 14:20:05 +02:00
Eugene Sandulenko
4a191f6551
DIRECTOR: JANITORIAL: Made all Xlibs usage comments uniform 2023-04-04 01:09:07 +02:00
Eugene Sandulenko
edca65670d
DIRECTOR: JANITORIAL: Added namespace comment 2022-12-25 10:02:06 +01:00
Scott Percival
873095c87e DIRECTOR: Move current Lingo state into Window-owned struct
The previous arrangement was to copy the bits of Lingo state back and forth from
the Window object to the Lingo instance, and query the window for the
callstack. This refactor consolidates the current Lingo state into a single
struct, owned by the Window object and accessible via a pointer on the
Lingo object.
2022-12-09 01:10:57 +01:00
Eugene Sandulenko
b989c49018
JANITORIAL: Indentation fixes 2022-10-17 16:08:58 +02:00
Roland van Laar
cf8f854960 DIRECTOR: LINGO: XOBJ: Scaffolding for Widget
Widget is an XObject used in Alice: An Interactive Museum.
The assumption is that getPro returns the drive letter as
the return value of getPro is assigned to a variable called drv.

Resolves the following errors from: https://bugs.scummvm.org/ticket/13204
- WARNING: BUILDBOT: Uncaught Lingo error: Call to undefined handler 'Widget'. Dropping 1 stack items!
- WARNING: varFetch: global variable drv not defined!
2022-10-17 12:49:46 +02:00