Changeset 8783 in orxonox.OLD for trunk/src/lib
- Timestamp:
- Jun 26, 2006, 2:00:31 PM (19 years ago)
- Location:
- trunk/src/lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/lang/class_list.cc
r8316 r8783 235 235 BaseObject* ClassList::getObject(const std::string& objectName, const std::string& className) 236 236 { 237 237 238 ClassList* cl = ClassList::getClassList(className); 238 239 if (cl != NULL) -
trunk/src/lib/script_engine/script.cc
r8711 r8783 114 114 void Script::addObject(const std::string& className, const std::string& objectName) 115 115 { 116 //printf("Script %p: I am about to add %s of class %s\n",this,objectName.c_str(),className.c_str());116 // printf("Script %p: I am about to add %s of class %s\n",this,objectName.c_str(),className.c_str()); 117 117 118 118 BaseObject* scriptClass = ClassList::getObject(className, CL_SCRIPT_CLASS); 119 //printf("The script class for %s is at %p \n",className.c_str(),scriptClass);119 // printf("The script class for %s is at %p \n",className.c_str(),scriptClass); 120 120 WorldObject tmpObj; 121 121 if (scriptClass != NULL) … … 128 128 129 129 BaseObject* object = ClassList::getObject(objectName, className); 130 //printf("%s is at %p \n",objectName.c_str(),object);130 // printf("%s is at %p \n",objectName.c_str(),object); 131 131 if (object != NULL && !objectIsAdded(objectName)) 132 132 {
Note: See TracChangeset
for help on using the changeset viewer.