(svn r12787) -Documentation: add/fix documentation of some functions. Patch by Alberth.

This commit is contained in:
rubidium
2008-04-19 13:05:05 +00:00
parent 118a680fd3
commit c84fe27ca9
7 changed files with 71 additions and 31 deletions

View File

@@ -207,6 +207,14 @@ void SndCopyToPool()
}
}
/**
* Decide 'where' (between left and right speaker) to play the sound effect.
* @param sound Sound effect to play
* @param left Left edge of virtual coordinates where the sound is produced
* @param right Right edge of virtual coordinates where the sound is produced
* @param top Top edge of virtual coordinates where the sound is produced
* @param bottom Bottom edge of virtual coordinates where the sound is produced
*/
static void SndPlayScreenCoordFx(SoundFx sound, int left, int right, int top, int bottom)
{
Window* const *wz;
@@ -231,7 +239,6 @@ static void SndPlayScreenCoordFx(SoundFx sound, int left, int right, int top, in
return;
}
}
}
void SndPlayTileFx(SoundFx sound, TileIndex tile)