[Scummvm-cvs-logs] SF.net SVN: scummvm: [32620] scummvm/trunk/engines/drascula
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Sun Jun 8 18:42:12 CEST 2008
Revision: 32620
http://scummvm.svn.sourceforge.net/scummvm/?rev=32620&view=rev
Author: thebluegr
Date: 2008-06-08 09:42:12 -0700 (Sun, 08 Jun 2008)
Log Message:
-----------
quitGame() -> endChapter()
Modified Paths:
--------------
scummvm/trunk/engines/drascula/drascula.cpp
scummvm/trunk/engines/drascula/drascula.h
Modified: scummvm/trunk/engines/drascula/drascula.cpp
===================================================================
--- scummvm/trunk/engines/drascula/drascula.cpp 2008-06-08 15:56:48 UTC (rev 32619)
+++ scummvm/trunk/engines/drascula/drascula.cpp 2008-06-08 16:42:12 UTC (rev 32620)
@@ -201,10 +201,10 @@
assignDefaultPalette();
if (!runCurrentChapter()) {
- quitGame();
+ endChapter();
break;
}
- quitGame();
+ endChapter();
if (currentChapter == 6)
break;
@@ -214,7 +214,7 @@
return 0;
}
-void DrasculaEngine::quitGame() {
+void DrasculaEngine::endChapter() {
stopSound();
clearRoom();
black();
@@ -632,7 +632,7 @@
break;
case Common::EVENT_QUIT:
// TODO
- quitGame();
+ endChapter();
_system->quit();
break;
default:
Modified: scummvm/trunk/engines/drascula/drascula.h
===================================================================
--- scummvm/trunk/engines/drascula/drascula.h 2008-06-08 15:56:48 UTC (rev 32619)
+++ scummvm/trunk/engines/drascula/drascula.h 2008-06-08 16:42:12 UTC (rev 32620)
@@ -235,7 +235,7 @@
void allocMemory();
void freeMemory();
- void quitGame();
+ void endChapter();
void loadPic(int roomNum, byte *targetSurface, int colorCount = 1) {
char rm[20];
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