Changeset 8379 in orxonox.OLD for branches/script_engine/src
- Timestamp:
- Jun 14, 2006, 12:44:31 PM (19 years ago)
- Location:
- branches/script_engine/src
- Files:
-
- 3 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; -
branches/script_engine/src/world_entities/script_trigger.cc
r8304 r8379 14 14 this->toList(OM_COMMON); 15 15 16 d ebugDraw = false;16 doDebugDraw = false; 17 17 scriptCalled = false; 18 18 scriptIsOk = false; … … 57 57 .defaultValues(""); 58 58 LoadParam(root, "debugdraw", this, ScriptTrigger, setDebugDraw) 59 .describe("True if the script shoul only be called once")59 .describe("True if the script should only be called once") 60 60 .defaultValues(""); 61 61 }
Note: See TracChangeset
for help on using the changeset viewer.