GIT
/
REPO
/
FRED-BOY
Projects
/
d2df-sdl.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12a3a77
)
add cvar for soundfont selection
author
fgsfds <pvt.fgsfds@gmail.com>
Mon, 2 Sep 2019 18:53:56 +0000
(21:53 +0300)
committer
fgsfds <pvt.fgsfds@gmail.com>
Mon, 2 Sep 2019 18:53:56 +0000
(21:53 +0300)
src/game/g_sound.pas
patch
|
blob
|
history
diff --git
a/src/game/g_sound.pas
b/src/game/g_sound.pas
index 8623b5f7ebd5294487650f3cb1c7a16b64617f77..20ae02e2e53ff8bc1c4378f413e8536e2375da0f 100644
(file)
--- a/
src/game/g_sound.pas
+++ b/
src/game/g_sound.pas
@@
-634,4
+634,11
@@
begin
Pause(Enable);
end;
+{$IFDEF USE_OPENAL}
+initialization
+ {$IF DEFINED(USE_FLUIDSYNTH)}
+ conRegVar('s_midi_soundfont', @e_SoundFont, 'soundfont to use for midi playback', 'midi soundfont');
+ {$ENDIF}
+{$ENDIF}
+
end.
DEADSOFTWARE 2012-2025