aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2012-11-09 01:18:14 +0100
committerStrangerke2012-11-09 01:18:14 +0100
commit704fea1bcf0c4d7595a076802a654caa9c1f9f0b (patch)
treee3cdedd77bcff6bd6692d3208407a44f1eb8489d
parentd27056e5eaf7db33ac06b7043212cf2016e8c72c (diff)
downloadscummvm-rg350-704fea1bcf0c4d7595a076802a654caa9c1f9f0b.tar.gz
scummvm-rg350-704fea1bcf0c4d7595a076802a654caa9c1f9f0b.tar.bz2
scummvm-rg350-704fea1bcf0c4d7595a076802a654caa9c1f9f0b.zip
HOPKINS: The Linux game (full) now starts
-rw-r--r--engines/hopkins/hopkins.cpp30
1 files changed, 21 insertions, 9 deletions
diff --git a/engines/hopkins/hopkins.cpp b/engines/hopkins/hopkins.cpp
index ca3c683732..456dee0639 100644
--- a/engines/hopkins/hopkins.cpp
+++ b/engines/hopkins/hopkins.cpp
@@ -104,6 +104,9 @@ Common::Error HopkinsEngine::run() {
_soundManager.WSOUND_INIT();
+ if (!getIsDemo())
+ _soundManager.WSOUND(16);
+
_globals.CHARGE_OBJET();
_objectsManager.CHANGE_OBJET(14);
_objectsManager.AJOUTE_OBJET(14);
@@ -118,19 +121,28 @@ Common::Error HopkinsEngine::run() {
_graphicsManager.LOAD_IMAGE("LINUX");
_graphicsManager.FADE_INW();
- _eventsManager.delay(1500);
- _graphicsManager.FADE_OUTW();
-
- if (!_globals.internet) {
+ if (getIsDemo())
+ _eventsManager.delay(1500);
+ else {
+ _eventsManager.delay(500);
+ _globals.vitesse = 2;
+ _globals.iRegul = 1;
_graphicsManager.FADE_LINUX = 2;
- _animationManager.PLAY_ANM("MP.ANM", 10, 16, 200);
}
-
- _graphicsManager.LOAD_IMAGE("H2");
- _graphicsManager.FADE_INW();
- _eventsManager.delay(500);
_graphicsManager.FADE_OUTW();
+ if (getIsDemo()) {
+ if (!_globals.internet) {
+ _graphicsManager.FADE_LINUX = 2;
+ _animationManager.PLAY_ANM("MP.ANM", 10, 16, 200);
+ }
+
+ _graphicsManager.LOAD_IMAGE("H2");
+ _graphicsManager.FADE_INW();
+ _eventsManager.delay(500);
+ _graphicsManager.FADE_OUTW();
+ }
+
if (!_eventsManager.ESC_KEY)
INTRORUN();