complete removal of hmiplay-code usage

This commit is contained in:
zicodxx 2007-06-15 08:10:19 +00:00
parent b5a5352a41
commit 37b563d4cd
3 changed files with 7 additions and 4 deletions

View file

@ -1,5 +1,9 @@
D2X-Rebirth Changelog
20070615
--------
SConstruct, arch/sdl/digi.c: complete removal of hmiplay-code usage
20070614
--------
2d/font.c, libmve/decoder16.c, main/object.c, main/piggy.c, main/polyobj.c, main/render.c, mem/mem.c: using size_t when it comes to integer to pointer conversions

View file

@ -253,14 +253,14 @@ arch_linux_sources = [
common_sound_hmp2mid = [ 'misc/hmp2mid.c' ]
arch_unix_sound_sdlmixer = [ 'arch/sdl/mixdigi.c', 'arch/sdl/mixmusic.c' ]
arch_unix_sound_old = [ 'arch/sdl/digi.c' ]
arch_linux_sound_old = ['arch/linux/hmiplay.c' ]
#arch_linux_sound_old = ['arch/linux/hmiplay.c' ]
if (sdlmixer == 1):
common_sources += common_sound_hmp2mid
arch_unix_sources += arch_unix_sound_sdlmixer
else:
arch_unix_sources += arch_unix_sound_old
arch_linux_sources += arch_linux_sound_old
# arch_linux_sources += arch_linux_sound_old
# for windows
arch_win32_sources = [

View file

@ -448,10 +448,9 @@ void digi_end_sound(int channel)
#ifndef _WIN32
// MIDI stuff follows.
#if defined(__APPLE__) || defined(macintosh)
void digi_set_midi_volume( int mvolume ) { }
void digi_play_midi_song( char * filename, char * melodic_bank, char * drum_bank, int loop ) {}
#endif
void digi_stop_current_song()
{
#ifdef HMIPLAY