Commit Graph
305 Commits
Author SHA1 Message Date
athrxx a0ee0af227 SCUMM: fix bug no. 15766
(ZAK: Wrong positioning of the devotee)
2025-03-01 01:40:39 +01:00
athrxx b5451ca5a1 SCUMM: get rid of UBSan warnings
(about left shifts on negative values)
2025-02-21 14:48:27 +01:00
Hubert Maier 8b030146cf JANITORIAL: SCUMM: Fix typos 2024-12-25 17:59:04 +02:00
athrxx b3baa636ee SCUMM: whitespace 2024-11-23 23:11:51 +01:00
Filippos Karapetis 395f63dc71 SCUMM: Initialize class members 2024-11-16 18:40:51 +02:00
Hubert Maier 370064f93f JANITORIAL: SCUMM: Fix typos 2024-09-16 01:55:26 +03:00
AndywinXp a467ab6f3e SCUMM: MANIAC (Apple IIgs): Implement correct cursor and color for texts
Everything is white now :-) The C64-like cursor and text colors
are now available via the "Visual changes" enhancement.
2024-08-12 20:52:24 +02:00
athrxx 35ee6d6dfb SCUMM: (MM/V1) - add special handling for getActorFromPos()
Something I found when fixing this for other v1/v2 games. Not clear if it
makes a difference, but better fix it now...
2024-07-24 18:53:00 +02:00
athrxx 44072e907e SCUMM: (MM) - fix bug no. 15277
("Man-Eating Plant should not be selectable as actor")COMMON: add PC-98 8-colors render mode
2024-07-24 01:19:22 +02:00
athrxx 8d88e7b4d5 SCUMM: (V1/2) - fix bug no. 15273
(Walking animation when turning not correct)

Also match v1/2 walk code more to the orginal behavior
in general, to eliminate accuracy glitches.

Also, get rid of memory leaks in resetScumm().
2024-07-20 00:38:58 +02:00
Donovan Watteau 1603f7bcb4 SCUMM: Update my Actor_v3::setupActorScale enhancement comment about Trac#2556
I now own an original German copy, and I haven't been able to reproduce
the bug that was reported many moons ago.  It's possible that a different
German release with the bug exists, and I haven't checked the script
differences in the German release yet, but I do believe that just comes
from a bad copy of the game.

Anyway, just leaving the enhancement as is for now.
2024-07-16 00:20:27 +02:00
AndywinXp b3882595c6 SCUMM: HE100: Fix unimplemented chore redirect frames
This fixes disappearing actors in Backyard Football 2002.
2024-06-29 22:43:08 +02:00
AndywinXp 7517aa58b9 SCUMM: HE: Fix actors with no costume resetting the background
Welcome to another episode of:
"I didn't think I actually needed those lines of code".

Fixes some actors being cut off on Baseball2001 and 2003.
2024-06-25 22:06:00 +02:00
AndywinXp 8d0a8d9df4 SCUMM: HE: Fix shadow being overdrawn on some games
Closes ticket #15211:
"SCUMM: BASEBALL (97/2001/2003): Overdrawn shadows glitch"
2024-06-23 10:20:33 +02:00
AndywinXp 251d884556 SCUMM: HE: Fix gfx regression on SpyFox3
SpyFox's head deleted itself on room 15, by looking
at the keycard device. It turns out I needed that part
of the condition from the original.
2024-06-11 22:44:11 +02:00
AndywinXp 14fc9b10a5 SCUMM: HE: Fix pixel trails left by AUX images
We had this "+1" on the old version of the code as well...
It's not in the disasm but for now this seems easier
than going through the dirty rects code :-)
2024-06-11 22:30:38 +02:00
Eugene Sandulenko 41ed2ebf6a SCUMM: Fix compilation with disabled HE subengine 2024-06-11 15:55:02 +02:00
AndywinXp 196cadbe00 SCUMM: HE: Implement original actor/object overlapping/erasing routines
This is the thing I held off doing during the HE gfx rewrite, only to find out
it was actually needed. As usual, a great number of changes for... only
one small bug fixed. This closes ticket #9619:
"SCUMM/HE: PUTTZOO- Kenya Animation Bug Persists"

I have tested a bunch of representative HE70+,80,90,95,98,99,100
entries and I didn't notice regressions.

HE versions under 70 have not been touched by this, as I'd like to
know if there are issues with actor/object overlaps BEFORE actually
starting disassembling 16-bit DOS executables...
2024-06-11 14:48:50 +02:00
AndywinXp 2c601ad06a SCUMM: HE: SPYFOX3: Fix #4767
Indeed, we were missing some code from the original
which handled overlapping actors in which some moved
and some did not, which caused the latter to be erased.

Thanks eriktorbjorn for the great pointers on this.
2024-04-28 21:22:01 +02:00
AndywinXp 8fe0f93630 SCUMM: Rename CHARSET_1() to displayDialog()
We are now using a name which respects the coding
guidelines and also reflects how the actual function was
named.
2024-04-28 19:59:30 +02:00
AndywinXp 12f511928a SCUMM: HE: Cleanup 2024-04-26 23:21:29 +02:00
AndywinXp e70935815d SCUMM: HE: Fix AUX animations 2024-04-26 23:21:29 +02:00
AndywinXp 35939dd19d SCUMM: HE: Fix warnings 2024-04-26 23:21:29 +02:00
AndywinXp 7f004920a4 SCUMM: HE: Fix Aux Images rendering 2024-04-26 23:21:29 +02:00
AndywinXp 9d1ebb0cba SCUMM: HE: Fix TRLE AKOS cels not being erased 2024-04-26 23:21:29 +02:00
AndywinXp 9dd2ea4e43 SCUMM: HE: Re-implement WIZ text and Aux images 2024-04-26 23:21:29 +02:00
AndywinXp b19c4b772d SCUMM: HE: Overhaul more of the GFX system
* Overhaul sprites system
* Fix compression routines for 8-bit graphics
* More fixes and clean-up
2024-04-26 23:21:29 +02:00
AndywinXp 0a3b6c49b2 SCUMM: HE: Implement FloodFill operation 2024-04-26 23:21:29 +02:00
AndywinXp f17fe7413c SCUMM: HE: Begin WIZ and graphics rewrite 2024-04-26 23:21:29 +02:00
athrxx 41f11b8da9 SCUMM: fix/silence various coverity warnings 2024-03-11 20:44:18 +01:00
Orgad Shaneh 9e8cdd0769 SCUMM: Fix GCC warnings
* warning: comparison of integer expressions of different signedness
* memset clearing an object of non-trivial type
2024-01-31 05:56:25 +02:00
athrxx cc49587679 SCUMM: more coverity fixes 2024-01-30 00:35:49 +01:00
athrxx 008c6c93c4 SCUMM: minor cleanup 2024-01-28 16:57:59 +01:00
athrxx 6d7187ed3c SCUMM: (DIG) - fix bug no. 14845
("SCUMM: DIG: Conversation is stuck mid-cutscene and the game appears soft-locked")

(regression from def4530d)
2024-01-14 17:33:11 +01:00
athrxx 7396e21c47 SCUMM: (v7/8)- fix walk code bug 2023-11-25 01:10:25 +01:00
athrxx 165c8d14f2 SCUMM: add newly introduced var to saving/loading
(also do some minor cleanup to that new code)
2023-11-21 22:50:02 +01:00
athrxx def4530dab SCUMM: (v7/8) - fix walk code glitch
(for situations with x/y-flip box flags)
2023-11-18 21:52:44 +01:00
AndywinXp 8461f25218 SCUMM: Rename enhancementClassActive to enhancementEnabled 2023-11-08 11:46:06 +01:00
AndywinXp d5fa7aeb90 SCUMM: Mark all enhancements with their respective classes 2023-11-08 11:46:06 +01:00
athrxx c0040a0ff6 SCUMM: minor fix to remapDirection
This is a follow to my previous commit.  We get rid of
the remaining LOOM FIXME. I have checked the different
SCUMM versions to see when the _ignoreBoxes check got
introduced.
2023-10-28 21:32:52 +02:00
athrxx a72678d2d2 SCUMM: (v7/v8) - fix walk code regression
(missing room check)
This was (again) a very old bug that got unmasked
by recent changes. There was even a comment
from 2003 about how original DIG checked for the
current room, but we - allegedly - wouldn't have to
do that.

There is still a FIXME about Loom. I'll have a look at
that, too, since it is not difficult to do...
2023-10-28 20:53:44 +02:00
athrxx 862ad3b3b5 SCUMM: (v7/8) - fix minor walk code regression
(found in COMI, reported on discord)
2023-10-13 15:57:31 +02:00
athrxx 32daf91abe SCUMM: (v7/8) - improve fix for bug no. 14616
(make it more consistent with original code behavior)
2023-10-05 18:00:41 +02:00
athrxx da22877bad SCUMM: remove unneeded virtual declaration 2023-09-02 01:56:36 +02:00
Donovan Watteau 4e4182528a SCUMM: Fix startAnimActor() call causing a SIGSEGV in ft-demo
Fix typo in previous commit 8a54e258a5.
2023-08-30 20:32:04 +02:00
athrxx b1142facc3 SCUMM: fix formatting/whitespace 2023-08-27 15:38:52 +02:00
athrxx 8a54e258a5 SCUMM: (SCUMM7/8) - fix actor turning animation
The turning interpolation was completely disabled for v7/8, since it
interfered with DIG walk scripts. The result was that DIG was the only
v7/8 game that still had (script controlled) turning animations. COMI
and FT don't use walk scripts. So the actors would just flip directly from
the current facing direction to the target facing.

I have now changed parts of the walking code (and some other parts)
to better match the original v7/8 code.
2023-08-27 15:06:57 +02:00
athrxx a25b068b6a SCUMM: (SCUMM4-6) - fix actor turning direction
This is the same thing that already got fixed for v1-3. Turns
out that the code for v4-6 is exactly the same.
2023-08-25 13:38:56 +02:00
athrxx b36c487112 SCUMM: fix bug no. 14582
(pathfinding doesn't match original)

This does not address the (allegedly) wrong actor turning direction.
2023-08-22 20:27:48 +02:00
AndywinXp 9b4cba48c9 SCUMM: HE (Sound): Slightly simplify lipsync code 2023-08-18 22:20:45 +02:00