Changeset 9020 in orxonox.OLD
- Timestamp:
- Jul 2, 2006, 4:42:20 PM (18 years ago)
- Location:
- branches/single_player_map/src
- Files:
-
- 3 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) -
branches/single_player_map/src/world_entities/npcs/generic_npc.cc
r9003 r9020 49 49 ->addMethod("setAbsCoor", ExecutorLua3<PNode,float,float,float>(&PNode::setAbsCoor)) 50 50 ->addMethod("setAbsDir", ExecutorLua4<PNode,float,float,float,float>(&PNode::setAbsDir)) 51 52 51 ); 53 52 -
branches/single_player_map/src/world_entities/script_trigger.cc
r9018 r9020 38 38 ->addMethod("setDebugDraw", ExecutorLua1<ScriptTrigger, bool>(&ScriptTrigger::setDebugDraw)) 39 39 ->addMethod("setAddToScript", ExecutorLua1<ScriptTrigger, bool>(&ScriptTrigger::setAddToScript)) 40 40 ); 41 41 42 42
Note: See TracChangeset
for help on using the changeset viewer.