[Scummvm-git-logs] scummvm master -> 16ee8aa69f48ad3dd9183b4a525ee600ddaa7294
sev-
sev at scummvm.org
Sat Aug 18 14:17:40 CEST 2018
This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
54419e045a STARTREK: Detect another ST25 CD/DOS English variant
16ee8aa69f STARTREK: Make atan table static
Commit: 54419e045a5dea1ef6a698dd07bce75bcfbe4cbf
https://github.com/scummvm/scummvm/commit/54419e045a5dea1ef6a698dd07bce75bcfbe4cbf
Author: David Fioramonti (dafioram at gmail.com)
Date: 2018-08-18T14:17:36+02:00
Commit Message:
STARTREK: Detect another ST25 CD/DOS English variant
Changed paths:
engines/startrek/detection.cpp
diff --git a/engines/startrek/detection.cpp b/engines/startrek/detection.cpp
index 08f3858..2a47eb1 100644
--- a/engines/startrek/detection.cpp
+++ b/engines/startrek/detection.cpp
@@ -84,6 +84,20 @@ static const StarTrekGameDescription gameDescriptions[] = {
GF_CDROM,
},
+ { // ST25 DOS CD-ROM edition (EN) #2
+ {
+ "st25",
+ "CD",
+ AD_ENTRY1s("data.001", "57040928a0f374281aa86ba4e7db8444", 7793808),
+ Common::EN_ANY,
+ Common::kPlatformDOS,
+ ADGF_NO_FLAGS,
+ GUIO0()
+ },
+ GType_ST25,
+ GF_CDROM,
+ },
+
{ // ST25 DOS CD-ROM edition (FR)
{
"st25",
Commit: 16ee8aa69f48ad3dd9183b4a525ee600ddaa7294
https://github.com/scummvm/scummvm/commit/16ee8aa69f48ad3dd9183b4a525ee600ddaa7294
Author: David Fioramonti (dafioram at gmail.com)
Date: 2018-08-18T14:17:36+02:00
Commit Message:
STARTREK: Make atan table static
Currently, it is reloaded every atan call.
Changed paths:
engines/startrek/math.cpp
diff --git a/engines/startrek/math.cpp b/engines/startrek/math.cpp
index 9f47309..114ec5c 100644
--- a/engines/startrek/math.cpp
+++ b/engines/startrek/math.cpp
@@ -54,7 +54,7 @@ Fixed14 StarTrekEngine::cos(Angle angle) {
}
Angle StarTrekEngine::atan2(int32 deltaX, int32 deltaY) {
- const int16 atanTable[] = {
+ static const int16 atanTable[] = {
0x0000, 0x0064, 0x00c9, 0x012d, 0x0192, 0x01f6, 0x025b, 0x02c0,
0x0324, 0x0389, 0x03ee, 0x0453, 0x04b8, 0x051d, 0x0582, 0x05e8,
0x064d, 0x06b3, 0x0718, 0x077e, 0x07e4, 0x084a, 0x08b1, 0x0917,
More information about the Scummvm-git-logs
mailing list