91 Commits

Author SHA1 Message Date
Vladimir Serbinenko
b06893a692 SCUMM: Support extracting resources from macbinary 2023-05-10 22:44:04 +02:00
Cameron Cawley
f7785f463a SCUMM: Use the keymapper for bike fights in Full Throttle 2023-02-08 00:11:40 +01:00
AndywinXp
f942b25fe4 SCUMM: FT (demo): Fix bike sprite Y position on lost fight 2023-01-15 22:18:23 +01:00
AndywinXp
9e7e6a08b2 SCUMM: INSANE/SMUSH: Implement video file dependent frame rate
In FT and DIG demo, video files have the correct frame rate encoded in the FLU header.
This fixes bug #14029.
2023-01-15 14:39:33 +01:00
AndywinXp
1fcad262a3 SCUMM: INSANE: Fix missing voice file call 2023-01-15 01:28:44 +01:00
AndywinXp
078bfa70cd SCUMM: FT: Fix mouse button-up events being lost during INSANE sequences 2022-11-14 00:15:45 +01:00
Donovan Watteau
f1a34c9020 SCUMM: INSANE: Fix one of the counters when Ben uses the goggles
In Full Throttle, when Ben uses the goggles to find the secret area in
the old mine road, the first and last number being displayed on that
view should be formatted in hexadecimal in the original game (yeah),
not octal.

Checked against the DOS version in DREAMM, the 2002 Windows interpreter
from Aaron Giles, and the 2017 remaster.
2022-11-10 23:19:14 +01:00
Donovan Watteau
cbfa856ebc SCUMM: Fix -Wformat-overflow warning in Insane::smush_setFrameSteps()
It's given a null pointer at some point, which is UB for printf-like
functions.
2022-11-05 21:38:02 +01:00
Le Philousophe
137b51d7ac SCUMM: Don't use unsafe sprintf and vsprintf 2022-10-23 22:46:19 +02:00
Andrea Boscarino
07eafca398 SCUMM: INSANE: Set correct video framerate 2022-05-21 22:44:01 +03:00
AndywinXp
d82c3cea5f SCUMM: SMUSH/INSANE: Call resetAudioTracks() in the correct places (fix #13476) 2022-05-19 13:51:59 +02:00
Andrea Boscarino
157bd196db SCUMM: INSANE: Remove instruction not present in the interpreter
With this instruction in place (probably an unseen typo), there are instances in which the road noise is started and then immediately stopped cyclically (e.g. when Ben puts on the goggles)
2022-04-16 23:25:31 +02:00
Andrea Boscarino
024aa1f22b SCUMM: SMUSH: Implement audio sub-engine 2022-04-16 23:25:31 +02:00
athrxx
acb665c109 SCUMM: (SCUMM7/8) - cleanup (text) verb drawing and Hebrew right-to-left drawing
(SCUMM7/8 only)
2022-04-08 19:53:44 +02:00
athrxx
de4513cdff SCUMM: (SCUMM7/8) - implement original text formatting flags for more flexibility 2022-04-08 19:53:44 +02:00
athrxx
1f56132725 SCUMM: (SCUMM7/8) - reorganize font rendering - first part
(inspired by PR 3276 - this here has the desired effect, but actually allows the removal of hacks, workarounds and redundancy code instead of adding more of that sort)

The purpose is to have the same accurate font rendering that we already have in the Smush code also for the ingame texts. The original interpreters draw the text like that, so this is not a weirdo invention of mine.

This is still broken. The main purpose was to get as much code done as necessary to have it at least compile again and correctly run the Smush texts.

The rest still needs quite some work...
2022-04-08 19:53:44 +02:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Andrea Boscarino
f731cfd648
SCUMM: DiMUSE: New Digital iMUSE Engine (#3368)
SCUMM: DiMUSE: Add new implementation of the engine
2021-11-16 00:05:18 +01:00
BLooperZ
b88403b18b SCUMM: INSANE: always enable line wrap on hebrew 2021-03-19 01:20:10 +01:00
athrxx
30f4fd049e SCUMM: (SMUSH) - fix text coordinates and wrapping
Some fixes from disasm to have the text look pixel-exact like the original.

Some lines in COMI are still off a bit by 2 pixels to the left or to the right. Whilst I doubt that anyone would notice it I'll try to fix that, too.
2020-10-24 17:58:29 +02:00
D G Turner
59b639ed4d SCUMM: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-12-23 11:56:16 +00:00
Eugene Sandulenko
41d8441ea8 SCUMM: Add missing break to INSANE code. Thanks to eriktorbjorn and GCC7 2017-08-11 20:13:24 +02:00
Torbjörn Andersson
0bde79b2b8 JANITORIAL: Silence some more GCC 7 fall through warnings 2017-08-06 16:35:25 +02:00
Eugene Sandulenko
ee324a07cf SCUMM: Fix crash on exit in FT demo 2016-10-09 15:26:48 +02:00
Ori Avtalion
d8045c6727 JANITORIAL: Fix clang printf warnings 2016-01-07 14:55:32 +02:00
Johannes Schickel
3847465163 SCUMM: Make GPL headers consistent in themselves. 2014-02-18 02:39:38 +01:00
Eugene Sandulenko
03bf56ea82 INSANE: Mark fall through case statement. CID 1003733 2013-08-18 11:59:51 +03:00
Eugene Sandulenko
e0e6b95384 INSANE: Fix CID 1003734. Missing break in switch 2013-07-15 11:48:05 +03:00
Eugene Sandulenko
b1c886334d INSANE: Fix CID 1003733. Missing break in switch.
In fact the code was wrong there due to copy-paste error
2013-07-15 11:47:51 +03:00
Matthew Hoops
0031c41db8 COMMON: Change kPlatformPC to kPlatformDOS
"PC" was very ambiguous and now it matches what we show in the GUI.

This also corrects sword2's platform to Windows.
2013-05-02 18:43:10 -04:00
Eugene Sandulenko
095dfcad15 INSANE: Fix potential buffer overflow. CID 1003866 2013-04-21 14:27:30 +03:00
Torbjörn Andersson
a1168e932c SCUMM: Hardly-even-worth-mentioning cleanup. 2013-04-02 08:20:33 +02:00
Eugene Sandulenko
49da129e63 SCUMM: Fix bug #3575444: "FT: Enemy behaviour in biker fight"
Also fixed enemy behavior along the way. No wonder it differed
from the original!
2013-04-02 00:18:50 +03:00
Eugene Sandulenko
d8d5012fc7 SCUMM: More fixes in INSANE 2013-04-02 00:18:50 +03:00
Eugene Sandulenko
880f264150 SCUMM: Fix more bugs in INSANE 2013-03-30 17:10:30 +02:00
Eugene Sandulenko
a36a7253e4 SCUMM: Fix several bugs in INSANE 2013-03-30 15:53:44 +02:00
Eugene Sandulenko
9479d1a9ee SCUMM: Fix bug #3546434: "SCUMM: FT glitches in Vulture encounter on old mine road"
There was a missing Sfx call.
2013-03-30 15:53:44 +02:00
Torbjörn Andersson
a6b65b84b0 SCUMM - Fix bug #3536645, FT Missing Dialogue Line
The condition for setting up the scene when encountering Father
Torque had been accidentally inverted, so the function was called
over and over (presumably causing the scene to stall), insead of
just once. I don't know much about INSANE, but sev has confirmed
that this is the correct fix.
2012-06-23 19:30:10 +02:00
Christoph Mallon
23a0f5318c JANITORIAL: Remove trailing empty lines. 2011-08-07 13:53:33 +02:00
Max Horn
82343f6649 SCUMM: Remove some unused var warnings (see bug #3293800) 2011-05-14 23:50:43 +02:00
Max Horn
b37463fe59 SCUMM: Move class ResourceManager to its own header 2011-05-13 11:47:08 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Max Horn
0ce2ca4e00 COMMON: Replace MKID_BE by MKTAG
MKID_BE relied on unspecified behavior of the C++ compiler,
and as such was always a bit unsafe. The new MKTAG macro
is slightly less elegant, but does no longer depend on the
behavior of the compiler.
Inspired by FFmpeg, which has an almost identical macro.
2011-04-12 16:53:15 +02:00
dhewg
d83a83ef50 JANITORIAL: Remove/comment unused vars
Found by GCC 4.6's -Wunused-but-set-variable
2011-03-29 21:57:56 +02:00
Max Horn
c975ed11a1 ALL: Fix various typos (patch #3093266)
svn-id: r53762
2010-10-24 13:04:33 +00:00
Eugene Sandulenko
dd7a2f75c0 SCUMM: INSANE: fix a long standing bug discovered by static code analysis
svn-id: r53581
2010-10-18 19:19:28 +00:00
Max Horn
3b21db1618 SCUMM: Fix parts of bug #3087898 (SCUMM: Code analysis warnings)
svn-id: r53567
2010-10-18 16:00:07 +00:00
Max Horn
51933629d1 Changed foo(void) to foo() in almost all non-backend source files
svn-id: r45616
2009-11-02 21:54:57 +00:00
Johannes Schickel
67a881f444 SCUMM: Commit of parentheses patch from salty-horse. (from -devel "Enabling -Wparentheses in the Makefile").
svn-id: r39761
2009-03-30 12:10:10 +00:00
Max Horn
6f4b567124 SCUMM: Split intern.h into multiple headers
svn-id: r39567
2009-03-20 16:33:58 +00:00