Changeset 9016 in orxonox.OLD for branches/single_player_map/src
- Timestamp:
- Jul 2, 2006, 3:20:23 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/single_player_map/src/lib/script_engine/script.cc
r9003 r9016 25 25 #include "class_list.h" 26 26 // uncommet this when the std:string and the const bug is fixed 27 //CREATE_SCRIPTABLE_CLASS(Script, CL_SCRIPT,28 // addMethod("addObject", ExecutorLua2<Script,std::string,std::string>(&Script::addObject))29 // ): 27 CREATE_SCRIPTABLE_CLASS(Script, CL_SCRIPT, 28 addMethod("addObject", ExecutorLua2<Script,const std::string&, const std::string& >(&Script::addObject)) 29 ); 30 30 31 31 Script::Script(const TiXmlElement* root) … … 98 98 currentFile = filename; 99 99 //this->addThisScript(); 100 //this->registerStandartClasses(); 100 101 return true; 101 102 } … … 356 357 357 358 //success = this->registerClass(std::string("Vector")); 359 success = this->registerClass("ScriptTrigger"); 360 success = this->registerClass("Script"); 358 361 359 362 return success;
Note: See TracChangeset
for help on using the changeset viewer.