Fixes for scripting documentation
This commit is contained in:
parent
90cf3176d1
commit
9119f5f291
@ -32,13 +32,17 @@ namespace Scripting
|
||||
/** \addtogroup Scripting
|
||||
* @{
|
||||
*/
|
||||
/** \addtogroup Audio
|
||||
/** \addtogroup Scripting_Audio Audio
|
||||
* @{
|
||||
*/
|
||||
|
||||
/** Plays a sound by name */
|
||||
|
||||
void playSound(const std::string* sound_name)
|
||||
{
|
||||
SFXManager::get()->quickSound(*sound_name);
|
||||
}
|
||||
|
||||
/** @}*/
|
||||
/** @}*/
|
||||
|
||||
|
@ -44,12 +44,14 @@ namespace Scripting
|
||||
* @{
|
||||
*/
|
||||
|
||||
/** Get number of challenges that were completed at any difficulty */
|
||||
int getCompletedChallengesCount()
|
||||
{
|
||||
::Track* track = World::getWorld()->getTrack();
|
||||
return track->getNumOfCompletedChallenges();
|
||||
}
|
||||
|
||||
/** Get total number of challenges */
|
||||
int getChallengeCount()
|
||||
{
|
||||
::Track* track = World::getWorld()->getTrack();
|
||||
@ -69,8 +71,9 @@ namespace Scripting
|
||||
r = engine->RegisterGlobalFunction("int getChallengeCount()", asFUNCTION(getChallengeCount), asCALL_CDECL); assert(r >= 0);
|
||||
}
|
||||
|
||||
/** \cond DOXYGEN_IGNORE */
|
||||
}
|
||||
|
||||
/** \cond DOXYGEN_IGNORE */
|
||||
}
|
||||
/** \endcond */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user