From b25a4f8231f3ded44038ea454a3d4c6a2dc9217d Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 15 Mar 2009 00:32:18 +0000 Subject: (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too --- src/music/bemidi.cpp | 2 +- src/music/qtmidi.cpp | 16 ++++++++-------- src/music/win32_m.cpp | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) (limited to 'src/music') diff --git a/src/music/bemidi.cpp b/src/music/bemidi.cpp index 41bd4ee4f..cb32fb4a0 100644 --- a/src/music/bemidi.cpp +++ b/src/music/bemidi.cpp @@ -6,7 +6,7 @@ #include "../openttd.h" #include "bemidi.h" -// BeOS System Includes +/* BeOS System Includes */ #include static BMidiSynthFile midiSynthFile; diff --git a/src/music/qtmidi.cpp b/src/music/qtmidi.cpp index 2e4892285..074963992 100644 --- a/src/music/qtmidi.cpp +++ b/src/music/qtmidi.cpp @@ -46,14 +46,14 @@ #include #include -// we need to include debug.h after CoreServices because defining DEBUG will break CoreServices in OSX 10.2 +/* we need to include debug.h after CoreServices because defining DEBUG will break CoreServices in OSX 10.2 */ #include "../debug.h" static FMusicDriver_QtMidi iFMusicDriver_QtMidi; enum { - midiType = 'Midi' /**< OSType code for MIDI songs. */ + midiType = 'Midi' ///< OSType code for MIDI songs. }; @@ -172,15 +172,15 @@ static void InitQuickTimeIfNeeded() /** Possible states of the QuickTime music driver. */ enum { - QT_STATE_IDLE, /**< No file loaded. */ - QT_STATE_PLAY, /**< File loaded, playing. */ - QT_STATE_STOP, /**< File loaded, stopped. */ + QT_STATE_IDLE, ///< No file loaded. + QT_STATE_PLAY, ///< File loaded, playing. + QT_STATE_STOP, ///< File loaded, stopped. }; -static Movie _quicktime_movie; /**< Current QuickTime @c Movie. */ -static byte _quicktime_volume = 127; /**< Current volume. */ -static int _quicktime_state = QT_STATE_IDLE; /**< Current player state. */ +static Movie _quicktime_movie; ///< Current QuickTime @c Movie. +static byte _quicktime_volume = 127; ///< Current volume. +static int _quicktime_state = QT_STATE_IDLE; ///< Current player state. /** diff --git a/src/music/win32_m.cpp b/src/music/win32_m.cpp index 4b2bb03fd..abcbffd27 100644 --- a/src/music/win32_m.cpp +++ b/src/music/win32_m.cpp @@ -109,7 +109,7 @@ static DWORD WINAPI MidiThread(LPVOID arg) _midi.playing = MidiIntPlaySong(s); s[0] = '\0'; - // Delay somewhat in case we don't manage to play. + /* Delay somewhat in case we don't manage to play. */ if (!_midi.playing) WaitForMultipleObjects(1, &_midi.wait_obj, FALSE, 5000); } -- cgit v1.2.3-54-g00ecf