Changeset 8391 in orxonox.OLD for branches/script_engine/src/lib/script_engine/script.cc
- Timestamp:
- Jun 14, 2006, 3:35:34 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/script_engine/src/lib/script_engine/script.cc
r8390 r8391 37 37 void Script::loadParams(const TiXmlElement* root) 38 38 { 39 printf("Loading params for %p \n",this);39 //printf("Loading params for %p \n",this); 40 40 BaseObject::loadParams(root); 41 41 … … 77 77 else 78 78 { 79 printf("ERROR while loading file %s: ",filename.c_str());79 printf("ERROR while loading file %s: \n",filename.c_str()); 80 80 reportError(error); 81 81 } … … 84 84 else 85 85 { 86 printf("ERROR while loading file %s: ",filename.c_str());86 printf("ERROR while loading file %s: \n",filename.c_str()); 87 87 reportError(error); 88 88 } … … 94 94 void Script::addObject(const std::string& className, const std::string& objectName) 95 95 { 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()); 97 97 98 98 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); 100 100 WorldObject tmpObj; 101 101 if (scriptClass != NULL) … … 108 108 109 109 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); 111 111 if (object != NULL && !objectIsAdded(objectName)) 112 112 {
Note: See TracChangeset
for help on using the changeset viewer.