]> git.jsancho.org Git - lugaru.git/blob - Source/alstubs.h
Simplify idle animations
[lugaru.git] / Source / alstubs.h
1 /*
2 Copyright (C) 2003, 2010 - Wolfire Games
3
4 This file is part of Lugaru.
5
6 Lugaru is free software; you can redistribute it and/or
7 modify it under the terms of the GNU General Public License
8 as published by the Free Software Foundation; either version 2
9 of the License, or (at your option) any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
14
15 See the GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
20 */
21
22
23 AL_FUNC(AL,void,alGenSources,(ALsizei n, ALuint* sources),(n,sources),)
24 AL_FUNC(AL,void,alDeleteSources,(ALsizei n, ALuint* sources),(n,sources),)
25 AL_FUNC(AL,void,alSourcei,(ALuint sid, ALenum param, ALint value),(sid,param,value),)
26 AL_FUNC(AL,void,alSourcef,(ALuint sid, ALenum param, ALfloat value),(sid,param,value),)
27 AL_FUNC(AL,void,alSource3f,(ALuint sid, ALenum param, ALfloat f1, ALfloat f2, ALfloat f3),(sid,param,f1,f2,f3),)
28 AL_FUNC(AL,void,alGetSourceiv,(ALuint sid, ALenum pname, ALint* values),(sid,pname,values),)
29 AL_FUNC(AL,void,alSourcePlay,(ALuint sid),(sid),)
30 AL_FUNC(AL,void,alSourcePause,(ALuint sid),(sid),)
31 AL_FUNC(AL,void,alSourceStop,(ALuint sid),(sid),)
32 AL_FUNC(AL,void,alGenBuffers,(ALsizei n, ALuint* buffers),(n,buffers),)
33 AL_FUNC(AL,void,alDeleteBuffers,(ALsizei n, ALuint* buffers),(n,buffers),)
34 AL_FUNC(AL,void,alBufferData,(ALuint buffer, ALenum format, ALvoid *data, ALsizei size, ALsizei freq),(buffer,format,data,size,freq),)
35 AL_FUNC(AL,void,alListenerfv,(ALenum pname, ALfloat* param),(pname,param),)
36 AL_FUNC(AL,void,alListener3f,(ALenum pname, ALfloat f1, ALfloat f2, ALfloat f3),(pname,f1,f2,f3),)
37 AL_FUNC(AL,void,alListenerf,(ALenum pname, ALfloat param),(pname,param),)
38 AL_FUNC(AL,ALenum,alGetError,(ALvoid),(),return)
39 AL_FUNC(AL,const ALubyte*,alGetString,(ALenum param),(param),return)
40 AL_FUNC(AL,ALboolean,alIsExtensionPresent,(const ALubyte* fname),(fname),return)
41 AL_FUNC(AL,ALenum,alGetEnumValue,(const ALubyte* ename),(ename),return)
42 AL_FUNC(ALC,ALCcontext *,alcCreateContext,(ALCdevice *dev, ALint* attrlist),(dev,attrlist),return)
43 AL_FUNC(ALC,ALCenum,alcMakeContextCurrent,(ALCcontext *alcHandle),(alcHandle),return)
44 AL_FUNC(ALC,ALCcontext *,alcProcessContext,(ALCcontext *alcHandle),(alcHandle),return)
45 AL_FUNC(ALC,void,alcSuspendContext,(ALCcontext *alcHandle),(alcHandle),)
46 AL_FUNC(ALC,ALCenum,alcDestroyContext,(ALCcontext *alcHandle),(alcHandle),return)
47 AL_FUNC(ALC,ALCenum,alcGetError,(ALCdevice *dev),(dev),return)
48 AL_FUNC(ALC,ALCcontext *,alcGetCurrentContext,(ALvoid),(),return)
49 AL_FUNC(ALC,ALCdevice *,alcOpenDevice,(const ALubyte *tokstr),(tokstr),return)
50 AL_FUNC(ALC,void,alcCloseDevice,(ALCdevice *dev),(dev),)
51 AL_FUNC(ALC,ALCdevice*,alcGetContextsDevice,(ALCcontext *context),(context),return)