Hello, I've been converting the tutorial available in the CS manual into java... But I've found some problem to implement the 'Maze' application... I did need to change something in the 'cspace.i' file.
The problem is that it is impossible to set the 'CS_ENTITY_NOHITBEAM' flags to the laser mesh preventing the hitbeam to function properly. To make it work I've added the following in the cspace.i: %include "csutil/flags.h" %inline %{ void setUint32(csFlags & flag, int i) { flag.Set(i); } %} It is now possible to set the flag in java this way: cspace.setUint32(laserbeam.GetFlags(), cspaceConstants.CS_ENTITY_NOHITBEAM); You can download the four tutorials translated in java at http://www.allcolor.org/crystalspace-tutorial-java-src.jar I plan to work with crystalspace and the java binding, are there a maintener/users of the binding ? Where can I find some documentation about the swig files (cspace.i, javapost.i, javapre.i) ? Regards, Quentin Anciaux ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Crystal-main mailing list Crystal-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/crystal-main Unsubscribe: mailto:[EMAIL PROTECTED]