[Scummvm-cvs-logs] SF.net SVN: scummvm:[35738] scummvm/trunk/engines/agos
Kirben at users.sourceforge.net
Kirben at users.sourceforge.net
Mon Jan 5 10:49:57 CET 2009
Revision: 35738
http://scummvm.svn.sourceforge.net/scummvm/?rev=35738&view=rev
Author: Kirben
Date: 2009-01-05 09:49:57 +0000 (Mon, 05 Jan 2009)
Log Message:
-----------
Remove unused code, since room flags are always zero in Elvira 1.
Modified Paths:
--------------
scummvm/trunk/engines/agos/agos.h
scummvm/trunk/engines/agos/script_e1.cpp
Modified: scummvm/trunk/engines/agos/agos.h
===================================================================
--- scummvm/trunk/engines/agos/agos.h 2009-01-05 09:47:59 UTC (rev 35737)
+++ scummvm/trunk/engines/agos/agos.h 2009-01-05 09:49:57 UTC (rev 35738)
@@ -1066,7 +1066,6 @@
void o_setDollar();
void o_isBox();
- int16 levelOf(Item *item);
int16 moreText(Item *i);
void lobjFunc(Item *i, const char *f);
uint confirmYesOrNo(uint16 x, uint16 y);
Modified: scummvm/trunk/engines/agos/script_e1.cpp
===================================================================
--- scummvm/trunk/engines/agos/script_e1.cpp 2009-01-05 09:47:59 UTC (rev 35737)
+++ scummvm/trunk/engines/agos/script_e1.cpp 2009-01-05 09:49:57 UTC (rev 35738)
@@ -563,9 +563,6 @@
if (l) {
lobjFunc(l, "You can see "); /* Show objects */
}
- if (r && (r->flags & 4) && levelOf(i) < 10000) {
- quitGame();
- }
}
void AGOSEngine_Elvira1::oe1_doClass() {
@@ -973,14 +970,6 @@
mouseOn();
}
-int16 AGOSEngine::levelOf(Item *item) {
- SubPlayer *p = (SubPlayer *)findChildOfType(item, kPlayerType);
- if (p == NULL)
- return 0;
-
- return p->level;
-}
-
int16 AGOSEngine::moreText(Item *i) {
SubObject *o;
i = derefItem(i->next);
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