aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2012-11-21 02:03:39 -0800
committerPaul Gilbert2012-11-21 02:03:39 -0800
commite738722905f2c47707506db38140d0a50104ce50 (patch)
tree6b378a5317c133b01f0a2b5b579a71b2c7589cfc /engines
parent8e376ccc81afc994c6441399aa5c50886a91f241 (diff)
parent7bd46c4ee065832025a360b846f1ffc3ffb89848 (diff)
downloadscummvm-rg350-e738722905f2c47707506db38140d0a50104ce50.tar.gz
scummvm-rg350-e738722905f2c47707506db38140d0a50104ce50.tar.bz2
scummvm-rg350-e738722905f2c47707506db38140d0a50104ce50.zip
Merge pull request #4 from alexbevi/hopkins
HOPKINS: Merge compilation fixes under Linux and added detection entry
Diffstat (limited to 'engines')
-rw-r--r--engines/hopkins/computer.cpp14
-rw-r--r--engines/hopkins/detection_tables.h17
2 files changed, 24 insertions, 7 deletions
diff --git a/engines/hopkins/computer.cpp b/engines/hopkins/computer.cpp
index 04e3e2dfb2..e7c43c0e37 100644
--- a/engines/hopkins/computer.cpp
+++ b/engines/hopkins/computer.cpp
@@ -950,9 +950,9 @@ void ComputerManager::NAME_SCORE() {
}
void ComputerManager::IMPRIMESCORE() {
- __int16 v0;
- __int16 v1;
- __int16 i;
+ int16 v0;
+ int16 v1;
+ int16 i;
char s[40];
sprintf(s, "%d", CASSESCORE);
@@ -969,8 +969,8 @@ void ComputerManager::IMPRIMESCORE() {
}
void ComputerManager::IMPSCORE(int a1, int a2) {
- signed __int16 v2;
- __int16 v3;
+ int16 v2;
+ int16 v3;
v2 = 203;
v3 = 3;
@@ -1096,9 +1096,9 @@ void ComputerManager::PRINT_HSCORE(byte *objectData, int a2, int a3, int a4) {
int ComputerManager::DEP_BALLE() {
int v0;
- __int16 v1;
+ int16 v1;
int v2;
- signed __int16 v4;
+ int16 v4;
v4 = 0;
//(signed int)(6.0 * (long double)_vm->getRandomNumber( rand() / 2147483648.0) + 1;
diff --git a/engines/hopkins/detection_tables.h b/engines/hopkins/detection_tables.h
index 54c0fc9cbb..50152cfb4c 100644
--- a/engines/hopkins/detection_tables.h
+++ b/engines/hopkins/detection_tables.h
@@ -106,6 +106,23 @@ static const HopkinsGameDescription gameDescriptions[] = {
},
},
{
+ // Hopkins FBI Win95, provided by alexbevi
+ // Dec 15 1998 hopkins.exe
+ {
+ "hopkins",
+ 0,
+ {
+ {"Hopkins.exe", 0, "a587762dd50d5933e1c89f9975180764", 378694},
+ {"RES_VAN.RES", 0, "f1693ac0b0859c8ecd8cb30ff43cf55f", 38296346},
+ AD_LISTEND
+ },
+ Common::EN_ANY,
+ Common::kPlatformWindows,
+ ADGF_NO_FLAGS,
+ GUIO1(GUIO_NONE)
+ },
+ },
+ {
// Hopkins FBI Linux, provided by Strangerke
{
"hopkins",