[sdljava-users] sdljava-0.9.1 released!
Status: Beta
Brought to you by:
ivan_ganza
From: Ivan Z. G. <iva...@ya...> - 2005-02-20 22:32:39
|
Greetings, I'm happy to announce the next release of sdljava - sdljava-0.9.1 sdljava is a java binding to the SDL API. This release includes many new features. The major changes were the removal of the dependency on JDK 1.5 and the addition of the OpenGL binding via GLEW (http://glew.sourceforge.net) and a binding to FTGL (http://homepages.paradise.net.nz/henryj/code/#FTGL). Also a new developer has joined the team: Bart LEBEOUF bartleboeuf at yahoo.fr. Bart has helped create the build environments on the windows side as well many additions in various places in the codebase. I hope you find this useful. Please send any questions to the mailing list. -Ivan/ ------------------------------ Changes: * added jniclasscode pragma's to swig interface (.i) files which cal= l System.loadLibrary for the appropriate lib. Now there is no need t= o call System.loadLibrary explictly from code which utilizes sdljava =20 * added new methods to SDLMixer (SDLMixer version requirement is stil= l 1.2.5) public static MixChunk loadWAV(Buffer buf) throws SDLException public static MixChunk loadWAV(byte[] data) throws SDLException public static MixChunk loadWAV(URL url) throws SDLException,=20 IOException, MalformedURLException public static MixChunk loadWAV(InputStream in) throws=20 SDLException, IOException =20 public static MixMusic loadMUS(Buffer buf) throws SDLException { public static MixMusic loadMUS(byte[] data) throws SDLException public static MixMusic loadMUS(URL url) throws SDLException,=20 IOException, MalformedURLException public static MixMusic loadMUS(InputStream in) throws=20 SDLException, IOException =20 * added new methods to SDLImage public static SDLSurface load(Buffer buf) throws SDLException public static SDLSurface load(byte[] data) throws SDLException public static SDLSurface load(URL url) throws SDLException,=20 IOException, MalformedURLException public static SDLSurface load(InputStream in ) throws=20 SDLException, IOException =20 * JDK 1.5 enumerations removed. Any existing code which used these enumerations needs to be slightly modified. Please see tests for examples of how to use. =20 * CDStatus.java is no longer a JDK 1.5 enumeration * SDLGrabMode.java is no longer a JDK 1.5 enumeration * SDLAppState.java is no longer a JDK 1.5 enumeration * SDLEventAction.java is no longer a JDK 1.5 enumeration * SDLEventState.java is no longer a JDK 1.5 enumeration * SDLKey.java is no longer a JDK 1.5 enumeration * SDLEvent.java method eventState now takes an int for the event type method getKeyName now takes an int method getType now returns an int =20 * ALL JDK 1.5 dependencies removed. JDK 1.5 is no longer required!! =20 * OpenGL 1.1 Support added!!! * new methods on SDLSurface getGL() and glSwapBuffers() to access =20 * BufferUtil.java changed readInputStream() so that when it created the ByteBuffer to ordering is set to the native byte order. =20 * SDLSurface added mustLock() method =20 * BufferUtil.java: integrated patch from Robert Schuster <theBohemian at gmx.net> which fixed the problem of loading byte streams from URLs over the network. Thanks Robert! =20 * SDLSurface added ByteBuffer getPixelData() method which returns direct byte buffer for pixel data access! Removed get/setPixelDataXXXX() methods =20 * FTGL binding added=20 (http://homepages.paradise.net.nz/henryj/code/#FTGL). =20 Font support is now available for OpenGL binding. Check out=20 FTGLTest example code. =20 * Moved gljava and ftgl build to src/org/gljava/opengl/native directo= ry =20 * Added ability to disable automatic loading of shared library. Specify -Dsdljava.bootclasspath=3Dtrue (or any value) to the java v= m and no shared libraries will be loaded. =20 Thanks to St=E9phane Meslin-Weber <steph at tangency.co.uk> for the suggestions. =20 * added org.gljava.opengl.model package to faciliate dealing with 3D model data. Also added gljava_export.py blender export script whic= h exports xml format file which can be imported by XMLModelLoader in same pacakge. (there is much to be done here stil...) =20 * added DebugGL for debug pipeline support. Please see source file for documentatin. =20 * Changed methods in SDLGfx which took short[] to take ShortBuffer instances instead. Note: these methods are currently not working. =20 * added version API; SDLMain.getSDLVersion(),=20 SDLMixer.getMixVersion(), SDLTTF.getTTFVersion() ------------------------------ Required/Recommended Libraries: (higher version should be fine) - Java 1.4 - SDL 1.2.7 =20 - GLEW 1.3.1 (http://glew.sourceforge.net) for OpenGL Support (option= al) - FTGL 2.1.3 (http://homepages.paradise.net.nz/henryj/code/#FTGL)=20 for FreeType font Support w/OpenGL (optional) =20 - SDL_image 1.2.3 (optional) - SDL_mixer 1.2.5 (optional) - SDL_ttf 2.0.6 (optional) - SDL_gfx 2.0.13 (optional) =20 - Ant 1.6.2 (optional, only if you need want to compile java sources) - SWIG 1.3.22 (optional, only if you want to re-generate native layer) - Ruby 1.8.2 (optional, only if you want to re-generate SOME of native layer) |