1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-19 20:49:11 +00:00

(svn r8691) -Cleanup: Some proper #endif comments for sound/music/video files, and a little elimination of magic numbers in Win32SoundStart

This commit is contained in:
Darkvater
2007-02-12 21:55:10 +00:00
parent 2817acb456
commit 4d4c1e0505
14 changed files with 22 additions and 26 deletions

View File

@@ -4,7 +4,6 @@
#ifdef WIN32_ENABLE_DIRECTMUSIC_SUPPORT
#include "../openttd.h"
#include "../debug.h"
#include "../win32.h"
#include "dmusic.h"
@@ -218,7 +217,7 @@ static void DMusicMidiSetVolume(byte vol)
}
extern "C" const HalMusicDriver _dmusic_midi_driver = {
const HalMusicDriver _dmusic_midi_driver = {
DMusicMidiStart,
DMusicMidiStop,
DMusicMidiPlaySong,
@@ -227,4 +226,4 @@ extern "C" const HalMusicDriver _dmusic_midi_driver = {
DMusicMidiSetVolume,
};
#endif
#endif /* WIN32_ENABLE_DIRECTMUSIC_SUPPORT */

View File

@@ -7,4 +7,4 @@
extern const HalMusicDriver _dmusic_midi_driver;
#endif
#endif /* MUSIC_DMUSIC_H */

View File

@@ -7,4 +7,4 @@
extern const HalMusicDriver _null_music_driver;
#endif
#endif /* MUSIC_NULL_H */

View File

@@ -7,4 +7,4 @@
extern const HalMusicDriver _win32_music_driver;
#endif
#endif /* MUSIC_WIN32_H */