aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2012-10-28 10:46:57 +1100
committerPaul Gilbert2012-10-28 10:46:57 +1100
commit6d3cee44f3c548f99721d2522c29764893055547 (patch)
tree62ec2287c2d5d41f8c075484e5292e65d056126f
parentd7277c3a307a24fb557cfe412d60a0a5cd723785 (diff)
parent2888a3863c5a67b251bedef1f5984dabd2e7e044 (diff)
downloadscummvm-rg350-6d3cee44f3c548f99721d2522c29764893055547.tar.gz
scummvm-rg350-6d3cee44f3c548f99721d2522c29764893055547.tar.bz2
scummvm-rg350-6d3cee44f3c548f99721d2522c29764893055547.zip
Merge branch 'hopkins' of github.com:dreammaster/scummvm into hopkins
-rw-r--r--engines/hopkins/detection.cpp4
-rw-r--r--engines/hopkins/detection_tables.h15
-rw-r--r--engines/hopkins/dialogs.cpp2
-rw-r--r--engines/hopkins/hopkins.cpp11
-rw-r--r--engines/hopkins/hopkins.h1
-rw-r--r--engines/hopkins/menu.cpp2
6 files changed, 29 insertions, 6 deletions
diff --git a/engines/hopkins/detection.cpp b/engines/hopkins/detection.cpp
index ffbf243122..0be4337862 100644
--- a/engines/hopkins/detection.cpp
+++ b/engines/hopkins/detection.cpp
@@ -47,6 +47,10 @@ Common::Language HopkinsEngine::getLanguage() const {
return _gameDescription->desc.language;
}
+Common::Platform HopkinsEngine::getPlatform() const {
+ return _gameDescription->desc.platform;
+}
+
bool HopkinsEngine::getIsDemo() const {
return _gameDescription->desc.flags & ADGF_DEMO;
}
diff --git a/engines/hopkins/detection_tables.h b/engines/hopkins/detection_tables.h
index 0781a530e8..9e1d329f39 100644
--- a/engines/hopkins/detection_tables.h
+++ b/engines/hopkins/detection_tables.h
@@ -71,6 +71,21 @@ static const HopkinsGameDescription gameDescriptions[] = {
},
},
{
+ // Hopkins FBI Win95 Demo, provided by Strangerke
+ {
+ "hopkins",
+ 0,
+ {
+ {"Hopkins.exe", 0, "0c9ebfe371f4dcf84a49f333f04839a0", 376897},
+ AD_LISTEND
+ },
+ Common::EN_ANY,
+ Common::kPlatformWindows,
+ ADGF_DEMO,
+ GUIO1(GUIO_NONE)
+ },
+ },
+ {
// Hopkins FBI Win95, provided by Strangerke
{
"hopkins",
diff --git a/engines/hopkins/dialogs.cpp b/engines/hopkins/dialogs.cpp
index 503c35832d..feeb8843d8 100644
--- a/engines/hopkins/dialogs.cpp
+++ b/engines/hopkins/dialogs.cpp
@@ -16,7 +16,7 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the _globals.FRee Software
- * Foundation, Inc., 51 _globals.FRanklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
*/
diff --git a/engines/hopkins/hopkins.cpp b/engines/hopkins/hopkins.cpp
index dbdb067950..6143219283 100644
--- a/engines/hopkins/hopkins.cpp
+++ b/engines/hopkins/hopkins.cpp
@@ -16,7 +16,7 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the _globals.FRee Software
- * Foundation, Inc., 51 _globals.FRanklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
*/
@@ -514,8 +514,11 @@ void HopkinsEngine::INIT_SYSTEM() {
// Set graphics mode
_graphicsManager.SET_MODE(640, 480);
- _eventsManager.mouse_linux = true;
-
+ if (getPlatform() == Common::kPlatformLinux)
+ _eventsManager.mouse_linux = true;
+ else
+ _eventsManager.mouse_linux = false;
+
switch (_globals.FR) {
case 0:
if (!_eventsManager.mouse_linux)
@@ -524,7 +527,7 @@ void HopkinsEngine::INIT_SYSTEM() {
_fileManager.CONSTRUIT_SYSTEM("LSOUAN.SPR");
break;
case 1:
- _fileManager.CONSTRUIT_SYSTEM("LSOU_globals.FR.SPR");
+ _fileManager.CONSTRUIT_SYSTEM("LSOUFR.SPR");
break;
case 2:
_fileManager.CONSTRUIT_SYSTEM("SOUES.SPR");
diff --git a/engines/hopkins/hopkins.h b/engines/hopkins/hopkins.h
index 8b601dc356..82bc3317b0 100644
--- a/engines/hopkins/hopkins.h
+++ b/engines/hopkins/hopkins.h
@@ -119,6 +119,7 @@ public:
uint32 getFeatures() const;
Common::Language getLanguage() const;
+ Common::Platform HopkinsEngine::getPlatform() const;
uint16 getVersion() const;
bool getIsDemo() const;
bool shouldQuit() const;
diff --git a/engines/hopkins/menu.cpp b/engines/hopkins/menu.cpp
index cfa9ed2c0f..8722b9e5d8 100644
--- a/engines/hopkins/menu.cpp
+++ b/engines/hopkins/menu.cpp
@@ -16,7 +16,7 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the _globals.FRee Software
- * Foundation, Inc., 51 _globals.FRanklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
*/