doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
idal.cpp
Go to the documentation of this file.
1 // generated header. do not edit
2 // C:\Python23\Lib\idlelib\idle.pyw
3 // Mon Mar 28 12:31:26 2005
4 
5 ALenum ( ALAPIENTRY * idalGetError )( ALvoid ) = NULL;
6 ALvoid ( ALAPIENTRY * idalGenBuffers )( ALsizei, ALuint * ) = NULL;
7 ALboolean ( ALAPIENTRY * idalIsSource )( ALuint ) = NULL;
8 ALvoid ( ALAPIENTRY * idalSourceStop )( ALuint ) = NULL;
9 ALvoid ( ALAPIENTRY * idalGetSourcei )( ALuint, ALenum, ALint * ) = NULL;
10 ALint ( ALAPIENTRY * idalGetInteger )( ALenum ) = NULL;
11 ALCvoid ( ALAPIENTRY * idalcSuspendContext )( ALCcontext * ) = NULL;
12 ALCboolean ( ALAPIENTRY * idalcMakeContextCurrent )( ALCcontext * ) = NULL;
13 ALCvoid ( ALAPIENTRY * idalcProcessContext )( ALCcontext * ) = NULL;
14 ALCvoid ( ALAPIENTRY * idalcDestroyContext )( ALCcontext * ) = NULL;
16 ALvoid ( ALAPIENTRY * idalBufferData )( ALuint, ALenum, ALvoid *, ALsizei, ALsizei ) = NULL;
17 ALvoid ( ALAPIENTRY * idalDeleteBuffers )( ALsizei, ALuint * ) = NULL;
18 ALboolean ( ALAPIENTRY * idalIsExtensionPresent )( ALubyte * ) = NULL;
19 ALvoid ( ALAPIENTRY * idalDeleteSources )( ALsizei, ALuint * ) = NULL;
20 ALenum ( ALAPIENTRY * idalGetEnumValue )( ALubyte * ) = NULL;
24 ALvoid ( ALAPIENTRY * idalListenerfv )( ALenum, ALfloat* ) = NULL;
25 ALvoid ( ALAPIENTRY * idalSourceQueueBuffers )( ALuint, ALsizei, ALuint * ) = NULL;
26 ALvoid ( ALAPIENTRY * idalSourcei )( ALuint, ALenum, ALint ) = NULL;
27 ALvoid ( ALAPIENTRY * idalListenerf )( ALenum, ALfloat ) = NULL;
28 ALCvoid ( ALAPIENTRY * idalcCloseDevice )( ALCdevice * ) = NULL;
29 ALboolean ( ALAPIENTRY * idalIsBuffer )( ALuint ) = NULL;
30 ALvoid ( ALAPIENTRY * idalSource3f )( ALuint, ALenum, ALfloat, ALfloat, ALfloat ) = NULL;
31 ALvoid ( ALAPIENTRY * idalGenSources )( ALsizei, ALuint * ) = NULL;
32 ALvoid ( ALAPIENTRY * idalSourcef )( ALuint, ALenum, ALfloat ) = NULL;
33 ALvoid ( ALAPIENTRY * idalSourceUnqueueBuffers )( ALuint, ALsizei, ALuint * ) = NULL;
34 ALvoid ( ALAPIENTRY * idalSourcePlay )( ALuint ) = NULL;
35 
36 const char* InitializeIDAL( HMODULE h ) {
37 idalGetError = ( ALenum ( ALAPIENTRY * ) ( ALvoid ) )GetProcAddress( h, "alGetError" );
38 if ( !idalGetError) {
39  return "alGetError";
40 }
41 idalGenBuffers = ( ALvoid ( ALAPIENTRY * ) ( ALsizei, ALuint * ) )GetProcAddress( h, "alGenBuffers" );
42 if ( !idalGenBuffers) {
43  return "alGenBuffers";
44 }
45 idalIsSource = ( ALboolean ( ALAPIENTRY * ) ( ALuint ) )GetProcAddress( h, "alIsSource" );
46 if ( !idalIsSource) {
47  return "alIsSource";
48 }
49 idalSourceStop = ( ALvoid ( ALAPIENTRY * ) ( ALuint ) )GetProcAddress( h, "alSourceStop" );
50 if ( !idalSourceStop) {
51  return "alSourceStop";
52 }
53 idalGetSourcei = ( ALvoid ( ALAPIENTRY * ) ( ALuint, ALenum, ALint * ) )GetProcAddress( h, "alGetSourcei" );
54 if ( !idalGetSourcei) {
55  return "alGetSourcei";
56 }
57 idalGetInteger = ( ALint ( ALAPIENTRY * ) ( ALenum ) )GetProcAddress( h, "alGetInteger" );
58 if ( !idalGetInteger) {
59  return "alGetInteger";
60 }
61 idalcSuspendContext = ( ALCvoid ( ALAPIENTRY * ) ( ALCcontext * ) )GetProcAddress( h, "alcSuspendContext" );
62 if ( !idalcSuspendContext) {
63  return "alcSuspendContext";
64 }
65 idalcMakeContextCurrent = ( ALCboolean ( ALAPIENTRY * ) ( ALCcontext * ) )GetProcAddress( h, "alcMakeContextCurrent" );
66 if ( !idalcMakeContextCurrent) {
67  return "alcMakeContextCurrent";
68 }
69 idalcProcessContext = ( ALCvoid ( ALAPIENTRY * ) ( ALCcontext * ) )GetProcAddress( h, "alcProcessContext" );
70 if ( !idalcProcessContext) {
71  return "alcProcessContext";
72 }
73 idalcDestroyContext = ( ALCvoid ( ALAPIENTRY * ) ( ALCcontext * ) )GetProcAddress( h, "alcDestroyContext" );
74 if ( !idalcDestroyContext) {
75  return "alcDestroyContext";
76 }
77 idalcGetString = ( ALCubyte * ( ALAPIENTRY * ) ( ALCdevice *, ALCenum ) )GetProcAddress( h, "alcGetString" );
78 if ( !idalcGetString) {
79  return "alcGetString";
80 }
81 idalBufferData = ( ALvoid ( ALAPIENTRY * ) ( ALuint, ALenum, ALvoid *, ALsizei, ALsizei ) )GetProcAddress( h, "alBufferData" );
82 if ( !idalBufferData) {
83  return "alBufferData";
84 }
85 idalDeleteBuffers = ( ALvoid ( ALAPIENTRY * ) ( ALsizei, ALuint * ) )GetProcAddress( h, "alDeleteBuffers" );
86 if ( !idalDeleteBuffers) {
87  return "alDeleteBuffers";
88 }
89 idalIsExtensionPresent = ( ALboolean ( ALAPIENTRY * ) ( ALubyte * ) )GetProcAddress( h, "alIsExtensionPresent" );
90 if ( !idalIsExtensionPresent) {
91  return "alIsExtensionPresent";
92 }
93 idalDeleteSources = ( ALvoid ( ALAPIENTRY * ) ( ALsizei, ALuint * ) )GetProcAddress( h, "alDeleteSources" );
94 if ( !idalDeleteSources) {
95  return "alDeleteSources";
96 }
97 idalGetEnumValue = ( ALenum ( ALAPIENTRY * ) ( ALubyte * ) )GetProcAddress( h, "alGetEnumValue" );
98 if ( !idalGetEnumValue) {
99  return "alGetEnumValue";
100 }
101 idalGetProcAddress = ( ALvoid * ( ALAPIENTRY * ) ( ALubyte * ) )GetProcAddress( h, "alGetProcAddress" );
102 if ( !idalGetProcAddress) {
103  return "alGetProcAddress";
104 }
105 idalcCreateContext = ( ALCcontext * ( ALAPIENTRY * ) ( ALCdevice *, ALCint * ) )GetProcAddress( h, "alcCreateContext" );
106 if ( !idalcCreateContext) {
107  return "alcCreateContext";
108 }
109 idalcOpenDevice = ( ALCdevice * ( ALAPIENTRY * ) ( ALubyte * ) )GetProcAddress( h, "alcOpenDevice" );
110 if ( !idalcOpenDevice) {
111  return "alcOpenDevice";
112 }
113 idalListenerfv = ( ALvoid ( ALAPIENTRY * ) ( ALenum, ALfloat* ) )GetProcAddress( h, "alListenerfv" );
114 if ( !idalListenerfv) {
115  return "alListenerfv";
116 }
117 idalSourceQueueBuffers = ( ALvoid ( ALAPIENTRY * ) ( ALuint, ALsizei, ALuint * ) )GetProcAddress( h, "alSourceQueueBuffers" );
118 if ( !idalSourceQueueBuffers) {
119  return "alSourceQueueBuffers";
120 }
121 idalSourcei = ( ALvoid ( ALAPIENTRY * ) ( ALuint, ALenum, ALint ) )GetProcAddress( h, "alSourcei" );
122 if ( !idalSourcei) {
123  return "alSourcei";
124 }
125 idalListenerf = ( ALvoid ( ALAPIENTRY * ) ( ALenum, ALfloat ) )GetProcAddress( h, "alListenerf" );
126 if ( !idalListenerf) {
127  return "alListenerf";
128 }
129 idalcCloseDevice = ( ALCvoid ( ALAPIENTRY * ) ( ALCdevice * ) )GetProcAddress( h, "alcCloseDevice" );
130 if ( !idalcCloseDevice) {
131  return "alcCloseDevice";
132 }
133 idalIsBuffer = ( ALboolean ( ALAPIENTRY * ) ( ALuint ) )GetProcAddress( h, "alIsBuffer" );
134 if ( !idalIsBuffer) {
135  return "alIsBuffer";
136 }
137 idalSource3f = ( ALvoid ( ALAPIENTRY * ) ( ALuint, ALenum, ALfloat, ALfloat, ALfloat ) )GetProcAddress( h, "alSource3f" );
138 if ( !idalSource3f) {
139  return "alSource3f";
140 }
141 idalGenSources = ( ALvoid ( ALAPIENTRY * ) ( ALsizei, ALuint * ) )GetProcAddress( h, "alGenSources" );
142 if ( !idalGenSources) {
143  return "alGenSources";
144 }
145 idalSourcef = ( ALvoid ( ALAPIENTRY * ) ( ALuint, ALenum, ALfloat ) )GetProcAddress( h, "alSourcef" );
146 if ( !idalSourcef) {
147  return "alSourcef";
148 }
149 idalSourceUnqueueBuffers = ( ALvoid ( ALAPIENTRY * ) ( ALuint, ALsizei, ALuint * ) )GetProcAddress( h, "alSourceUnqueueBuffers" );
150 if ( !idalSourceUnqueueBuffers) {
151  return "alSourceUnqueueBuffers";
152 }
153 idalSourcePlay = ( ALvoid ( ALAPIENTRY * ) ( ALuint ) )GetProcAddress( h, "alSourcePlay" );
154 if ( !idalSourcePlay) {
155  return "alSourcePlay";
156 }
157 return NULL;
158 };
int ALint
OpenAL 32bit signed integer type.
Definition: altypes.h:48
unsigned char ALCubyte
ALC 8bit unsigned byte.
Definition: alctypes.h:36
#define ALAPIENTRY
Definition: al.h:44
ALfloat
Definition: idal.cpp:27
ALenum
Definition: idal.cpp:9
unsigned char ALubyte
OpenAL 8bit unsigned byte.
Definition: altypes.h:36
ALCcontext *ALAPIENTRY * idalcCreateContext(ALCdevice *, ALCint *)
ALuint * ALboolean(ALAPIENTRY *idalIsSource)(ALuint)
const char * InitializeIDAL(HMODULE h)
Definition: idal.cpp:36
float ALfloat
OpenAL 32bit floating point type.
Definition: altypes.h:51
ALCdevice *ALAPIENTRY * idalcOpenDevice(ALubyte *)
unsigned ALuint
OpenAL 32bit unsigned integer type.
Definition: altypes.h:45
ALCvoid(ALAPIENTRY *idalcSuspendContext)(ALCcontext *)
int ALCint
ALC 32bit signed integer type.
Definition: alctypes.h:48
#define NULL
Definition: Lib.h:88
ALCvoid ALCdevice
Definition: alc.h:28
ALfloat ALuint ALint
Definition: idal.cpp:26
ALvoid ALsizei
Definition: idal.cpp:16
void ALvoid
OpenAL void type.
Definition: altypes.h:60
ALCvoid ALCcontext
Definition: alc.h:29
int ALCenum
ALC enumerations.
Definition: alctypes.h:63
ALCboolean(ALAPIENTRY *idalcMakeContextCurrent)(ALCcontext *)
ALCubyte *ALAPIENTRY * idalcGetString(ALCdevice *, ALCenum)
ALvoid(ALAPIENTRY *idalGenBuffers)(ALsizei
ALvoid *ALAPIENTRY * idalGetProcAddress(ALubyte *)