From: Elias N. <eli...@us...> - 2002-12-14 13:52:28
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/common In directory sc8-pr-cvs1:/tmp/cvs-serv23384/common Modified Files: extal.h Log Message: Even more linux oal fixes Index: extal.h CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/common/extal.h =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/common/extal.h,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- extal.h 14 Dec 2002 13:44:55 -0000 1.11 +++ extal.h 14 Dec 2002 13:52:25 -0000 1.12 @@ -53,6 +53,9 @@ #define ALCAPI __declspec(dllimport) #endif + typedef struct ALCdevice_struct ALCdevice; + typedef struct ALCcontext_struct ALCcontext; + #define ALCAPIENTRY __cdecl #else #ifdef TARGET_OS_MAC @@ -62,6 +65,40 @@ #endif #define ALCAPI #define ALCAPIENTRY + +/** ALC boolean type. */ +typedef char ALCboolean; + +/** ALC 8bit signed byte. */ +typedef char ALCbyte; + +/** ALC 8bit unsigned byte. */ +typedef unsigned char ALCubyte; + +/** ALC 16bit signed short integer type. */ +typedef short ALCshort; + +/** ALC 16bit unsigned short integer type. */ +typedef unsigned short ALCushort; + +/** ALC 32bit unsigned integer type. */ +typedef unsigned ALCuint; + +/** ALC 32bit signed integer type. */ +typedef int ALCint; + +/** ALC 32bit floating point type. */ +typedef float ALCfloat; + +/** ALC 64bit double point type. */ +typedef double ALCdouble; + +/** ALC 32bit type. */ +typedef unsigned int ALCsizei; + +/** ALC void type */ +typedef void ALCvoid; + #endif #ifdef _WIN32 @@ -99,9 +136,6 @@ #define INITGUID #define OPENAL - - typedef struct ALCdevice_struct ALCdevice; - typedef struct ALCcontext_struct ALCcontext; int InitializeOpenAL(); void DeInitializeOpenAL(); |