diff --git a/src/game/g_sound.pas b/src/game/g_sound.pas
index 2cc02ad2aec4672815a071e1deafc2064b61495f..2aa1b38cd199a2ae1b3b2817bd5bb34850e283f5 100644 (file)
--- a/src/game/g_sound.pas
+++ b/src/game/g_sound.pas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
+ * the Free Software Foundation, version 3 of the License ONLY.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
Pan := pan1;
Volume := 1.0 - len1 / sMaxDist;
Result := True
- end;
- e_LogWritefln('PlaySounAtRect: Pan = %s | Volume = %s | Result = %s', [Pan, Volume, Result]);
+ end
end;
function PlaySoundAt(X, Y: Integer; out Pan: Single; out Volume: Single; InVolume: Single = 1.0): Boolean;
Pause(Enable);
end;
+{$IFDEF USE_OPENAL}
+initialization
+ conRegVar('s_midi_soundfont', @e_SoundFont, 'soundfont to use for midi playback', 'midi soundfont');
+ conRegVar('s_mod_lerp', @e_MusicLerp, 'interpolate module playback', 'module interpolation');
+{$ENDIF}
+
end.