Changeset 8379 in orxonox.OLD for branches/script_engine/src/lib
- Timestamp:
- Jun 14, 2006, 12:44:31 PM (19 years ago)
- Location:
- branches/script_engine/src/lib/script_engine
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/script_engine/src/lib/script_engine/object.cc
r8271 r8379 14 14 15 15 Object(lua_State* L) {callCount = 0; } 16 Object(){callCount = 0; };16 Object(){callCount = 0;this->setClassID(CL_ACCOUNT, "Object");}; 17 17 ~Object() { printf("deleted Object (%p)\n", this); } 18 18 -
branches/script_engine/src/lib/script_engine/script.cc
r8290 r8379 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 100 WorldObject tmpObj; 100 101 if (scriptClass != NULL) … … 109 110 if (object != NULL && !objectIsAdded(objectName)) 110 111 { 112 printf("%s is at %p \n",objectName.c_str(),object); 111 113 static_cast<ScriptClass*>(scriptClass)->insertObject(this, object, false); 112 114 tmpObj.name = objectName;
Note: See TracChangeset
for help on using the changeset viewer.