/* * OpenClonk, http://www.openclonk.org * * Copyright (c) 2014-2016, The OpenClonk Team and contributors * * Distributed under the terms of the ISC license; see accompanying file * "COPYING" for details. * * "Clonk" is a registered trademark of Matthes Bender, used with permission. * See accompanying file "TRADEMARK" for details. * * To redistribute this file separately, substitute the full license texts * for the above references. */ // Put all the terrible walls of includes for sound toolkits here #ifndef INC_C4SoundIncludes #define INC_C4SoundIncludes #if AUDIO_TK == AUDIO_TK_SDL_MIXER # define USE_RWOPS # include # undef USE_RWOPS typedef struct Mix_Chunk* C4SoundHandle; # include #elif AUDIO_TK == AUDIO_TK_OPENAL # include # include # ifdef HAVE_ALEXT # include # endif typedef ALuint C4SoundHandle; # ifdef _WIN32 // This is an ugly hack to make FreeALUT not dllimport everything. # define _XBOX # endif # include # undef _XBOX # if defined(__APPLE__) # import # import # endif # include # include # include #else typedef void* C4SoundHandle; #endif #endif