Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 14, 2006, 3:35:34 PM (18 years ago)
Author:
snellen
Message:

commented unessecary debug output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/script_engine/src/lib/script_engine/script.cc

    r8390 r8391  
    3737void Script::loadParams(const TiXmlElement* root)
    3838{
    39   printf("Loading params for %p \n",this);
     39  //printf("Loading params for %p \n",this);
    4040  BaseObject::loadParams(root);
    4141
     
    7777     else
    7878     {
    79        printf("ERROR while loading file %s: ",filename.c_str());
     79       printf("ERROR while loading file %s: \n",filename.c_str());
    8080       reportError(error);
    8181     }
     
    8484   else
    8585   {
    86      printf("ERROR while loading file %s: ",filename.c_str());
     86     printf("ERROR while loading file %s: \n",filename.c_str());
    8787     reportError(error);
    8888   }
     
    9494 void Script::addObject(const std::string& className, const std::string& objectName)
    9595 {
    96    printf("Script %p: I am about to add %s of class %s\n",this,objectName.c_str(),className.c_str());
     96   //printf("Script %p: I am about to add %s of class %s\n",this,objectName.c_str(),className.c_str());
    9797
    9898   BaseObject* scriptClass = ClassList::getObject(className, CL_SCRIPT_CLASS);
    99    printf("The script class for %s is at %p \n",className.c_str(),scriptClass);
     99   //printf("The script class for %s is at %p \n",className.c_str(),scriptClass);
    100100   WorldObject tmpObj;
    101101   if (scriptClass != NULL)
     
    108108
    109109     BaseObject* object = ClassList::getObject(objectName, className);
    110      printf("%s is at %p \n",objectName.c_str(),object);
     110     //printf("%s is at %p \n",objectName.c_str(),object);
    111111     if (object != NULL && !objectIsAdded(objectName))
    112112     {
Note: See TracChangeset for help on using the changeset viewer.