From: <wel...@us...> - 2010-03-13 20:47:26
|
Revision: 5681 http://planeshift.svn.sourceforge.net/planeshift/?rev=5681&view=rev Author: weltall2 Date: 2010-03-13 20:47:20 +0000 (Sat, 13 Mar 2010) Log Message: ----------- silenced some printf Modified Paths: -------------- trunk/src/client/gui/pawsnpcdialog.cpp Modified: trunk/src/client/gui/pawsnpcdialog.cpp =================================================================== --- trunk/src/client/gui/pawsnpcdialog.cpp 2010-03-13 20:39:50 UTC (rev 5680) +++ trunk/src/client/gui/pawsnpcdialog.cpp 2010-03-13 20:47:20 UTC (rev 5681) @@ -50,14 +50,14 @@ if (status == LISTBOX_HIGHLIGHTED) { pawsTextBox *fld = dynamic_cast<pawsTextBox *>(widget->GetSelectedRow()->FindWidgetXMLBinding("text")); - printf( "Pressed: %s\n",fld->GetText() ); + Debug2(LOG_QUESTS, 0, "Pressed: %s\n",fld->GetText() ); } else if (status == LISTBOX_SELECTED) { pawsTextBox *fld = dynamic_cast<pawsTextBox *>(widget->GetSelectedRow()->FindWidgetXMLBinding("text")); - printf("Player chose '%s'.\n", fld->GetText() ); + Debug2(LOG_QUESTS, 0,"Player chose '%s'.\n", fld->GetText() ); pawsTextBox *trig = dynamic_cast<pawsTextBox *>(widget->GetSelectedRow()->FindWidgetXMLBinding("trig")); - printf("Player says '%s'.\n", trig->GetText() ); + Debug2(LOG_QUESTS, 0,"Player says '%s'.\n", trig->GetText() ); csString trigger(trig->GetText()); @@ -108,7 +108,7 @@ { psDialogMenuMessage mesg(me); - printf( "Got psDialogMenuMessage: %s\n", mesg.xml.GetDataSafe() ); + Debug2(LOG_QUESTS, 0,"Got psDialogMenuMessage: %s\n", mesg.xml.GetDataSafe() ); responseList->Clear(); SelfPopulateXML(mesg.xml); @@ -157,7 +157,7 @@ return; } - printf("Got name=%s, value=%s\n", name, value); + Debug3(LOG_QUESTS, 0,"Got name=%s, value=%s\n", name, value); csString cmd; cmd.Format("/tellnpc %s", value ); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |