Commit graph

14 commits

Author SHA1 Message Date
Matthew Duggan
9f08ec5372 DGDS: Skip CDS draw op if head shape was freed
This fixes #15829.
2025-03-31 20:12:07 +11:00
Matthew Duggan
9a65cabb71 DGDS: Fix Willy Beamish head rendering a bit
The hack to keep the blueprints visible broke other interactions.  Add a more
targetted hack to make it work.  Also fix willy's head flipping when it shouldn't.
There are still some issues overall with head rendering (lipsync issues) but
it's much better now I think.

This fixes #15821.
2025-03-29 16:49:20 +11:00
Matthew Duggan
8737ca7c14 DGDS: Ignore invalid frame draw ops in CDS scripts
There is an invalid frame referenced in some CDS scripts, etc F1B32.CDS.
Ignore these requests.

This fixes #15800.
2025-03-16 13:21:55 +11:00
Filippos Karapetis
d8eb52a2cb DGDS: Clean up includes 2025-03-10 18:53:20 +02:00
Matthew Duggan
d93ff33845 DGDS: Small fixes for Willy Beamish head rendering
Correct offset to render location and flipping to be more like original.
2025-03-02 08:02:31 +11:00
Matthew Duggan
800f291143 DGDS: Hold open "head" dialogs with no sound until they are closed
This is used for the Willy Beamish blueprints.  Don't close until needed if no
sound is present.
2025-03-02 08:02:31 +11:00
Matthew Duggan
e26387ce5f DGDS: Improve Willy Beamish CD head animation 2025-03-02 08:02:31 +11:00
Matthew Duggan
0fc24869f6 DGDS: Refactor to use references more 2025-02-01 11:24:43 +11:00
Matthew Duggan
e8e166204a DGDS: More head rendering fixes for Willy Beamish
Willy Beamish should pause script execution while waiting for a response in a
dialog, but not in dialogs with no head.

Heads should also have an "opening" state for one frame before they are
considered visible.  This avoids a frame of overlap with the previous one, just
like dialogs do.  Without this, eg, the background is not rendered behind the
teacher after returning from the principal's office during the opening
sequence.

These fixes bring Willy Beamish rendering very close to the original.
2025-01-25 16:55:57 +11:00
Matthew Duggan
29900c627a DGDS: Refactor and fix conversation TTM script execution
Willy Beamish CD voice acting is now *mostly* working.
2025-01-12 16:56:07 +11:00
Matthew Duggan
f990c8e67f DGDS: Various fixes for Willy Beamish CD version
Voice acting is still really broken, but doesn't crash as much.
2025-01-05 17:56:36 +11:00
Hubert Maier
a83dc63fbc
JANITORIAL: DGDS: Fix typos 2024-12-17 22:58:18 +02:00
Matthew Duggan
b4f70c660d DGDS: Refactor scene class a bit
Extract SceneOp and SceneCondition to their own files to reduce file size a
bit.

Also fix some small issues in CDS loading.
2024-12-16 18:27:13 +11:00
Matthew Duggan
1a374b66aa DGDS: Start to implement Willy Beamish CD version heads
Still quite broken but making some progress.
2024-12-16 18:23:29 +11:00