aboutsummaryrefslogtreecommitdiff
path: root/queen/cutaway.cpp
diff options
context:
space:
mode:
authorDavid Eriksson2004-01-05 11:58:20 +0000
committerDavid Eriksson2004-01-05 11:58:20 +0000
commitc21e5d797cbcd19a949eed9a94ebee283af90a24 (patch)
tree54ab54fc138cd668b57f206f75e1ce9c810ee205 /queen/cutaway.cpp
parent8dabcaaef10227cc87c62a84598df87e814357dc (diff)
downloadscummvm-rg350-c21e5d797cbcd19a949eed9a94ebee283af90a24.tar.gz
scummvm-rg350-c21e5d797cbcd19a949eed9a94ebee283af90a24.tar.bz2
scummvm-rg350-c21e5d797cbcd19a949eed9a94ebee283af90a24.zip
At last - credits!
svn-id: r12155
Diffstat (limited to 'queen/cutaway.cpp')
-rw-r--r--queen/cutaway.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/queen/cutaway.cpp b/queen/cutaway.cpp
index e294a71ab4..b9e56facb1 100644
--- a/queen/cutaway.cpp
+++ b/queen/cutaway.cpp
@@ -22,6 +22,7 @@
#include "stdafx.h"
#include "queen/cutaway.h"
+#include "queen/credits.h"
#include "queen/display.h"
#include "queen/graphics.h"
#include "queen/input.h"
@@ -820,8 +821,8 @@ void Cutaway::handlePersonRecord(
if (0 != strcmp(sentence, "*")) {
if (sentence[0] == '#') {
- warning("Credit scripting system not yet implemented");
- // XXX Cinit(sentence + 1);
+ debug(0, "Starting credits");
+ _vm->logic()->startCredits(sentence + 1);
}
else {
if (object.objectNumber > 0) {
@@ -1095,7 +1096,7 @@ void Cutaway::stop() {
int i;
// Stop the credits from running
- // XXX CFlag = 0;
+ _vm->logic()->stopCredits();
_vm->graphics()->bobStopAll();