mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-12-01 15:35:47 +00:00
use (slightly fixed up) mojoAL instead of openALsoft in SDL2 builds
This commit is contained in:
parent
888a78c6a9
commit
2e3cd6a103
7 changed files with 5525 additions and 741 deletions
|
@ -39,6 +39,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
#include "FmodOpenALBridge.h"
|
#include "FmodOpenALBridge.h"
|
||||||
|
|
||||||
|
#define AL_LIBTYPE_STATIC
|
||||||
#include "al.h"
|
#include "al.h"
|
||||||
#include "alc.h"
|
#include "alc.h"
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -5,16 +5,11 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(_WIN32) && !defined(_XBOX)
|
#ifndef ALC_API
|
||||||
/* _OPENAL32LIB is deprecated */
|
#if defined(AL_LIBTYPE_STATIC)
|
||||||
#if defined(AL_BUILD_LIBRARY) || defined (_OPENAL32LIB)
|
#define ALC_API
|
||||||
#define ALC_API __declspec(dllexport)
|
#elif defined(_WIN32)
|
||||||
#else
|
|
||||||
#define ALC_API __declspec(dllimport)
|
#define ALC_API __declspec(dllimport)
|
||||||
#endif
|
|
||||||
#else
|
|
||||||
#if defined(AL_BUILD_LIBRARY) && defined(HAVE_GCC_VISIBILITY)
|
|
||||||
#define ALC_API __attribute__((visibility("default")))
|
|
||||||
#else
|
#else
|
||||||
#define ALC_API extern
|
#define ALC_API extern
|
||||||
#endif
|
#endif
|
||||||
|
@ -26,25 +21,20 @@ extern "C" {
|
||||||
#define ALC_APIENTRY
|
#define ALC_APIENTRY
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(TARGET_OS_MAC) && TARGET_OS_MAC
|
|
||||||
#pragma export on
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/** Deprecated macro. */
|
||||||
* The ALCAPI, ALCAPIENTRY, and ALC_INVALID macros are deprecated, but are
|
|
||||||
* included for applications porting code from AL 1.0
|
|
||||||
*/
|
|
||||||
#define ALCAPI ALC_API
|
#define ALCAPI ALC_API
|
||||||
#define ALCAPIENTRY ALC_APIENTRY
|
#define ALCAPIENTRY ALC_APIENTRY
|
||||||
#define ALC_INVALID 0
|
#define ALC_INVALID 0
|
||||||
|
|
||||||
|
/** Supported ALC version? */
|
||||||
#define ALC_VERSION_0_1 1
|
#define ALC_VERSION_0_1 1
|
||||||
|
|
||||||
|
/** Opaque device handle */
|
||||||
typedef struct ALCdevice_struct ALCdevice;
|
typedef struct ALCdevice_struct ALCdevice;
|
||||||
|
/** Opaque context handle */
|
||||||
typedef struct ALCcontext_struct ALCcontext;
|
typedef struct ALCcontext_struct ALCcontext;
|
||||||
|
|
||||||
|
|
||||||
/** 8-bit boolean */
|
/** 8-bit boolean */
|
||||||
typedef char ALCboolean;
|
typedef char ALCboolean;
|
||||||
|
|
||||||
|
@ -52,7 +42,7 @@ typedef char ALCboolean;
|
||||||
typedef char ALCchar;
|
typedef char ALCchar;
|
||||||
|
|
||||||
/** signed 8-bit 2's complement integer */
|
/** signed 8-bit 2's complement integer */
|
||||||
typedef char ALCbyte;
|
typedef signed char ALCbyte;
|
||||||
|
|
||||||
/** unsigned 8-bit integer */
|
/** unsigned 8-bit integer */
|
||||||
typedef unsigned char ALCubyte;
|
typedef unsigned char ALCubyte;
|
||||||
|
@ -87,192 +77,162 @@ typedef void ALCvoid;
|
||||||
|
|
||||||
/* Enumerant values begin at column 50. No tabs. */
|
/* Enumerant values begin at column 50. No tabs. */
|
||||||
|
|
||||||
/* Boolean False. */
|
/** Boolean False. */
|
||||||
#define ALC_FALSE 0
|
#define ALC_FALSE 0
|
||||||
|
|
||||||
/* Boolean True. */
|
/** Boolean True. */
|
||||||
#define ALC_TRUE 1
|
#define ALC_TRUE 1
|
||||||
|
|
||||||
/**
|
/** Context attribute: <int> Hz. */
|
||||||
* followed by <int> Hz
|
|
||||||
*/
|
|
||||||
#define ALC_FREQUENCY 0x1007
|
#define ALC_FREQUENCY 0x1007
|
||||||
|
|
||||||
/**
|
/** Context attribute: <int> Hz. */
|
||||||
* followed by <int> Hz
|
|
||||||
*/
|
|
||||||
#define ALC_REFRESH 0x1008
|
#define ALC_REFRESH 0x1008
|
||||||
|
|
||||||
/**
|
/** Context attribute: AL_TRUE or AL_FALSE. */
|
||||||
* followed by AL_TRUE, AL_FALSE
|
|
||||||
*/
|
|
||||||
#define ALC_SYNC 0x1009
|
#define ALC_SYNC 0x1009
|
||||||
|
|
||||||
/**
|
/** Context attribute: <int> requested Mono (3D) Sources. */
|
||||||
* followed by <int> Num of requested Mono (3D) Sources
|
|
||||||
*/
|
|
||||||
#define ALC_MONO_SOURCES 0x1010
|
#define ALC_MONO_SOURCES 0x1010
|
||||||
|
|
||||||
/**
|
/** Context attribute: <int> requested Stereo Sources. */
|
||||||
* followed by <int> Num of requested Stereo Sources
|
|
||||||
*/
|
|
||||||
#define ALC_STEREO_SOURCES 0x1011
|
#define ALC_STEREO_SOURCES 0x1011
|
||||||
|
|
||||||
/**
|
/** No error. */
|
||||||
* errors
|
#define ALC_NO_ERROR 0
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/** Invalid device handle. */
|
||||||
* No error
|
|
||||||
*/
|
|
||||||
#define ALC_NO_ERROR ALC_FALSE
|
|
||||||
|
|
||||||
/**
|
|
||||||
* No device
|
|
||||||
*/
|
|
||||||
#define ALC_INVALID_DEVICE 0xA001
|
#define ALC_INVALID_DEVICE 0xA001
|
||||||
|
|
||||||
/**
|
/** Invalid context handle. */
|
||||||
* invalid context ID
|
|
||||||
*/
|
|
||||||
#define ALC_INVALID_CONTEXT 0xA002
|
#define ALC_INVALID_CONTEXT 0xA002
|
||||||
|
|
||||||
/**
|
/** Invalid enum parameter passed to an ALC call. */
|
||||||
* bad enum
|
|
||||||
*/
|
|
||||||
#define ALC_INVALID_ENUM 0xA003
|
#define ALC_INVALID_ENUM 0xA003
|
||||||
|
|
||||||
/**
|
/** Invalid value parameter passed to an ALC call. */
|
||||||
* bad value
|
|
||||||
*/
|
|
||||||
#define ALC_INVALID_VALUE 0xA004
|
#define ALC_INVALID_VALUE 0xA004
|
||||||
|
|
||||||
/**
|
/** Out of memory. */
|
||||||
* Out of memory.
|
|
||||||
*/
|
|
||||||
#define ALC_OUT_OF_MEMORY 0xA005
|
#define ALC_OUT_OF_MEMORY 0xA005
|
||||||
|
|
||||||
|
|
||||||
/**
|
/** Runtime ALC version. */
|
||||||
* The Specifier string for default device
|
|
||||||
*/
|
|
||||||
#define ALC_DEFAULT_DEVICE_SPECIFIER 0x1004
|
|
||||||
#define ALC_DEVICE_SPECIFIER 0x1005
|
|
||||||
#define ALC_EXTENSIONS 0x1006
|
|
||||||
|
|
||||||
#define ALC_MAJOR_VERSION 0x1000
|
#define ALC_MAJOR_VERSION 0x1000
|
||||||
#define ALC_MINOR_VERSION 0x1001
|
#define ALC_MINOR_VERSION 0x1001
|
||||||
|
|
||||||
|
/** Context attribute list properties. */
|
||||||
#define ALC_ATTRIBUTES_SIZE 0x1002
|
#define ALC_ATTRIBUTES_SIZE 0x1002
|
||||||
#define ALC_ALL_ATTRIBUTES 0x1003
|
#define ALC_ALL_ATTRIBUTES 0x1003
|
||||||
|
|
||||||
|
/** String for the default device specifier. */
|
||||||
|
#define ALC_DEFAULT_DEVICE_SPECIFIER 0x1004
|
||||||
/**
|
/**
|
||||||
* ALC_ENUMERATE_ALL_EXT enums
|
* String for the given device's specifier.
|
||||||
|
*
|
||||||
|
* If device handle is NULL, it is instead a null-char separated list of
|
||||||
|
* strings of known device specifiers (list ends with an empty string).
|
||||||
*/
|
*/
|
||||||
#define ALC_DEFAULT_ALL_DEVICES_SPECIFIER 0x1012
|
#define ALC_DEVICE_SPECIFIER 0x1005
|
||||||
#define ALC_ALL_DEVICES_SPECIFIER 0x1013
|
/** String for space-separated list of ALC extensions. */
|
||||||
|
#define ALC_EXTENSIONS 0x1006
|
||||||
|
|
||||||
|
|
||||||
|
/** Capture extension */
|
||||||
|
#define ALC_EXT_CAPTURE 1
|
||||||
/**
|
/**
|
||||||
* Capture extension
|
* String for the given capture device's specifier.
|
||||||
|
*
|
||||||
|
* If device handle is NULL, it is instead a null-char separated list of
|
||||||
|
* strings of known capture device specifiers (list ends with an empty string).
|
||||||
*/
|
*/
|
||||||
#define ALC_CAPTURE_DEVICE_SPECIFIER 0x310
|
#define ALC_CAPTURE_DEVICE_SPECIFIER 0x310
|
||||||
|
/** String for the default capture device specifier. */
|
||||||
#define ALC_CAPTURE_DEFAULT_DEVICE_SPECIFIER 0x311
|
#define ALC_CAPTURE_DEFAULT_DEVICE_SPECIFIER 0x311
|
||||||
|
/** Number of sample frames available for capture. */
|
||||||
#define ALC_CAPTURE_SAMPLES 0x312
|
#define ALC_CAPTURE_SAMPLES 0x312
|
||||||
|
|
||||||
|
|
||||||
/*
|
/** Enumerate All extension */
|
||||||
* Context Management
|
#define ALC_ENUMERATE_ALL_EXT 1
|
||||||
|
/** String for the default extended device specifier. */
|
||||||
|
#define ALC_DEFAULT_ALL_DEVICES_SPECIFIER 0x1012
|
||||||
|
/**
|
||||||
|
* String for the given extended device's specifier.
|
||||||
|
*
|
||||||
|
* If device handle is NULL, it is instead a null-char separated list of
|
||||||
|
* strings of known extended device specifiers (list ends with an empty string).
|
||||||
*/
|
*/
|
||||||
ALC_API ALCcontext * ALC_APIENTRY alcCreateContext( ALCdevice *device, const ALCint* attrlist );
|
#define ALC_ALL_DEVICES_SPECIFIER 0x1013
|
||||||
|
|
||||||
ALC_API ALCboolean ALC_APIENTRY alcMakeContextCurrent( ALCcontext *context );
|
|
||||||
|
|
||||||
ALC_API void ALC_APIENTRY alcProcessContext( ALCcontext *context );
|
|
||||||
|
|
||||||
ALC_API void ALC_APIENTRY alcSuspendContext( ALCcontext *context );
|
|
||||||
|
|
||||||
ALC_API void ALC_APIENTRY alcDestroyContext( ALCcontext *context );
|
|
||||||
|
|
||||||
ALC_API ALCcontext * ALC_APIENTRY alcGetCurrentContext( void );
|
|
||||||
|
|
||||||
ALC_API ALCdevice* ALC_APIENTRY alcGetContextsDevice( ALCcontext *context );
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/** Context management. */
|
||||||
* Device Management
|
ALC_API ALCcontext* ALC_APIENTRY alcCreateContext(ALCdevice *device, const ALCint* attrlist);
|
||||||
*/
|
ALC_API ALCboolean ALC_APIENTRY alcMakeContextCurrent(ALCcontext *context);
|
||||||
ALC_API ALCdevice * ALC_APIENTRY alcOpenDevice( const ALCchar *devicename );
|
ALC_API void ALC_APIENTRY alcProcessContext(ALCcontext *context);
|
||||||
|
ALC_API void ALC_APIENTRY alcSuspendContext(ALCcontext *context);
|
||||||
|
ALC_API void ALC_APIENTRY alcDestroyContext(ALCcontext *context);
|
||||||
|
ALC_API ALCcontext* ALC_APIENTRY alcGetCurrentContext(void);
|
||||||
|
ALC_API ALCdevice* ALC_APIENTRY alcGetContextsDevice(ALCcontext *context);
|
||||||
|
|
||||||
ALC_API ALCboolean ALC_APIENTRY alcCloseDevice( ALCdevice *device );
|
/** Device management. */
|
||||||
|
ALC_API ALCdevice* ALC_APIENTRY alcOpenDevice(const ALCchar *devicename);
|
||||||
|
ALC_API ALCboolean ALC_APIENTRY alcCloseDevice(ALCdevice *device);
|
||||||
|
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* Error support.
|
* Error support.
|
||||||
* Obtain the most recent Context error
|
*
|
||||||
|
* Obtain the most recent Device error.
|
||||||
*/
|
*/
|
||||||
ALC_API ALCenum ALC_APIENTRY alcGetError( ALCdevice *device );
|
ALC_API ALCenum ALC_APIENTRY alcGetError(ALCdevice *device);
|
||||||
|
|
||||||
|
/**
|
||||||
/*
|
|
||||||
* Extension support.
|
* Extension support.
|
||||||
|
*
|
||||||
* Query for the presence of an extension, and obtain any appropriate
|
* Query for the presence of an extension, and obtain any appropriate
|
||||||
* function pointers and enum values.
|
* function pointers and enum values.
|
||||||
*/
|
*/
|
||||||
ALC_API ALCboolean ALC_APIENTRY alcIsExtensionPresent( ALCdevice *device, const ALCchar *extname );
|
ALC_API ALCboolean ALC_APIENTRY alcIsExtensionPresent(ALCdevice *device, const ALCchar *extname);
|
||||||
|
ALC_API void* ALC_APIENTRY alcGetProcAddress(ALCdevice *device, const ALCchar *funcname);
|
||||||
|
ALC_API ALCenum ALC_APIENTRY alcGetEnumValue(ALCdevice *device, const ALCchar *enumname);
|
||||||
|
|
||||||
ALC_API void * ALC_APIENTRY alcGetProcAddress( ALCdevice *device, const ALCchar *funcname );
|
/** Query function. */
|
||||||
|
ALC_API const ALCchar* ALC_APIENTRY alcGetString(ALCdevice *device, ALCenum param);
|
||||||
|
ALC_API void ALC_APIENTRY alcGetIntegerv(ALCdevice *device, ALCenum param, ALCsizei size, ALCint *values);
|
||||||
|
|
||||||
ALC_API ALCenum ALC_APIENTRY alcGetEnumValue( ALCdevice *device, const ALCchar *enumname );
|
/** Capture function. */
|
||||||
|
ALC_API ALCdevice* ALC_APIENTRY alcCaptureOpenDevice(const ALCchar *devicename, ALCuint frequency, ALCenum format, ALCsizei buffersize);
|
||||||
|
ALC_API ALCboolean ALC_APIENTRY alcCaptureCloseDevice(ALCdevice *device);
|
||||||
|
ALC_API void ALC_APIENTRY alcCaptureStart(ALCdevice *device);
|
||||||
|
ALC_API void ALC_APIENTRY alcCaptureStop(ALCdevice *device);
|
||||||
|
ALC_API void ALC_APIENTRY alcCaptureSamples(ALCdevice *device, ALCvoid *buffer, ALCsizei samples);
|
||||||
|
|
||||||
|
/** Pointer-to-function type, useful for dynamically getting ALC entry points. */
|
||||||
|
typedef ALCcontext* (ALC_APIENTRY *LPALCCREATECONTEXT)(ALCdevice *device, const ALCint *attrlist);
|
||||||
|
typedef ALCboolean (ALC_APIENTRY *LPALCMAKECONTEXTCURRENT)(ALCcontext *context);
|
||||||
|
typedef void (ALC_APIENTRY *LPALCPROCESSCONTEXT)(ALCcontext *context);
|
||||||
|
typedef void (ALC_APIENTRY *LPALCSUSPENDCONTEXT)(ALCcontext *context);
|
||||||
|
typedef void (ALC_APIENTRY *LPALCDESTROYCONTEXT)(ALCcontext *context);
|
||||||
|
typedef ALCcontext* (ALC_APIENTRY *LPALCGETCURRENTCONTEXT)(void);
|
||||||
|
typedef ALCdevice* (ALC_APIENTRY *LPALCGETCONTEXTSDEVICE)(ALCcontext *context);
|
||||||
|
typedef ALCdevice* (ALC_APIENTRY *LPALCOPENDEVICE)(const ALCchar *devicename);
|
||||||
|
typedef ALCboolean (ALC_APIENTRY *LPALCCLOSEDEVICE)(ALCdevice *device);
|
||||||
|
typedef ALCenum (ALC_APIENTRY *LPALCGETERROR)(ALCdevice *device);
|
||||||
|
typedef ALCboolean (ALC_APIENTRY *LPALCISEXTENSIONPRESENT)(ALCdevice *device, const ALCchar *extname);
|
||||||
|
typedef void* (ALC_APIENTRY *LPALCGETPROCADDRESS)(ALCdevice *device, const ALCchar *funcname);
|
||||||
|
typedef ALCenum (ALC_APIENTRY *LPALCGETENUMVALUE)(ALCdevice *device, const ALCchar *enumname);
|
||||||
|
typedef const ALCchar* (ALC_APIENTRY *LPALCGETSTRING)(ALCdevice *device, ALCenum param);
|
||||||
|
typedef void (ALC_APIENTRY *LPALCGETINTEGERV)(ALCdevice *device, ALCenum param, ALCsizei size, ALCint *values);
|
||||||
|
typedef ALCdevice* (ALC_APIENTRY *LPALCCAPTUREOPENDEVICE)(const ALCchar *devicename, ALCuint frequency, ALCenum format, ALCsizei buffersize);
|
||||||
|
typedef ALCboolean (ALC_APIENTRY *LPALCCAPTURECLOSEDEVICE)(ALCdevice *device);
|
||||||
|
typedef void (ALC_APIENTRY *LPALCCAPTURESTART)(ALCdevice *device);
|
||||||
|
typedef void (ALC_APIENTRY *LPALCCAPTURESTOP)(ALCdevice *device);
|
||||||
|
typedef void (ALC_APIENTRY *LPALCCAPTURESAMPLES)(ALCdevice *device, ALCvoid *buffer, ALCsizei samples);
|
||||||
|
|
||||||
/*
|
#define ALC_EXT_TRACE_INFO 1
|
||||||
* Query functions
|
typedef void (AL_APIENTRY *LPALCTRACEDEVICELABEL)(ALCdevice *device, const ALCchar *str);
|
||||||
*/
|
typedef void (AL_APIENTRY *LPALCTRACECONTEXTLABEL)(ALCcontext *ctx, const ALCchar *str);
|
||||||
ALC_API const ALCchar * ALC_APIENTRY alcGetString( ALCdevice *device, ALCenum param );
|
|
||||||
|
|
||||||
ALC_API void ALC_APIENTRY alcGetIntegerv( ALCdevice *device, ALCenum param, ALCsizei size, ALCint *data );
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Capture functions
|
|
||||||
*/
|
|
||||||
ALC_API ALCdevice* ALC_APIENTRY alcCaptureOpenDevice( const ALCchar *devicename, ALCuint frequency, ALCenum format, ALCsizei buffersize );
|
|
||||||
|
|
||||||
ALC_API ALCboolean ALC_APIENTRY alcCaptureCloseDevice( ALCdevice *device );
|
|
||||||
|
|
||||||
ALC_API void ALC_APIENTRY alcCaptureStart( ALCdevice *device );
|
|
||||||
|
|
||||||
ALC_API void ALC_APIENTRY alcCaptureStop( ALCdevice *device );
|
|
||||||
|
|
||||||
ALC_API void ALC_APIENTRY alcCaptureSamples( ALCdevice *device, ALCvoid *buffer, ALCsizei samples );
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Pointer-to-function types, useful for dynamically getting ALC entry points.
|
|
||||||
*/
|
|
||||||
typedef ALCcontext * (ALC_APIENTRY *LPALCCREATECONTEXT) (ALCdevice *device, const ALCint *attrlist);
|
|
||||||
typedef ALCboolean (ALC_APIENTRY *LPALCMAKECONTEXTCURRENT)( ALCcontext *context );
|
|
||||||
typedef void (ALC_APIENTRY *LPALCPROCESSCONTEXT)( ALCcontext *context );
|
|
||||||
typedef void (ALC_APIENTRY *LPALCSUSPENDCONTEXT)( ALCcontext *context );
|
|
||||||
typedef void (ALC_APIENTRY *LPALCDESTROYCONTEXT)( ALCcontext *context );
|
|
||||||
typedef ALCcontext * (ALC_APIENTRY *LPALCGETCURRENTCONTEXT)( void );
|
|
||||||
typedef ALCdevice * (ALC_APIENTRY *LPALCGETCONTEXTSDEVICE)( ALCcontext *context );
|
|
||||||
typedef ALCdevice * (ALC_APIENTRY *LPALCOPENDEVICE)( const ALCchar *devicename );
|
|
||||||
typedef ALCboolean (ALC_APIENTRY *LPALCCLOSEDEVICE)( ALCdevice *device );
|
|
||||||
typedef ALCenum (ALC_APIENTRY *LPALCGETERROR)( ALCdevice *device );
|
|
||||||
typedef ALCboolean (ALC_APIENTRY *LPALCISEXTENSIONPRESENT)( ALCdevice *device, const ALCchar *extname );
|
|
||||||
typedef void * (ALC_APIENTRY *LPALCGETPROCADDRESS)(ALCdevice *device, const ALCchar *funcname );
|
|
||||||
typedef ALCenum (ALC_APIENTRY *LPALCGETENUMVALUE)(ALCdevice *device, const ALCchar *enumname );
|
|
||||||
typedef const ALCchar* (ALC_APIENTRY *LPALCGETSTRING)( ALCdevice *device, ALCenum param );
|
|
||||||
typedef void (ALC_APIENTRY *LPALCGETINTEGERV)( ALCdevice *device, ALCenum param, ALCsizei size, ALCint *dest );
|
|
||||||
typedef ALCdevice * (ALC_APIENTRY *LPALCCAPTUREOPENDEVICE)( const ALCchar *devicename, ALCuint frequency, ALCenum format, ALCsizei buffersize );
|
|
||||||
typedef ALCboolean (ALC_APIENTRY *LPALCCAPTURECLOSEDEVICE)( ALCdevice *device );
|
|
||||||
typedef void (ALC_APIENTRY *LPALCCAPTURESTART)( ALCdevice *device );
|
|
||||||
typedef void (ALC_APIENTRY *LPALCCAPTURESTOP)( ALCdevice *device );
|
|
||||||
typedef void (ALC_APIENTRY *LPALCCAPTURESAMPLES)( ALCdevice *device, ALCvoid *buffer, ALCsizei samples );
|
|
||||||
|
|
||||||
#if defined(TARGET_OS_MAC) && TARGET_OS_MAC
|
|
||||||
#pragma export off
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(__cplusplus)
|
#if defined(__cplusplus)
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
4848
ExternalLibs/mojoal.c
Normal file
4848
ExternalLibs/mojoal.c
Normal file
File diff suppressed because it is too large
Load diff
|
@ -64,8 +64,8 @@
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLibrarianTool"
|
Name="VCLibrarianTool"
|
||||||
AdditionalDependencies="SDL2.lib SDL2main.lib OpenAL32.lib"
|
AdditionalDependencies="SDL2.lib SDL2main.lib"
|
||||||
AdditionalLibraryDirectories=""$(SolutionDir)\..\ExternalLibs\AL\lib\win32";"$(SolutionDir)\..\ExternalLibs\SDL2\lib\win32""
|
AdditionalLibraryDirectories=""$(SolutionDir)\..\ExternalLibs\SDL2\lib\win32""
|
||||||
IgnoreAllDefaultLibraries="true"
|
IgnoreAllDefaultLibraries="true"
|
||||||
IgnoreDefaultLibraryNames=""
|
IgnoreDefaultLibraryNames=""
|
||||||
/>
|
/>
|
||||||
|
@ -140,8 +140,8 @@
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLibrarianTool"
|
Name="VCLibrarianTool"
|
||||||
AdditionalDependencies="SDL2.lib SDL2main.lib OpenAL32.lib"
|
AdditionalDependencies="SDL2.lib SDL2main.lib"
|
||||||
AdditionalLibraryDirectories=""$(SolutionDir)\..\ExternalLibs\AL\lib\win32";"$(SolutionDir)\..\ExternalLibs\SDL2\lib\win32""
|
AdditionalLibraryDirectories=""$(SolutionDir)\..\ExternalLibs\SDL2\lib\win32""
|
||||||
IgnoreAllDefaultLibraries="true"
|
IgnoreAllDefaultLibraries="true"
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
AdditionalOptions="/MP"
|
AdditionalOptions="/MP"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
AdditionalIncludeDirectories=""$(SolutionDir)\..\ExternalLibs\freetype2\include\freetype\config";"$(SolutionDir)\..\BBGE";"$(SolutionDir)\..\ExternalLibs\zlib";"$(SolutionDir)\..\ExternalLibs\png";"$(SolutionDir)\..\ExternalLibs\libogg\include";"$(SolutionDir)\..\ExternalLibs\libvorbis\include";"$(SolutionDir)\..\ExternalLibs\freetype2\include";"$(SolutionDir)\..\ExternalLibs\FTGL\include";"$(SolutionDir)\..\ExternalLibs\SDL2\include";"$(SolutionDir)\..\ExternalLibs\ttvfs";"$(SolutionDir)\..\ExternalLibs\ttvfs_cfileapi";"$(SolutionDir)\..\ExternalLibs\glpng";"$(SolutionDir)\..\ExternalLibs\""
|
AdditionalIncludeDirectories=""$(SolutionDir)\..\ExternalLibs\freetype2\include\freetype\config";"$(SolutionDir)\..\BBGE";"$(SolutionDir)\..\ExternalLibs\zlib";"$(SolutionDir)\..\ExternalLibs\png";"$(SolutionDir)\..\ExternalLibs\libogg\include";"$(SolutionDir)\..\ExternalLibs\libvorbis\include";"$(SolutionDir)\..\ExternalLibs\freetype2\include";"$(SolutionDir)\..\ExternalLibs\FTGL\include";"$(SolutionDir)\..\ExternalLibs\SDL2\include";"$(SolutionDir)\..\ExternalLibs\ttvfs";"$(SolutionDir)\..\ExternalLibs\ttvfs_cfileapi";"$(SolutionDir)\..\ExternalLibs\glpng";"$(SolutionDir)\..\ExternalLibs\";"$(SolutionDir)\..\ExternalLibs\AL\include""
|
||||||
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;HAVE_FCNTL_H;FT_CONFIG_OPTION_SYSTEM_ZLIB;FTGL_LIBRARY_STATIC;FT2_BUILD_LIBRARY;GL_GLEXT_LEGACY=1;HAVE_PUTENV=1;VFS_ENABLE_C_API=1"
|
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;HAVE_FCNTL_H;FT_CONFIG_OPTION_SYSTEM_ZLIB;FTGL_LIBRARY_STATIC;FT2_BUILD_LIBRARY;GL_GLEXT_LEGACY=1;HAVE_PUTENV=1;VFS_ENABLE_C_API=1"
|
||||||
MinimalRebuild="false"
|
MinimalRebuild="false"
|
||||||
BasicRuntimeChecks="0"
|
BasicRuntimeChecks="0"
|
||||||
|
@ -116,7 +116,7 @@
|
||||||
FavorSizeOrSpeed="1"
|
FavorSizeOrSpeed="1"
|
||||||
OmitFramePointers="true"
|
OmitFramePointers="true"
|
||||||
EnableFiberSafeOptimizations="true"
|
EnableFiberSafeOptimizations="true"
|
||||||
AdditionalIncludeDirectories=""$(SolutionDir)\..\ExternalLibs\freetype2\include\freetype\config";"$(SolutionDir)\..\BBGE";"$(SolutionDir)\..\ExternalLibs\zlib";"$(SolutionDir)\..\ExternalLibs\png";"$(SolutionDir)\..\ExternalLibs\libogg\include";"$(SolutionDir)\..\ExternalLibs\libvorbis\include";"$(SolutionDir)\..\ExternalLibs\freetype2\include";"$(SolutionDir)\..\ExternalLibs\FTGL\include";"$(SolutionDir)\..\ExternalLibs\SDL2\include";"$(SolutionDir)\..\ExternalLibs\ttvfs";"$(SolutionDir)\..\ExternalLibs\ttvfs_cfileapi";"$(SolutionDir)\..\ExternalLibs\";"$(SolutionDir)\..\ExternalLibs\glpng""
|
AdditionalIncludeDirectories=""$(SolutionDir)\..\ExternalLibs\freetype2\include\freetype\config";"$(SolutionDir)\..\BBGE";"$(SolutionDir)\..\ExternalLibs\zlib";"$(SolutionDir)\..\ExternalLibs\png";"$(SolutionDir)\..\ExternalLibs\libogg\include";"$(SolutionDir)\..\ExternalLibs\libvorbis\include";"$(SolutionDir)\..\ExternalLibs\freetype2\include";"$(SolutionDir)\..\ExternalLibs\FTGL\include";"$(SolutionDir)\..\ExternalLibs\SDL2\include";"$(SolutionDir)\..\ExternalLibs\ttvfs";"$(SolutionDir)\..\ExternalLibs\ttvfs_cfileapi";"$(SolutionDir)\..\ExternalLibs\";"$(SolutionDir)\..\ExternalLibs\glpng";"$(SolutionDir)\..\ExternalLibs\AL\include""
|
||||||
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;HAVE_FCNTL_H;FT_CONFIG_OPTION_SYSTEM_ZLIB;FTGL_LIBRARY_STATIC;FT2_BUILD_LIBRARY;GL_GLEXT_LEGACY=1;TIXML_USE_STL=1;HAVE_PUTENV=1;_HAS_EXCEPTIONS=0;VFS_ENABLE_C_API=1"
|
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;HAVE_FCNTL_H;FT_CONFIG_OPTION_SYSTEM_ZLIB;FTGL_LIBRARY_STATIC;FT2_BUILD_LIBRARY;GL_GLEXT_LEGACY=1;TIXML_USE_STL=1;HAVE_PUTENV=1;_HAS_EXCEPTIONS=0;VFS_ENABLE_C_API=1"
|
||||||
StringPooling="true"
|
StringPooling="true"
|
||||||
ExceptionHandling="0"
|
ExceptionHandling="0"
|
||||||
|
@ -187,7 +187,7 @@
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
AdditionalOptions="/MP"
|
AdditionalOptions="/MP"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
AdditionalIncludeDirectories=""$(SolutionDir)\..\ExternalLibs\freetype2\include\freetype\config";"$(SolutionDir)\..\ExternalLibs\gl";"$(SolutionDir)\..\ExternalLibs\zlib";"$(SolutionDir)\..\ExternalLibs\png";"$(SolutionDir)\..\ExternalLibs\libogg\include";"$(SolutionDir)\..\ExternalLibs\libvorbis\include";"$(SolutionDir)\..\ExternalLibs\freetype2\include";"$(SolutionDir)\..\ExternalLibs\FTGL\include";"$(SolutionDir)\..\ExternalLibs\SDL12\include";"$(SolutionDir)\..\ExternalLibs\ttvfs";"$(SolutionDir)\..\ExternalLibs\ttvfs_cfileapi";"$(SolutionDir)\..\ExternalLibs\glpng";"$(SolutionDir)\..\ExternalLibs\";"$(SolutionDir)\..\ExternalLibs\tinyxml2""
|
AdditionalIncludeDirectories=""$(SolutionDir)\..\ExternalLibs\freetype2\include\freetype\config";"$(SolutionDir)\..\ExternalLibs\gl";"$(SolutionDir)\..\ExternalLibs\zlib";"$(SolutionDir)\..\ExternalLibs\png";"$(SolutionDir)\..\ExternalLibs\libogg\include";"$(SolutionDir)\..\ExternalLibs\libvorbis\include";"$(SolutionDir)\..\ExternalLibs\freetype2\include";"$(SolutionDir)\..\ExternalLibs\FTGL\include";"$(SolutionDir)\..\ExternalLibs\SDL12\include";"$(SolutionDir)\..\ExternalLibs\ttvfs";"$(SolutionDir)\..\ExternalLibs\ttvfs_cfileapi";"$(SolutionDir)\..\ExternalLibs\glpng";"$(SolutionDir)\..\ExternalLibs\";"$(SolutionDir)\..\ExternalLibs\tinyxml2";"$(SolutionDir)\..\ExternalLibs\AL\include""
|
||||||
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;HAVE_FCNTL_H;FT_CONFIG_OPTION_SYSTEM_ZLIB;FTGL_LIBRARY_STATIC;FT2_BUILD_LIBRARY;GL_GLEXT_LEGACY=1;HAVE_PUTENV=1;VFS_ENABLE_C_API=1"
|
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;HAVE_FCNTL_H;FT_CONFIG_OPTION_SYSTEM_ZLIB;FTGL_LIBRARY_STATIC;FT2_BUILD_LIBRARY;GL_GLEXT_LEGACY=1;HAVE_PUTENV=1;VFS_ENABLE_C_API=1"
|
||||||
MinimalRebuild="false"
|
MinimalRebuild="false"
|
||||||
BasicRuntimeChecks="0"
|
BasicRuntimeChecks="0"
|
||||||
|
@ -262,7 +262,7 @@
|
||||||
OmitFramePointers="true"
|
OmitFramePointers="true"
|
||||||
EnableFiberSafeOptimizations="true"
|
EnableFiberSafeOptimizations="true"
|
||||||
WholeProgramOptimization="true"
|
WholeProgramOptimization="true"
|
||||||
AdditionalIncludeDirectories=""$(SolutionDir)\..\ExternalLibs\freetype2\include\freetype\config";"$(SolutionDir)\..\ExternalLibs\gl";"$(SolutionDir)\..\ExternalLibs\zlib";"$(SolutionDir)\..\ExternalLibs\png";"$(SolutionDir)\..\ExternalLibs\libogg\include";"$(SolutionDir)\..\ExternalLibs\libvorbis\include";"$(SolutionDir)\..\ExternalLibs\freetype2\include";"$(SolutionDir)\..\ExternalLibs\FTGL\include";"$(SolutionDir)\..\ExternalLibs\SDL12\include";"$(SolutionDir)\..\ExternalLibs\ttvfs";"$(SolutionDir)\..\ExternalLibs\ttvfs_cfileapi";"$(SolutionDir)\..\ExternalLibs\glpng";"$(SolutionDir)\..\ExternalLibs\";"$(SolutionDir)\..\ExternalLibs\tinyxml2""
|
AdditionalIncludeDirectories=""$(SolutionDir)\..\ExternalLibs\freetype2\include\freetype\config";"$(SolutionDir)\..\ExternalLibs\gl";"$(SolutionDir)\..\ExternalLibs\zlib";"$(SolutionDir)\..\ExternalLibs\png";"$(SolutionDir)\..\ExternalLibs\libogg\include";"$(SolutionDir)\..\ExternalLibs\libvorbis\include";"$(SolutionDir)\..\ExternalLibs\freetype2\include";"$(SolutionDir)\..\ExternalLibs\FTGL\include";"$(SolutionDir)\..\ExternalLibs\SDL12\include";"$(SolutionDir)\..\ExternalLibs\ttvfs";"$(SolutionDir)\..\ExternalLibs\ttvfs_cfileapi";"$(SolutionDir)\..\ExternalLibs\glpng";"$(SolutionDir)\..\ExternalLibs\";"$(SolutionDir)\..\ExternalLibs\tinyxml2";"$(SolutionDir)\..\ExternalLibs\AL\include""
|
||||||
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;HAVE_FCNTL_H;FT_CONFIG_OPTION_SYSTEM_ZLIB;FTGL_LIBRARY_STATIC;FT2_BUILD_LIBRARY;GL_GLEXT_LEGACY=1;TIXML_USE_STL=1;HAVE_PUTENV=1;_HAS_EXCEPTIONS=0;VFS_ENABLE_C_API=1"
|
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;HAVE_FCNTL_H;FT_CONFIG_OPTION_SYSTEM_ZLIB;FTGL_LIBRARY_STATIC;FT2_BUILD_LIBRARY;GL_GLEXT_LEGACY=1;TIXML_USE_STL=1;HAVE_PUTENV=1;_HAS_EXCEPTIONS=0;VFS_ENABLE_C_API=1"
|
||||||
StringPooling="true"
|
StringPooling="true"
|
||||||
ExceptionHandling="0"
|
ExceptionHandling="0"
|
||||||
|
@ -341,6 +341,42 @@
|
||||||
RelativePath="..\..\ExternalLibs\minipstdint.h"
|
RelativePath="..\..\ExternalLibs\minipstdint.h"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\ExternalLibs\mojoal.c"
|
||||||
|
>
|
||||||
|
<FileConfiguration
|
||||||
|
Name="Debug|Win32"
|
||||||
|
>
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
CompileAs="2"
|
||||||
|
/>
|
||||||
|
</FileConfiguration>
|
||||||
|
<FileConfiguration
|
||||||
|
Name="Release|Win32"
|
||||||
|
>
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
CompileAs="2"
|
||||||
|
/>
|
||||||
|
</FileConfiguration>
|
||||||
|
<FileConfiguration
|
||||||
|
Name="Debug-SDL1.2|Win32"
|
||||||
|
>
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
CompileAs="2"
|
||||||
|
/>
|
||||||
|
</FileConfiguration>
|
||||||
|
<FileConfiguration
|
||||||
|
Name="Release-SDL1.2|Win32"
|
||||||
|
>
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
CompileAs="2"
|
||||||
|
/>
|
||||||
|
</FileConfiguration>
|
||||||
|
</File>
|
||||||
<Filter
|
<Filter
|
||||||
Name="glpng"
|
Name="glpng"
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in a new issue