Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8783 in orxonox.OLD for trunk/src/lib


Ignore:
Timestamp:
Jun 26, 2006, 2:00:31 PM (19 years ago)
Author:
patrick
Message:

merged the script engine branche back to trunk

Location:
trunk/src/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/lang/class_list.cc

    r8316 r8783  
    235235BaseObject* ClassList::getObject(const std::string& objectName, const std::string& className)
    236236{
     237
    237238  ClassList* cl = ClassList::getClassList(className);
    238239  if (cl != NULL)
  • trunk/src/lib/script_engine/script.cc

    r8711 r8783  
    114114 void Script::addObject(const std::string& className, const std::string& objectName)
    115115 {
    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());
    117117
    118118   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);
    120120   WorldObject tmpObj;
    121121   if (scriptClass != NULL)
     
    128128
    129129     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);
    131131     if (object != NULL && !objectIsAdded(objectName))
    132132     {
Note: See TracChangeset for help on using the changeset viewer.