Changeset 8259 in orxonox.OLD for branches/script_engine/src
- Timestamp:
- Jun 8, 2006, 3:52:57 PM (18 years ago)
- Location:
- branches/script_engine/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/script_engine/src/lib/Makefile.am
r8061 r8259 16 16 util/executor/executor.cc \ 17 17 util/executor/executor_functional.cc \ 18 util/executor/executor_lua.cc \ 18 19 \ 19 20 util/loading/resource_manager.cc \ … … 45 46 util/executor/executor_functional.h \ 46 47 util/executor/executor_xml.h \ 48 util/executor/executor_lua.h \ 47 49 util/executor/functor_list.h \ 50 \ 48 51 util/preferences.h \ 49 52 util/threading.h \ -
branches/script_engine/src/story_entities/game_world.cc
r8240 r8259 139 139 } 140 140 141 141 #include "account.cc" 142 #include "object.cc" 142 143 /** 143 144 * loads the GameWorld by initializing all resources, and set their default values. … … 181 182 this->dataXML = (TiXmlElement*)root->Clone(); 182 183 184 185 Object* obj= new Object(); 186 obj->setName("Obj"); 187 Account a; 188 a.setName("a"); 189 Account *b = new Account(30); 190 b->setName("b"); 191 183 192 LoadParamXML(root, "ScriptManager", &this->scriptManager, ScriptManager, loadParams); 184 193 -
branches/script_engine/src/world_entities/script_trigger.cc
r8246 r8259 49 49 LoadParam(root, "triggerparent", this, ScriptTrigger, setTriggerParent) 50 50 .describe("The name of the parent as it is in the *.oxw file") 51 .defaultValues(""); 52 LoadParam(root, "callonce", this, ScriptTrigger, setCallOnce) 53 .describe("True if the script shoul only be called once") 51 54 .defaultValues(""); 52 55 } … … 107 110 if(scriptIsOk) 108 111 { 112 testScriptingFramework(); 109 113 if(!(script->selectFunction(this->functionName,0)) ) 110 114 printf("Error ScriptTrigger: Selection of %s in %s failed.\n",functionName.c_str(), script->getFileName().c_str());
Note: See TracChangeset
for help on using the changeset viewer.