src/sound.cpp
branchNewGRF_ports
changeset 10274 b3c58f3df92b
parent 10184 fcf5fb2548eb
child 10724 68a692eacf22
--- a/src/sound.cpp	Fri Apr 18 21:20:03 2008 +0000
+++ b/src/sound.cpp	Sun Apr 20 15:27:28 2008 +0000
@@ -207,6 +207,14 @@
 	}
 }
 
+/**
+ * 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 @@
 			return;
 		}
 	}
-
 }
 
 void SndPlayTileFx(SoundFx sound, TileIndex tile)