[Scummvm-cvs-logs] SF.net SVN: scummvm:[35693] scummvm/trunk/engines/lure/debugger.cpp
dreammaster at users.sourceforge.net
dreammaster at users.sourceforge.net
Sat Jan 3 11:43:07 CET 2009
Revision: 35693
http://scummvm.svn.sourceforge.net/scummvm/?rev=35693&view=rev
Author: dreammaster
Date: 2009-01-03 10:43:07 +0000 (Sat, 03 Jan 2009)
Log Message:
-----------
Changed the debugger 'schedule' command to be able to list the schedule, even for currently disabled NPCs
Modified Paths:
--------------
scummvm/trunk/engines/lure/debugger.cpp
Modified: scummvm/trunk/engines/lure/debugger.cpp
===================================================================
--- scummvm/trunk/engines/lure/debugger.cpp 2009-01-03 10:03:27 UTC (rev 35692)
+++ scummvm/trunk/engines/lure/debugger.cpp 2009-01-03 10:43:07 UTC (rev 35693)
@@ -351,6 +351,11 @@
DebugPrintf("Deactivated\n");
} else {
+ if (strcmp(argv[2], "schedule") == 0) {
+ // List any current schedule for the character
+ hs->npcSchedule.list(buffer);
+ DebugPrintf("%s", buffer);
+ }
if (!h)
DebugPrintf("The specified hotspot is not currently active\n");
else if (strcmp(argv[2], "paths") == 0) {
@@ -358,11 +363,6 @@
h->pathFinder().list(buffer);
DebugPrintf("%s", buffer);
}
- else if (strcmp(argv[2], "schedule") == 0) {
- // List any current schedule for the character
- h->currentActions().list(buffer);
- DebugPrintf("%s", buffer);
- }
else if (strcmp(argv[2], "pixels") == 0) {
// List the pixel data for the hotspot
HotspotAnimData &pData = h->anim();
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