World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
См. документацию.
4 #if defined(__cplusplus)
9 #if defined(AL_LIBTYPE_STATIC)
12 #define AL_API __declspec(dllimport)
19 #define AL_APIENTRY __cdecl
28 #define ALAPIENTRY AL_APIENTRY
29 #define AL_INVALID (-1)
30 #define AL_ILLEGAL_ENUM AL_INVALID_ENUM
31 #define AL_ILLEGAL_COMMAND AL_INVALID_OPERATION
34 #define AL_VERSION_1_0
35 #define AL_VERSION_1_1
97 #define AL_SOURCE_RELATIVE 0x202
108 #define AL_CONE_INNER_ANGLE 0x1001
118 #define AL_CONE_OUTER_ANGLE 0x1002
128 #define AL_PITCH 0x1003
144 #define AL_POSITION 0x1004
154 #define AL_DIRECTION 0x1005
163 #define AL_VELOCITY 0x1006
173 #define AL_LOOPING 0x1007
182 #define AL_BUFFER 0x1009
196 #define AL_GAIN 0x100A
206 #define AL_MIN_GAIN 0x100D
216 #define AL_MAX_GAIN 0x100E
228 #define AL_ORIENTATION 0x100F
235 #define AL_SOURCE_STATE 0x1010
238 #define AL_INITIAL 0x1011
239 #define AL_PLAYING 0x1012
240 #define AL_PAUSED 0x1013
241 #define AL_STOPPED 0x1014
250 #define AL_BUFFERS_QUEUED 0x1015
262 #define AL_BUFFERS_PROCESSED 0x1016
274 #define AL_REFERENCE_DISTANCE 0x1020
286 #define AL_ROLLOFF_FACTOR 0x1021
297 #define AL_CONE_OUTER_GAIN 0x1022
309 #define AL_MAX_DISTANCE 0x1023
312 #define AL_SEC_OFFSET 0x1024
314 #define AL_SAMPLE_OFFSET 0x1025
316 #define AL_BYTE_OFFSET 0x1026
331 #define AL_SOURCE_TYPE 0x1027
334 #define AL_STATIC 0x1028
335 #define AL_STREAMING 0x1029
336 #define AL_UNDETERMINED 0x1030
339 #define AL_FORMAT_MONO8 0x1100
340 #define AL_FORMAT_MONO16 0x1101
341 #define AL_FORMAT_STEREO8 0x1102
342 #define AL_FORMAT_STEREO16 0x1103
345 #define AL_FREQUENCY 0x2001
347 #define AL_BITS 0x2002
349 #define AL_CHANNELS 0x2003
351 #define AL_SIZE 0x2004
358 #define AL_UNUSED 0x2010
359 #define AL_PENDING 0x2011
360 #define AL_PROCESSED 0x2012
364 #define AL_NO_ERROR 0
367 #define AL_INVALID_NAME 0xA001
370 #define AL_INVALID_ENUM 0xA002
373 #define AL_INVALID_VALUE 0xA003
376 #define AL_INVALID_OPERATION 0xA004
379 #define AL_OUT_OF_MEMORY 0xA005
383 #define AL_VENDOR 0xB001
385 #define AL_VERSION 0xB002
387 #define AL_RENDERER 0xB003
389 #define AL_EXTENSIONS 0xB004
400 #define AL_DOPPLER_FACTOR 0xC000
408 #define AL_DOPPLER_VELOCITY 0xC001
420 #define AL_SPEED_OF_SOUND 0xC003
441 #define AL_DISTANCE_MODEL 0xD000
445 #define AL_INVERSE_DISTANCE 0xD001
446 #define AL_INVERSE_DISTANCE_CLAMPED 0xD002
447 #define AL_LINEAR_DISTANCE 0xD003
448 #define AL_LINEAR_DISTANCE_CLAMPED 0xD004
449 #define AL_EXPONENT_DISTANCE 0xD005
450 #define AL_EXPONENT_DISTANCE_CLAMPED 0xD006
652 #if defined(__cplusplus)
void(AL_APIENTRY * LPALDELETEBUFFERS)(ALsizei n, const ALuint *buffers)
AL_API ALboolean AL_APIENTRY alIsEnabled(ALenum capability)
AL_API void AL_APIENTRY alGenSources(ALsizei n, ALuint *sources)
AL_API void AL_APIENTRY alListeneriv(ALenum param, const ALint *values)
void(AL_APIENTRY * LPALGETLISTENERFV)(ALenum param, ALfloat *values)
void(AL_APIENTRY * LPALDOPPLERVELOCITY)(ALfloat value)
AL_API void AL_APIENTRY alSourceRewindv(ALsizei n, const ALuint *sources)
void(AL_APIENTRY * LPALGETINTEGERV)(ALenum param, ALint *values)
AL_API void AL_APIENTRY alListenerf(ALenum param, ALfloat value)
AL_API void AL_APIENTRY alDistanceModel(ALenum distanceModel)
AL_API void AL_APIENTRY alGetListeneriv(ALenum param, ALint *values)
AL_API void AL_APIENTRY alGetIntegerv(ALenum param, ALint *values)
void(AL_APIENTRY * LPALBUFFERI)(ALuint buffer, ALenum param, ALint value)
void(AL_APIENTRY * LPALGETSOURCEFV)(ALuint source, ALenum param, ALfloat *values)
AL_API void AL_APIENTRY alSourcePlayv(ALsizei n, const ALuint *sources)
AL_API void AL_APIENTRY alSourceStopv(ALsizei n, const ALuint *sources)
AL_API ALboolean AL_APIENTRY alGetBoolean(ALenum param)
ALenum(AL_APIENTRY * LPALGETERROR)(void)
AL_API void AL_APIENTRY alGetBuffer3i(ALuint buffer, ALenum param, ALint *value1, ALint *value2, ALint *value3)
void(AL_APIENTRY * LPALSOURCEUNQUEUEBUFFERS)(ALuint source, ALsizei nb, ALuint *buffers)
AL_API void AL_APIENTRY alSourcef(ALuint source, ALenum param, ALfloat value)
GLsizei GLsizei GLchar * source
AL_API void AL_APIENTRY alBufferi(ALuint buffer, ALenum param, ALint value)
void(AL_APIENTRY * LPALGETDOUBLEV)(ALenum param, ALdouble *values)
void(AL_APIENTRY * LPALGETSOURCE3F)(ALuint source, ALenum param, ALfloat *value1, ALfloat *value2, ALfloat *value3)
AL_API void AL_APIENTRY alGetListeneri(ALenum param, ALint *value)
AL_API void AL_APIENTRY alGetSourceiv(ALuint source, ALenum param, ALint *values)
void(AL_APIENTRY * LPALGENSOURCES)(ALsizei n, ALuint *sources)
AL_API ALboolean AL_APIENTRY alIsExtensionPresent(const ALchar *extname)
AL_API void AL_APIENTRY alGetListenerfv(ALenum param, ALfloat *values)
void(AL_APIENTRY * LPALGETBUFFERI)(ALuint buffer, ALenum param, ALint *value)
void(AL_APIENTRY * LPALDELETESOURCES)(ALsizei n, const ALuint *sources)
AL_API void AL_APIENTRY alBufferData(ALuint buffer, ALenum format, const ALvoid *data, ALsizei size, ALsizei freq)
GLenum GLsizei GLsizei GLint * values
AL_API void AL_APIENTRY alBufferf(ALuint buffer, ALenum param, ALfloat value)
AL_API void AL_APIENTRY alSourceUnqueueBuffers(ALuint source, ALsizei nb, ALuint *buffers)
AL_API void AL_APIENTRY alGetBufferfv(ALuint buffer, ALenum param, ALfloat *values)
AL_API ALint AL_APIENTRY alGetInteger(ALenum param)
AL_API void AL_APIENTRY alBuffer3f(ALuint buffer, ALenum param, ALfloat value1, ALfloat value2, ALfloat value3)
void(AL_APIENTRY * LPALBUFFER3I)(ALuint buffer, ALenum param, ALint value1, ALint value2, ALint value3)
void(AL_APIENTRY * LPALGETBUFFERIV)(ALuint buffer, ALenum param, ALint *values)
void(AL_APIENTRY * LPALGETLISTENERI)(ALenum param, ALint *value)
AL_API void AL_APIENTRY alGetSource3f(ALuint source, ALenum param, ALfloat *value1, ALfloat *value2, ALfloat *value3)
AL_API void AL_APIENTRY alSourceStop(ALuint source)
AL_API void *AL_APIENTRY alGetProcAddress(const ALchar *fname)
const AL_API ALchar *AL_APIENTRY alGetString(ALenum param)
void(AL_APIENTRY * LPALBUFFERDATA)(ALuint buffer, ALenum format, const ALvoid *data, ALsizei size, ALsizei freq)
AL_API void AL_APIENTRY alGetBufferf(ALuint buffer, ALenum param, ALfloat *value)
AL_API void AL_APIENTRY alListener3f(ALenum param, ALfloat value1, ALfloat value2, ALfloat value3)
AL_API ALfloat AL_APIENTRY alGetFloat(ALenum param)
void(AL_APIENTRY * LPALLISTENER3F)(ALenum param, ALfloat value1, ALfloat value2, ALfloat value3)
EGLContext EGLenum EGLClientBuffer buffer
void(AL_APIENTRY * LPALGETSOURCEIV)(ALuint source, ALenum param, ALint *values)
AL_API void AL_APIENTRY alGetListener3f(ALenum param, ALfloat *value1, ALfloat *value2, ALfloat *value3)
void(AL_APIENTRY * LPALDISABLE)(ALenum capability)
void(AL_APIENTRY * LPALGETFLOATV)(ALenum param, ALfloat *values)
void(AL_APIENTRY * LPALGETBUFFER3I)(ALuint buffer, ALenum param, ALint *value1, ALint *value2, ALint *value3)
ALboolean(AL_APIENTRY * LPALGETBOOLEAN)(ALenum param)
AL_API void AL_APIENTRY alBufferiv(ALuint buffer, ALenum param, const ALint *values)
AL_API void AL_APIENTRY alBuffer3i(ALuint buffer, ALenum param, ALint value1, ALint value2, ALint value3)
AL_API void AL_APIENTRY alEnable(ALenum capability)
AL_API void AL_APIENTRY alBufferfv(ALuint buffer, ALenum param, const ALfloat *values)
void(AL_APIENTRY * LPALGETLISTENER3F)(ALenum param, ALfloat *value1, ALfloat *value2, ALfloat *value3)
void(AL_APIENTRY * LPALGETLISTENER3I)(ALenum param, ALint *value1, ALint *value2, ALint *value3)
AL_API void AL_APIENTRY alGetSourcei(ALuint source, ALenum param, ALint *value)
AL_API void AL_APIENTRY alSourceRewind(ALuint source)
AL_API void AL_APIENTRY alSourcePausev(ALsizei n, const ALuint *sources)
ALfloat(AL_APIENTRY * LPALGETFLOAT)(ALenum param)
AL_API void AL_APIENTRY alSourceQueueBuffers(ALuint source, ALsizei nb, const ALuint *buffers)
void(AL_APIENTRY * LPALENABLE)(ALenum capability)
void(AL_APIENTRY * LPALGETSOURCEF)(ALuint source, ALenum param, ALfloat *value)
ALdouble(AL_APIENTRY * LPALGETDOUBLE)(ALenum param)
AL_API void AL_APIENTRY alGetBufferi(ALuint buffer, ALenum param, ALint *value)
void(AL_APIENTRY * LPALGETLISTENERF)(ALenum param, ALfloat *value)
AL_API void AL_APIENTRY alGetSource3i(ALuint source, ALenum param, ALint *value1, ALint *value2, ALint *value3)
AL_API void AL_APIENTRY alListeneri(ALenum param, ALint value)
ALboolean(AL_APIENTRY * LPALISBUFFER)(ALuint buffer)
void(AL_APIENTRY * LPALSOURCEPLAYV)(ALsizei n, const ALuint *sources)
void(AL_APIENTRY * LPALSOURCE3I)(ALuint source, ALenum param, ALint value1, ALint value2, ALint value3)
ALboolean(AL_APIENTRY * LPALISEXTENSIONPRESENT)(const ALchar *extname)
void(AL_APIENTRY * LPALSOURCEPLAY)(ALuint source)
AL_API void AL_APIENTRY alGetBufferiv(ALuint buffer, ALenum param, ALint *values)
AL_API void AL_APIENTRY alGetFloatv(ALenum param, ALfloat *values)
AL_API void AL_APIENTRY alDopplerVelocity(ALfloat value)
void(AL_APIENTRY * LPALGETBUFFERF)(ALuint buffer, ALenum param, ALfloat *value)
void(AL_APIENTRY * LPALSOURCEREWIND)(ALuint source)
ALboolean(AL_APIENTRY * LPALISENABLED)(ALenum capability)
void(AL_APIENTRY * LPALSOURCEPAUSE)(ALuint source)
void(AL_APIENTRY * LPALDOPPLERFACTOR)(ALfloat value)
void(AL_APIENTRY * LPALLISTENER3I)(ALenum param, ALint value1, ALint value2, ALint value3)
EGLSyncKHR EGLint EGLint * value
void(AL_APIENTRY * LPALSOURCEREWINDV)(ALsizei n, const ALuint *sources)
AL_API void AL_APIENTRY alListener3i(ALenum param, ALint value1, ALint value2, ALint value3)
void(AL_APIENTRY * LPALSOURCEFV)(ALuint source, ALenum param, const ALfloat *values)
AL_API void AL_APIENTRY alGetBuffer3f(ALuint buffer, ALenum param, ALfloat *value1, ALfloat *value2, ALfloat *value3)
void(AL_APIENTRY * LPALGETSOURCE3I)(ALuint source, ALenum param, ALint *value1, ALint *value2, ALint *value3)
AL_API void AL_APIENTRY alDeleteBuffers(ALsizei n, const ALuint *buffers)
void(AL_APIENTRY * LPALGETLISTENERIV)(ALenum param, ALint *values)
AL_API ALboolean AL_APIENTRY alIsSource(ALuint source)
AL_API void AL_APIENTRY alSource3f(ALuint source, ALenum param, ALfloat value1, ALfloat value2, ALfloat value3)
AL_API void AL_APIENTRY alListenerfv(ALenum param, const ALfloat *values)
void(AL_APIENTRY * LPALBUFFER3F)(ALuint buffer, ALenum param, ALfloat value1, ALfloat value2, ALfloat value3)
AL_API ALenum AL_APIENTRY alGetError(void)
AL_API void AL_APIENTRY alGetDoublev(ALenum param, ALdouble *values)
typedef void(SDLCALL *SDL_AudioFilter)(struct SDL_AudioCVT *cvt
void(AL_APIENTRY * LPALSOURCEPAUSEV)(ALsizei n, const ALuint *sources)
AL_API void AL_APIENTRY alGetBooleanv(ALenum param, ALboolean *values)
AL_API void AL_APIENTRY alSourcePlay(ALuint source)
void(AL_APIENTRY * LPALLISTENERFV)(ALenum param, const ALfloat *values)
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
ALenum(AL_APIENTRY * LPALGETENUMVALUE)(const ALchar *ename)
AL_API void AL_APIENTRY alDeleteSources(ALsizei n, const ALuint *sources)
void(AL_APIENTRY * LPALGETBUFFER3F)(ALuint buffer, ALenum param, ALfloat *value1, ALfloat *value2, ALfloat *value3)
ALint(AL_APIENTRY * LPALGETINTEGER)(ALenum param)
AL_API void AL_APIENTRY alSourcei(ALuint source, ALenum param, ALint value)
AL_API void AL_APIENTRY alSourcePause(ALuint source)
void(AL_APIENTRY * LPALSOURCESTOP)(ALuint source)
AL_API ALenum AL_APIENTRY alGetEnumValue(const ALchar *ename)
void(AL_APIENTRY * LPALGETBUFFERFV)(ALuint buffer, ALenum param, ALfloat *values)
void(AL_APIENTRY * LPALSOURCE3F)(ALuint source, ALenum param, ALfloat value1, ALfloat value2, ALfloat value3)
void(AL_APIENTRY * LPALGETSOURCEI)(ALuint source, ALenum param, ALint *value)
void(AL_APIENTRY * LPALSOURCEQUEUEBUFFERS)(ALuint source, ALsizei nb, const ALuint *buffers)
AL_API void AL_APIENTRY alSourcefv(ALuint source, ALenum param, const ALfloat *values)
void(AL_APIENTRY * LPALBUFFERF)(ALuint buffer, ALenum param, ALfloat value)
void(AL_APIENTRY * LPALLISTENERIV)(ALenum param, const ALint *values)
AL_API ALdouble AL_APIENTRY alGetDouble(ALenum param)
AL_API void AL_APIENTRY alSpeedOfSound(ALfloat value)
void *(AL_APIENTRY * LPALGETPROCADDRESS)(const ALchar *fname)
void(AL_APIENTRY * LPALLISTENERF)(ALenum param, ALfloat value)
AL_API void AL_APIENTRY alGenBuffers(ALsizei n, ALuint *buffers)
AL_API void AL_APIENTRY alSourceiv(ALuint source, ALenum param, const ALint *values)
AL_API void AL_APIENTRY alDopplerFactor(ALfloat value)
void(AL_APIENTRY * LPALSOURCEI)(ALuint source, ALenum param, ALint value)
void(AL_APIENTRY * LPALBUFFERIV)(ALuint buffer, ALenum param, const ALint *values)
void(AL_APIENTRY * LPALSOURCESTOPV)(ALsizei n, const ALuint *sources)
AL_API void AL_APIENTRY alSource3i(ALuint source, ALenum param, ALint value1, ALint value2, ALint value3)
void(AL_APIENTRY * LPALBUFFERFV)(ALuint buffer, ALenum param, const ALfloat *values)
ALboolean(AL_APIENTRY * LPALISSOURCE)(ALuint source)
void(AL_APIENTRY * LPALSOURCEF)(ALuint source, ALenum param, ALfloat value)
void(AL_APIENTRY * LPALDISTANCEMODEL)(ALenum distanceModel)
void(AL_APIENTRY * LPALSPEEDOFSOUND)(ALfloat value)
void(AL_APIENTRY * LPALGENBUFFERS)(ALsizei n, ALuint *buffers)
AL_API void AL_APIENTRY alGetListenerf(ALenum param, ALfloat *value)
void(AL_APIENTRY * LPALSOURCEIV)(ALuint source, ALenum param, const ALint *values)
AL_API void AL_APIENTRY alGetSourcefv(ALuint source, ALenum param, ALfloat *values)
AL_API void AL_APIENTRY alDisable(ALenum capability)
void(AL_APIENTRY * LPALLISTENERI)(ALenum param, ALint value)
AL_API void AL_APIENTRY alGetListener3i(ALenum param, ALint *value1, ALint *value2, ALint *value3)
AL_API void AL_APIENTRY alGetSourcef(ALuint source, ALenum param, ALfloat *value)
const typedef ALchar *AL_APIENTRY * LPALGETSTRING(ALenum param)
void(AL_APIENTRY * LPALGETBOOLEANV)(ALenum param, ALboolean *values)
AL_API ALboolean AL_APIENTRY alIsBuffer(ALuint buffer)