Lines 39-44
Link Here
|
39 |
#include "gamedefs.h" |
39 |
#include "gamedefs.h" |
40 |
#include "s_local.h" |
40 |
#include "s_local.h" |
41 |
|
41 |
|
|
|
42 |
#ifndef AL_VERSION_1_1 |
43 |
typedef ALchar ALubyte; |
44 |
#endif |
45 |
|
42 |
class VOpenALDevice : public VSoundDevice |
46 |
class VOpenALDevice : public VSoundDevice |
43 |
{ |
47 |
{ |
44 |
private: |
48 |
private: |
Lines 165-175
Link Here
|
165 |
} |
169 |
} |
166 |
Z_Free(sbuf); |
170 |
Z_Free(sbuf); |
167 |
|
171 |
|
168 |
if (alIsExtensionPresent((ALubyte *)"EAX")) |
172 |
if (alIsExtensionPresent((ALchar*)"EAX")) |
169 |
{ |
173 |
{ |
170 |
GCon->Log(NAME_Init, "EAX 2.0 supported"); |
174 |
GCon->Log(NAME_Init, "EAX 2.0 supported"); |
171 |
pEAXSet = (EAXSet)alGetProcAddress((ALubyte *)"EAXSet"); |
175 |
pEAXSet = (EAXSet)alGetProcAddress((ALchar*)"EAXSet"); |
172 |
pEAXGet = (EAXGet)alGetProcAddress((ALubyte *)"EAXGet"); |
176 |
pEAXGet = (EAXGet)alGetProcAddress((ALchar*)"EAXGet"); |
173 |
supportEAX = true; |
177 |
supportEAX = true; |
174 |
} |
178 |
} |
175 |
|
179 |
|