updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / crack-attack / crack-attack-1.1.14-audio.patch
bloba091aa4df7faa360dc316f7f242f1864c3e0ed3b
1 --- crack-attack-1.1.14/src/Music.h~ 2007-01-12 10:54:25.000000000 +0100
2 +++ crack-attack-1.1.14/src/Music.h 2007-01-12 10:54:25.000000000 +0100
3 @@ -34,10 +34,10 @@
4 #include <vector>
6 #define GC_MUSIC_FILENAME_LENGTH 128
7 -#define GC_MUSIC_PRELUDE_TRACK "prelude"
8 -#define GC_MUSIC_GAME_TRACK "game"
9 -#define GC_MUSIC_GAMEOVER_TRACK "gameover"
10 -#define GC_MUSIC_YOUWIN_TRACK "youwin"
11 +#define GC_MUSIC_PRELUDE_TRACK "prelude.xm"
12 +#define GC_MUSIC_GAME_TRACK "game.xm"
13 +#define GC_MUSIC_GAMEOVER_TRACK "gameover.xm"
14 +#define GC_MUSIC_YOUWIN_TRACK "youwin.xm"
16 class Music {
17 public:
18 --- crack-attack-1.1.14/src/Music.cxx~ 2007-01-12 11:23:15.000000000 +0100
19 +++ crack-attack-1.1.14/src/Music.cxx 2007-01-12 11:23:15.000000000 +0100
20 @@ -91,7 +91,7 @@
21 cout << "Playing " << music_filelist[current_track].c_str() << endl;
22 #endif
23 music = Mix_LoadMUS( music_filelist[current_track].c_str() );
24 - Mix_VolumeMusic( MIX_MAX_VOLUME / 4 );
25 + Mix_VolumeMusic( (MIX_MAX_VOLUME * 8) / 10 );
26 Mix_PlayMusic( music , 0 );
27 Mix_HookMusicFinished(Music::finished);
28 keep_playing = 1;
29 @@ -126,7 +126,7 @@
30 cout << "Playing " << Track.c_str() << endl;
31 #endif
32 music = Mix_LoadMUS( Track.c_str() );
33 - Mix_VolumeMusic( MIX_MAX_VOLUME / 4 );
34 + Mix_VolumeMusic( (MIX_MAX_VOLUME * 8) / 10 );
35 Mix_PlayMusic( music , 0 );
36 keep_playing = 0;