[Scummvm-git-logs] scummvm master -> 20d2092045ea38472aaf863d3962c05ff1e96a52
rvanlaar
noreply at scummvm.org
Thu Mar 10 15:15:23 UTC 2022
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
20d2092045 DIRECTOR: Implement framerate 0x10
Commit: 20d2092045ea38472aaf863d3962c05ff1e96a52
https://github.com/scummvm/scummvm/commit/20d2092045ea38472aaf863d3962c05ff1e96a52
Author: Roland van Laar (roland at rolandvanlaar.nl)
Date: 2022-03-10T15:51:38+01:00
Commit Message:
DIRECTOR: Implement framerate 0x10
In Director 2 and 3 framerates are preset and referenced as: 0x0 to 0xF.
Some movies set a framerate of 0x10.
D2 and D3 interpret this as a framerate of 15.
Which was measured to be exactly the same as setting a framerate of 15.
In D4 it's shown as a framerate of 120.
Movies with a framerate of 0x10:
D2: DATA/WARLOCKSHIP/REUNION (spaceship warlock)
D4: ping.dir (chop suey)
Changed paths:
engines/director/cast.cpp
diff --git a/engines/director/cast.cpp b/engines/director/cast.cpp
index 2b1ff675166..1c57ba37d42 100644
--- a/engines/director/cast.cpp
+++ b/engines/director/cast.cpp
@@ -234,6 +234,10 @@ bool Cast::loadConfig() {
switch (readRate) {
// rate when set via the tempo channel
// these rates are the actual framerates
+ case 0x10:
+ // defaults to 15 fps on D2 and D3. On D4 it shows as 120 fps
+ currentFrameRate = 15;
+ break;
case 212:
currentFrameRate = 1;
break;
More information about the Scummvm-git-logs
mailing list