if (WIN32)
set(LUGARU_HAS_INTERNAL_SDL True)
if (MSVC)
- set(SDL_LIBRARY
- ${SDLDIR}/lib/win32/msvc/SDL.lib
+ set(SDLMAIN_LIBRARY
${SDLDIR}/lib/win32/msvc/SDLmain.lib
)
+ set(SDL_LIBRARY_TEMP
+ ${SDLDIR}/lib/win32/msvc/SDL.lib
+ )
endif (MSVC)
if (MINGW)
- set(SDL_LIBRARY
- ${SDLDIR}/lib/win32/mingw/libSDL.dll.a
+ set(SDLMAIN_LIBRARY
${SDLDIR}/lib/win32/mingw/libSDLmain.a
)
+ set(SDL_LIBRARY_TEMP
+ ${SDLDIR}/lib/win32/mingw/libSDL.dll.a
+ )
endif (MINGW)
endif (WIN32)
extern "C" {
#endif
+#undef AL_API
+#define AL_API
+
AL_API void OPENAL_3D_Listener_SetAttributes(const float *pos, const float *vel, float fx, float fy, float fz, float tx, float ty, float tz);
AL_API signed char OPENAL_3D_SetAttributes(int channel, const float *pos, const float *vel);
AL_API void OPENAL_3D_SetDopplerFactor(float scale);