Commit graph

3790 commits

Author SHA1 Message Date
djsrv
d014bdd92c CREDITS: Update name 2021-09-23 11:49:59 -04:00
djsrv
fb3962d835 DIRECTOR: LINGO: Fix ID list memory leaks 2021-09-05 20:52:56 -04:00
djsrv
df73102f67 DIRECTOR: LINGO: Don't warn when replacing script is expected 2021-09-05 20:52:49 -04:00
djsrv
07bcc3a909 DIRECTOR: LINGO: Fix replaced script memory leak 2021-09-05 20:52:43 -04:00
Eugene Sandulenko
b65a4fa83e
DIRECTOR: Enforce game target as prefix to the saved files in FileIO 2021-09-01 15:39:13 +02:00
trembyle
80bf14c1ed
JANITORIAL: DIRECTOR: Various fixes
* Correct alphabetic sorting throughout
* Whitespace and indentation fixes
* German translation fix for Bibi Film Studio
* Computer Music change from game to demo
* Punycode The Gate 2-3 paths to match The Gate 1
2021-08-31 11:45:59 +02:00
trembyle
45b33d4e80
DIRECTOR: Expand detection for Rodney Greenblat
Adds more works by Rodney Alan Greenblat:
* Funscreen 2
* Wonder Window
* Art Brain
* Crying, Screaming Baby (Clickamajig)

Funscreen 1 was learned to be Director in original Mac floppy release,
and so was moved to the games section.

Thanks to ArtFluids on Discord for providing detailed background
information from correspondence with Rodney.
2021-08-31 11:45:59 +02:00
trembyle
fd6aeba2e5
DIRECTOR: Add detection for German Mulle Meck games
Or Willy Werkel, as the games are named in German.

Thanks to Hypothalmus on Discord for the suggestion.
2021-08-31 11:45:58 +02:00
trembyle
620db9d59d
DIRECTOR: Add detection for new screen savers
Here are 19 new screen savers (D5-D7)
2021-08-31 11:45:58 +02:00
trembyle
0134243912
DIRECTOR: Add new shareware detection
* 24 new shareware titles and demos
* New Russian magazine covermounts
* Unsupported titles
2021-08-31 11:45:58 +02:00
trembyle
acbfdef08d
DIRECTOR: Add detection for BeachWare titles
These are all shareware releases. The full games can be unlocked with a
registration key.

Thank you to Elphive on Discord for extensive research in the Wayback
Machine and for providing information on the retail compilations.
2021-08-31 11:45:58 +02:00
trembyle
9a59e53058
DIRECTOR: Add detection for new multimedia
* Added 57 new game IDs
* Plus additional entries for existing ones
2021-08-31 11:45:58 +02:00
trembyle
b480380d7c
DIRECTOR: Add detection for new games
This covers 50 new game IDs, plus new platforms and languages
for existing games.
2021-08-31 11:45:58 +02:00
trembyle
c4b6140e02
DIRECTOR: Add detection for community discoveries
Many thanks for research and suggestions from Discord, email, etc.,
particularly sev, eientei, and Lemtom.

Special thanks to Fighter19 for providing information on German
Silly Noisy House, and to Elphive for finding Shelley Duvall's
It's a Bird's Life.
2021-08-31 11:45:58 +02:00
trembyle
73b069c9ac
DIRECTOR: Add detection for games in new languages
This establishes detection for games in the new language codes.

* 10 unique Arabic games
* 2 unique Catalan titles
* 1 Catalan + 1 Flemish localization
* 1 potential Mexican Spanish localization

Also cleaned up indentation for Russian title comments and corrected
an existing entry with wrong language.
2021-08-31 11:45:57 +02:00
trembyle
fb31d7097f
COMMON: Add Macromedia/Adobe Shockwave as platform
These can be big- or little-endian. The development platform can be
autodetected based on RIFX/XFIR in header.

These games ran in Shockwave Player either as a standalone app or as
web browser plugins on Windows and Mac.

Shockwave game added as D6 detection entry as an example.
2021-08-31 11:45:54 +02:00
Roland van Laar
6ca9c1f8bf DIRECTOR: fix check on array size
Setting a cursor to a cast needs an array of 2 not 1.
2021-08-26 12:58:06 +02:00
Roland van Laar
5d45afb18b DIRECTOR: Convert cursor setting into Datum
This fixes two bugs in one go:
- setting a cursor to 0 wasn't possible when a cast+mask cursor was used
- querying a sprite for cast+mask cursor returned 0 instead of the cast
  ids.

Cursors can be set in two ways:
    1) set cursor of sprite X to INT
    2) set cursor of sprite X to [INT, INT]

A `cursor of sprite X` should return the same values that as were used
when setting the cursor.
2021-08-26 12:23:07 +02:00
Roland van Laar
28fdbed20d DIRECTOR: simplify setting applyColor to false 2021-08-25 11:27:08 +02:00
Roland van Laar
274cfacbb9 DIRECTOR: Fix rendering with Bkgnd Transparent ink
Scores with the Bkgnd Transparent ink set were rendered black.

This hapened on with cards on the poker table in Majestic (win).
2021-08-25 11:27:08 +02:00
djsrv
4796729a58 DIRECTOR: LINGO: Terminate when stmt with newline 2021-08-24 22:41:33 -04:00
D G Turner
8075db3c2c DIRECTOR: Simplify convertPixelIntoSurface method in BIT Decoder
This had identical code paths after the recent changes.

CID 1461549
2021-08-24 16:17:52 +01:00
djsrv
d27574acae DIRECTOR: Fix mouseUp events
Before, the code for setting a button's hilite flag made it so that
mouseUp only ever went to the last sprite that had a mouseDown
event. That is not correct. Whatever sprite the mouse goes up on
gets the event, even if it didn't get the last mouseDown event.
2021-08-23 16:10:44 -04:00
djsrv
1a0393bc19 DIRECTOR: Consider buttons to respond to mouse
Even without scripts, respondsToMouse and isActive should treat
buttons as if they have scripts since they change visually.
2021-08-23 16:10:44 -04:00
djsrv
80b4d55586 DIRECTOR: Make isMouseIn return false for invisible sprites 2021-08-23 16:10:44 -04:00
djsrv
a60e144e1e DIRECTOR: Fix punycode in detection tables 2021-08-22 13:16:13 -04:00
Roland van Laar
80bca91b30 DIRECTOR: Don't load nonexisting projector movie
Continue playing the current movie when the one referenced as projector
isn't found. It seems the best option. ScummVM crashes anyway when it switches to a non-existing movie

This resolves a crash in `The Kids Works 2 Demo`. It's a single file D3
movie which contains everything needed to run it.
2021-08-21 21:39:13 +02:00
Eugene Sandulenko
869c9d497e
DIRECTOR: Added original file name for Mac warlock 2021-08-21 14:25:28 +02:00
Eugene Sandulenko
c1c9e06573
DIRECTOR: Enable running unknown variants.
Since our fallback detection is pretty advanced, we may run games
not added to the detection tables.
2021-08-21 13:39:55 +02:00
Eugene Sandulenko
df51215678
DIRECTOR: Added alternate Wrath of the Gods detection 2021-08-21 13:34:10 +02:00
ysj1173886760
dbdec32b7d DIRECTOR: add comments for BITD decoder. 2021-08-20 22:37:03 +08:00
ysj1173886760
a77da4dc37 DIRECTOR: fix BITD decoder for different behaviour in D3 and D4 2021-08-20 22:37:03 +08:00
ysj1173886760
458713d65a DIRECTOR: fix color channel in BITD decoder. 2021-08-20 22:37:03 +08:00
ysj1173886760
ecce34593e DIRECTOR: combine renderVideo and updateWidgets. 2021-08-20 20:59:48 +08:00
ysj1173886760
d69144fa18 DIRECTOR: introduce updateWidget to fix updateStage. 2021-08-20 20:53:44 +08:00
djsrv
4bec36f93f DIRECTOR: Do not call renderSprites() in b_updateStage
This function updates the sprites from the score. We do not want to do
that, as it wipes any non-puppet changes made by Lingo. Notably, this
broke the cursor in Chop Suey.
2021-08-20 08:36:44 -04:00
ysj1173886760
c4fac4e2b7 DIRECTOR: move warnings to deeper debug levels. 2021-08-20 19:21:28 +08:00
ysj1173886760
cc24a1fd2c DIRECTOR: add comments for patch. 2021-08-19 16:16:02 +08:00
ysj1173886760
1a6c09c57f DIRECTOR: patch scripts in jman-win. 2021-08-19 16:12:22 +08:00
ysj1173886760
afec76a083 DIRECTOR: fix trails of sprite.
This fix is aimed for fixing the bug in jman. And the fix may not be thoroughly.
2021-08-19 16:12:09 +08:00
ysj1173886760
8e8f640e69 DIRECTOR: fix editableText both in D2/3 and in D4. 2021-08-18 20:19:18 +08:00
djsrv
b82735f0df DIRECTOR: Remove "no auto" comment
This comment was vague (auto what?) and added in an incorrect
implementation of autohilite which has since been removed.
(f89ec907c5)
2021-08-18 07:30:38 -04:00
ysj1173886760
70f2b93237 DIRECTOR: fix the editable. 2021-08-18 13:02:06 +08:00
djsrv
690562b1b1 DIRECTOR: Use separate queues for user and non-user events
We don't want to immediately process user events when processing another
non-user event.
Fixes https://trello.com/c/wtRV31SE/451-journeyman-execution-order
2021-08-17 21:16:52 -04:00
djsrv
ebbb82c683 DIRECTOR: Remove getEventCount() 2021-08-17 20:40:18 -04:00
Eugene Sandulenko
9f0534445b
DIRECTOR: Read second sound channel info in D4 on all platforms 2021-08-17 17:13:35 +02:00
Eugene Sandulenko
30412dbbc5
DIRECTOR: Patch warlock-win for non-existent menu reference 2021-08-17 16:54:27 +02:00
Eugene Sandulenko
fa4e45aa68
DIRECTOR: Added one more machine type code 2021-08-17 16:30:23 +02:00
ysj1173886760
69ccaac440 DIRECTOR: fix BITD decoder. 2021-08-17 22:12:44 +08:00
Eugene Sandulenko
910e7403f8
DIRECTOR: Marked Win Warlock for testing too and make sure all games bear their status 2021-08-17 14:37:40 +02:00