Changeset 9020 in orxonox.OLD for branches/single_player_map/src/lib
- Timestamp:
- Jul 2, 2006, 4:42:20 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/single_player_map/src/lib/script_engine/script.cc
r9017 r9020 24 24 25 25 #include "class_list.h" 26 // uncommet this when the std:string and the const bug is fixed27 26 CREATE_SCRIPTABLE_CLASS(Script, CL_SCRIPT, 28 addMethod("addObject", ExecutorLua2<Script,const std::string&, const std::string& >(&Script::addObject)) 29 ); 27 addMethod("addObject", ExecutorLua2<Script,const std::string&, const std::string& >(&Script::addObject)) 28 //->addMethod("selectFunction", ExecutorLua2ret<Script, bool, const std::string&, int >(&Script::selectFunction)) 29 ->addMethod("executeFunction", ExecutorLua0ret<Script,bool >(&Script::executeFunction)) 30 ); 30 31 31 32 Script::Script(const TiXmlElement* root)
Note: See TracChangeset
for help on using the changeset viewer.