diff options
author | belugas <belugas@openttd.org> | 2007-04-04 01:35:16 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2007-04-04 01:35:16 +0000 |
commit | dfe5533db674cf2f21652f91cf626831a22344ec (patch) | |
tree | c8c468b064c05fa682d00013b36792570a637721 /src/sound.cpp | |
parent | f12d1a3f0a0978464dad84c1b31752aece298321 (diff) | |
download | openttd-dfe5533db674cf2f21652f91cf626831a22344ec.tar.xz |
(svn r9556) -Documentation: doxygen and comment-style changes. 'R', 'S'.. The end of the preliminary work is near
Diffstat (limited to 'src/sound.cpp')
-rw-r--r-- | src/sound.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/sound.cpp b/src/sound.cpp index c74927c1a..3dea2e5a2 100644 --- a/src/sound.cpp +++ b/src/sound.cpp @@ -1,5 +1,7 @@ /* $Id$ */ +/** @file sound.cpp */ + #include "stdafx.h" #include "openttd.h" #include "functions.h" @@ -51,12 +53,12 @@ static void OpenBankFile(const char *filename) FioSeekTo(fe->file_offset, SEEK_SET); - // Check for special case, see else case + /* Check for special case, see else case */ FioReadBlock(name, FioReadByte()); // Read the name of the sound if (strcmp(name, "Corrupt sound") != 0) { FioSeekTo(12, SEEK_CUR); // Skip past RIFF header - // Read riff tags + /* Read riff tags */ for (;;) { uint32 tag = FioReadDword(); uint32 size = FioReadDword(); @@ -130,7 +132,7 @@ bool SoundInitialize(const char *filename) return true; } -// Low level sound player +/* Low level sound player */ static void StartSound(uint sound, int panning, uint volume) { MixerChannel *mc; |