Changeset 9032 in orxonox.OLD for branches/single_player_map/src/world_entities
- Timestamp:
- Jul 3, 2006, 1:41:42 PM (18 years ago)
- Location:
- branches/single_player_map/src/world_entities/npcs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/single_player_map/src/world_entities/npcs/generic_npc.cc
r9031 r9032 42 42 // Animation and sound 43 43 ->addMethod("playAnimation", ExecutorLua2<GenericNPC,int,int>(&GenericNPC::playAnimation)) 44 //->addMethod("playSound", ExecutorLua1<GenericNPC,const std::string&>(&GenericNPC::playSound))44 ->addMethod("playSound", ExecutorLua1<GenericNPC,const std::string&>(&GenericNPC::playSound)) 45 45 // Display 46 46 ->addMethod("hide", ExecutorLua0<WorldEntity>(&WorldEntity::hide)) … … 172 172 * @param filename: name of the file 173 173 */ 174 void GenericNPC::playSound( std::stringfilename)174 void GenericNPC::playSound(const std::string& filename) 175 175 {} 176 176 -
branches/single_player_map/src/world_entities/npcs/generic_npc.h
r9003 r9032 68 68 /* some generic control funtions */ 69 69 void playAnimation(int animationIndex, int animPlaybackMode); 70 void playSound( std::stringfilename);70 void playSound(const std::string& filename); 71 71 void playSound(int i); 72 72
Note: See TracChangeset
for help on using the changeset viewer.