[Scummvm-cvs-logs] SF.net SVN: scummvm: [26830] scummvm/trunk/engines/parallaction
peres001 at users.sourceforge.net
peres001 at users.sourceforge.net
Sun May 13 14:39:33 CEST 2007
Revision: 26830
http://scummvm.svn.sourceforge.net/scummvm/?rev=26830&view=rev
Author: peres001
Date: 2007-05-13 05:39:32 -0700 (Sun, 13 May 2007)
Log Message:
-----------
Fixed timings when showing credits.
Modified Paths:
--------------
scummvm/trunk/engines/parallaction/callables.cpp
scummvm/trunk/engines/parallaction/intro.cpp
scummvm/trunk/engines/parallaction/staticres.cpp
Modified: scummvm/trunk/engines/parallaction/callables.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/callables.cpp 2007-05-13 12:38:29 UTC (rev 26829)
+++ scummvm/trunk/engines/parallaction/callables.cpp 2007-05-13 12:39:32 UTC (rev 26830)
@@ -76,10 +76,10 @@
for (uint16 _di = 0; _di < 64; _di++) {
_vm->_gfx->fadePalette(pal);
_vm->_gfx->setPalette(pal);
+
+ _vm->waitTime( 1 );
}
- _vm->waitTime( 1 );
-
return;
}
Modified: scummvm/trunk/engines/parallaction/intro.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/intro.cpp 2007-05-13 12:38:29 UTC (rev 26829)
+++ scummvm/trunk/engines/parallaction/intro.cpp 2007-05-13 12:39:32 UTC (rev 26830)
@@ -142,26 +142,34 @@
_vm->_gfx->setFont(kFontMenu);
- for (uint16 _si = 0; _si < 7; _si++) {
+ debugC(1, kDebugLocation, "endIntro()");
+
+ for (uint16 _si = 0; _si < 6; _si++) {
_vm->_gfx->displayCenteredString(80, _credits[_si]._role);
_vm->_gfx->displayCenteredString(100, _credits[_si]._name);
_vm->_gfx->updateScreen();
for (uint16 v2 = 0; v2 < 100; v2++) {
+ _mouseButtons = kMouseNone;
_vm->updateInput();
- if (_mouseButtons != kMouseLeftUp)
- _vm->waitTime( 1 );
+ if (_mouseButtons == kMouseLeftUp)
+ break;
+
+ _vm->waitTime( 1 );
}
_vm->_gfx->copyScreen(Gfx::kBitBack, Gfx::kBitFront);
}
+ debugC(1, kDebugLocation, "endIntro(): done showing credits");
+
+ _vm->_gfx->displayCenteredString(80, "CLICK MOUSE BUTTON TO START");
+ _vm->_gfx->updateScreen();
+
waitUntilLeftClick();
- if (_vm->getFeatures() & GF_DEMO) {
- _engineFlags |= kEngineQuit;
- } else {
+ if ((_vm->getFeatures() & GF_DEMO) == 0) {
_engineFlags &= ~kEngineMouse;
_vm->_menu->selectCharacter();
}
Modified: scummvm/trunk/engines/parallaction/staticres.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/staticres.cpp 2007-05-13 12:38:29 UTC (rev 26829)
+++ scummvm/trunk/engines/parallaction/staticres.cpp 2007-05-13 12:39:32 UTC (rev 26830)
@@ -369,8 +369,7 @@
{"Project Manager", "LOVRANO CANEPA"},
{"Production", "BRUNO BOZ"},
{"Special Thanks to", "LUIGI BENEDICENTI - GILDA and DANILO"},
- {"Copyright 1992 Euclidea s.r.l ITALY", "All rights reserved"},
- {"CLICK MOUSE BUTTON TO START", 0}
+ {"Copyright 1992 Euclidea s.r.l ITALY", "All rights reserved"}
};
const char *_dinoName = "dino";
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list