@@ -63,45 +63,40 @@ void export_engine_tool(scope _tools)
6363 class_<IEngineTool, boost::noncopyable>(" _EngineTool" , no_init)
6464 .def (" get_sound_duration_by_path" ,
6565 GET_METHOD (float , IEngineTool, GetSoundDuration, const char *),
66- " Returns the duration of the given sound sample." ,
67- args (" sampleName " )
66+ " Return the duration of the given sound sample." ,
67+ args (" sound_path " )
6868 )
6969
7070 .def (" get_sound_duration_by_guid" ,
7171 GET_METHOD (float , IEngineTool, GetSoundDuration, int ),
72- " Returns the duration of the sound tied to the given GUID." ,
72+ " Return the duration of the sound tied to the given GUID." ,
7373 args (" guid" )
7474 )
7575
7676 .def (" is_sound_still_playing" ,
7777 &IEngineTool::IsSoundStillPlaying,
78- " Returns true if the given sound is still playing" ,
78+ " Return true if the given sound is still playing" ,
7979 args (" sound_guid" )
8080 )
8181
8282 .def (" stop_sound_by_guid" ,
8383 &IEngineTool::StopSoundByGuid,
84- " Stops a sound by GUID." ,
84+ " Stop a sound by GUID." ,
8585 args (" guid" )
8686 )
8787
8888 .def (" is_looping_sound" ,
8989 &IEngineTool::IsLoopingSound,
90- " Returns true if the sound is looping." ,
90+ " Return true if the sound is looping." ,
9191 args (" guid" )
9292 )
9393
9494 .def (" reload_sound" ,
9595 &IEngineTool::ReloadSound,
96- " Reloads the given sound from the disk." ,
96+ " Reload the given sound from the disk." ,
9797 args (" sound_path" )
9898 )
9999
100- .def (" stop_all_sounds" ,
101- &IEngineTool::StopAllSounds,
102- " Stops all sounds that are currently playing."
103- )
104-
105100 ADD_MEM_TOOLS (IEngineTool)
106101 ;
107102
0 commit comments