summarylogtreecommitdiffstats
path: root/crack-attack-1.1.14-audio.patch
diff options
context:
space:
mode:
Diffstat (limited to 'crack-attack-1.1.14-audio.patch')
-rw-r--r--crack-attack-1.1.14-audio.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/crack-attack-1.1.14-audio.patch b/crack-attack-1.1.14-audio.patch
new file mode 100644
index 00000000000..a091aa4df7f
--- /dev/null
+++ b/crack-attack-1.1.14-audio.patch
@@ -0,0 +1,37 @@
+--- crack-attack-1.1.14/src/Music.h~ 2007-01-12 10:54:25.000000000 +0100
++++ crack-attack-1.1.14/src/Music.h 2007-01-12 10:54:25.000000000 +0100
+@@ -34,10 +34,10 @@
+ #include <vector>
+
+ #define GC_MUSIC_FILENAME_LENGTH 128
+-#define GC_MUSIC_PRELUDE_TRACK "prelude"
+-#define GC_MUSIC_GAME_TRACK "game"
+-#define GC_MUSIC_GAMEOVER_TRACK "gameover"
+-#define GC_MUSIC_YOUWIN_TRACK "youwin"
++#define GC_MUSIC_PRELUDE_TRACK "prelude.xm"
++#define GC_MUSIC_GAME_TRACK "game.xm"
++#define GC_MUSIC_GAMEOVER_TRACK "gameover.xm"
++#define GC_MUSIC_YOUWIN_TRACK "youwin.xm"
+
+ class Music {
+ public:
+--- crack-attack-1.1.14/src/Music.cxx~ 2007-01-12 11:23:15.000000000 +0100
++++ crack-attack-1.1.14/src/Music.cxx 2007-01-12 11:23:15.000000000 +0100
+@@ -91,7 +91,7 @@
+ cout << "Playing " << music_filelist[current_track].c_str() << endl;
+ #endif
+ music = Mix_LoadMUS( music_filelist[current_track].c_str() );
+- Mix_VolumeMusic( MIX_MAX_VOLUME / 4 );
++ Mix_VolumeMusic( (MIX_MAX_VOLUME * 8) / 10 );
+ Mix_PlayMusic( music , 0 );
+ Mix_HookMusicFinished(Music::finished);
+ keep_playing = 1;
+@@ -126,7 +126,7 @@
+ cout << "Playing " << Track.c_str() << endl;
+ #endif
+ music = Mix_LoadMUS( Track.c_str() );
+- Mix_VolumeMusic( MIX_MAX_VOLUME / 4 );
++ Mix_VolumeMusic( (MIX_MAX_VOLUME * 8) / 10 );
+ Mix_PlayMusic( music , 0 );
+ keep_playing = 0;
+ }