[Scummvm-cvs-logs] CVS: scummvm/queen command.cpp,1.8,1.9 verb.h,1.4,1.5
David Eriksson
twogood at users.sourceforge.net
Thu Nov 6 00:54:02 CET 2003
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/queen command.cpp,1.7,1.8 cutaway.cpp,1.48,1.49 cutaway.h,1.23,1.24 display.h,1.16,1.17 graphics.cpp,1.40,1.41 graphics.h,1.34,1.35 logic.cpp,1.75,1.76 logic.h,1.55,1.56 queen.cpp,1.31,1.32 talk.cpp,1.28,1.29 talk.h,1.16,1.17 verb.h,1.3,1.4
- Next message: [Scummvm-cvs-logs] CVS: scummvm/queen logic.h,1.56,1.57
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/queen
In directory sc8-pr-cvs1:/tmp/cvs-serv27812/queen
Modified Files:
command.cpp verb.h
Log Message:
Clean-up
Index: command.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/queen/command.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- command.cpp 6 Nov 2003 08:44:33 -0000 1.8
+++ command.cpp 6 Nov 2003 08:53:09 -0000 1.9
@@ -857,27 +857,20 @@
bool Command::executeIfDialog(const char *description) {
- if (strlen(description) > 4 &&
- scumm_stricmp(description + strlen(description) - 4, ".dog") == 0) {
- char cutaway[20];
+ if (strlen(description) > 4 &&
+ scumm_stricmp(description + strlen(description) - 4, ".dog") == 0) {
+ char cutaway[20];
- _logic->dialogue(description, _curCmd.noun, cutaway);
+ _logic->dialogue(description, _curCmd.noun, cutaway);
- while (cutaway[0] != '\0') {
- char currentCutaway[20];
- strcpy(currentCutaway, cutaway);
- _logic->playCutaway(currentCutaway, cutaway);
- }
+ while (cutaway[0] != '\0') {
+ char currentCutaway[20];
+ strcpy(currentCutaway, cutaway);
+ _logic->playCutaway(currentCutaway, cutaway);
+ }
- /* XXX
- talk(Kstr);
- strcpy(Kstr,Paramstr);
- while(Kstr[0]) {
- CUTAWAY(Kstr);
- strcpy(Kstr,Paramstr);
- }*/
- return true;
- }
+ return true;
+ }
return false;
}
Index: verb.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/queen/verb.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- verb.h 6 Nov 2003 08:44:33 -0000 1.4
+++ verb.h 6 Nov 2003 08:53:09 -0000 1.5
@@ -111,9 +111,9 @@
_verb <= VERB_DIGIT_LAST;
}
- int digit() const {
- return (int)_verb - VERB_DIGIT_1 + 1;
- }
+ int digit() const {
+ return (int)_verb - VERB_DIGIT_1 + 1;
+ }
bool isSkipText() const {
return _verb == VERB_SKIP_TEXT;
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/queen command.cpp,1.7,1.8 cutaway.cpp,1.48,1.49 cutaway.h,1.23,1.24 display.h,1.16,1.17 graphics.cpp,1.40,1.41 graphics.h,1.34,1.35 logic.cpp,1.75,1.76 logic.h,1.55,1.56 queen.cpp,1.31,1.32 talk.cpp,1.28,1.29 talk.h,1.16,1.17 verb.h,1.3,1.4
- Next message: [Scummvm-cvs-logs] CVS: scummvm/queen logic.h,1.56,1.57
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list