X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fengine%2Fe_sound.pas;h=790dc0a65d41a6cadbacadce2a7055f9b2648602;hb=8b7a40b1a145f53e80098e0faf139c942d2509e5;hp=d689dfeca5e66feae9dd7e9755760aa1693e24c8;hpb=b6261de6b40b4b79207cc01889b94e3237e1bba6;p=d2df-sdl.git diff --git a/src/engine/e_sound.pas b/src/engine/e_sound.pas index d689dfe..790dc0a 100644 --- a/src/engine/e_sound.pas +++ b/src/engine/e_sound.pas @@ -2,8 +2,7 @@ * * 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 @@ -16,12 +15,14 @@ {$INCLUDE ../shared/a_modes.inc} unit e_sound; -{$IFDEF USE_SDLMIXER} +{$IF DEFINED(USE_SDLMIXER)} {$I e_sound_sdl.inc} +{$ELSEIF DEFINED(USE_OPENAL)} + {$I e_sound_al.inc} +{$ELSEIF DEFINED(USE_FMOD)} + {$I e_sound_fmod.inc} +{$ELSEIF DEFINED(USE_SOUNDSTUB)} + {$I e_sound_stub.inc} {$ELSE} - {$IFDEF USE_OPENAL} - {$I e_sound_al.inc} - {$ELSE} - {$I e_sound_fmod.inc} - {$ENDIF} + {$ERROR e_sound driver not implemented?} {$ENDIF}