You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(134) |
Sep
(52) |
Oct
(13) |
Nov
(342) |
Dec
(163) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(44) |
Feb
(62) |
Mar
(158) |
Apr
(38) |
May
(70) |
Jun
(58) |
Jul
(104) |
Aug
(207) |
Sep
(83) |
Oct
(122) |
Nov
(23) |
Dec
(49) |
| 2004 |
Jan
(119) |
Feb
(132) |
Mar
(192) |
Apr
(140) |
May
(77) |
Jun
(74) |
Jul
(201) |
Aug
(63) |
Sep
(102) |
Oct
(70) |
Nov
(173) |
Dec
(78) |
| 2005 |
Jan
(174) |
Feb
(197) |
Mar
(105) |
Apr
(59) |
May
(77) |
Jun
(43) |
Jul
(21) |
Aug
(18) |
Sep
(47) |
Oct
(37) |
Nov
(74) |
Dec
(50) |
| 2006 |
Jan
(44) |
Feb
(19) |
Mar
(32) |
Apr
(24) |
May
(31) |
Jun
(55) |
Jul
(138) |
Aug
(28) |
Sep
(12) |
Oct
(41) |
Nov
(58) |
Dec
(24) |
| 2007 |
Jan
(28) |
Feb
(14) |
Mar
(10) |
Apr
(68) |
May
(30) |
Jun
(26) |
Jul
(18) |
Aug
(63) |
Sep
(19) |
Oct
(29) |
Nov
(20) |
Dec
(10) |
| 2008 |
Jan
(38) |
Feb
(7) |
Mar
(37) |
Apr
(120) |
May
(41) |
Jun
(36) |
Jul
(39) |
Aug
(24) |
Sep
(28) |
Oct
(30) |
Nov
(36) |
Dec
(75) |
| 2009 |
Jan
(46) |
Feb
(22) |
Mar
(50) |
Apr
(70) |
May
(134) |
Jun
(105) |
Jul
(75) |
Aug
(34) |
Sep
(38) |
Oct
(34) |
Nov
(19) |
Dec
(20) |
| 2010 |
Jan
(11) |
Feb
(20) |
Mar
(65) |
Apr
(83) |
May
(104) |
Jun
(73) |
Jul
(78) |
Aug
(57) |
Sep
(43) |
Oct
(35) |
Nov
(9) |
Dec
(4) |
| 2011 |
Jan
(21) |
Feb
(11) |
Mar
(18) |
Apr
(10) |
May
(18) |
Jun
(15) |
Jul
(48) |
Aug
(25) |
Sep
(17) |
Oct
(45) |
Nov
(15) |
Dec
(12) |
| 2012 |
Jan
(21) |
Feb
(9) |
Mar
(12) |
Apr
(9) |
May
(9) |
Jun
(5) |
Jul
(1) |
Aug
(10) |
Sep
(12) |
Oct
(1) |
Nov
(28) |
Dec
(5) |
| 2013 |
Jan
(4) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
| 2015 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
| 2016 |
Jan
(2) |
Feb
(1) |
Mar
(1) |
Apr
(1) |
May
(2) |
Jun
|
Jul
(1) |
Aug
(2) |
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
1
|
|
2
|
3
|
4
(1) |
5
|
6
(4) |
7
|
8
|
|
9
|
10
(3) |
11
|
12
|
13
|
14
|
15
(5) |
|
16
|
17
|
18
|
19
|
20
(9) |
21
(4) |
22
|
|
23
(3) |
24
|
25
|
26
|
27
(2) |
28
(3) |
29
|
|
30
(2) |
31
(1) |
|
|
|
|
|
|
From: Elias N. <eli...@us...> - 2005-10-31 10:52:03
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13820/src/java/org/lwjgl/opengl Modified Files: MacOSXDisplay.java Log Message: MacOSX: Fix bugs in MacOSXDisplay.setIcon Index: MacOSXDisplay.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/MacOSXDisplay.java,v retrieving revision 1.36 retrieving revision 1.37 diff -u -d -r1.36 -r1.37 --- MacOSXDisplay.java 9 Sep 2005 10:27:13 -0000 1.36 +++ MacOSXDisplay.java 31 Oct 2005 10:51:54 -0000 1.37 @@ -534,9 +534,9 @@ int biggest = -1; for (int i=0;i<icons.length;i++) { - if (icons[i].limit() > size) { + if (icons[i].remaining() > size) { biggest = i; - size = icons[i].limit(); + size = icons[i].remaining(); } } @@ -547,9 +547,10 @@ int width; int height; - width = height = (int) Math.sqrt(size); - int[] imageData = new int[icons[biggest].remaining()]; - icons[biggest].asIntBuffer().get(imageData); + IntBuffer biggest_icon = icons[biggest].asIntBuffer(); + int[] imageData = new int[biggest_icon.remaining()]; + width = height = (int) Math.sqrt(imageData.length); + biggest_icon.get(imageData); BufferedImage img = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB); img.setRGB(0, 0, width, height, imageData, 0, width); |
|
From: Brian M. <ma...@us...> - 2005-10-30 11:56:12
|
Update of /cvsroot/java-game-lib/LWJGL/www/_gfx/projects In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6565 Added Files: typhoon_1.png typhoon_2.png typhoon_3.png typhoon_small_1.png typhoon_small_2.png typhoon_small_3.png Removed Files: tempest_1.png tempest_2.png tempest_3.png tempest_small_1.png tempest_small_2.png tempest_small_3.png Log Message: tempest => typhoon --- tempest_2.png DELETED --- --- tempest_1.png DELETED --- --- NEW FILE: typhoon_1.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: typhoon_2.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: typhoon_3.png --- (This appears to be a binary file; contents omitted.) --- tempest_small_3.png DELETED --- --- tempest_small_2.png DELETED --- --- tempest_small_1.png DELETED --- --- tempest_3.png DELETED --- --- NEW FILE: typhoon_small_2.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: typhoon_small_3.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: typhoon_small_1.png --- (This appears to be a binary file; contents omitted.) |
|
From: Brian M. <ma...@us...> - 2005-10-30 11:54:32
|
Update of /cvsroot/java-game-lib/LWJGL/www In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6225 Modified Files: projects.php Log Message: tempest => typhoon Index: projects.php =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/www/projects.php,v retrieving revision 1.13 retrieving revision 1.14 diff -u -d -r1.13 -r1.14 --- projects.php 27 Oct 2005 17:11:07 -0000 1.13 +++ projects.php 30 Oct 2005 11:54:18 -0000 1.14 @@ -67,16 +67,16 @@ 2 => array('small' => 'superdudester_small_3.jpg', 'big' => 'superdudester_3.jpg'))); -$projects[] = array('name' => 'Tempest', - 'url' => 'http://www.cokeandcode.com/tempest', +$projects[] = array('name' => 'Typhoon', + 'url' => 'http://www.cokeandcode.com/typhoon', 'type' => 'The game is currently freeware', - 'desc' => 'Tempest is a fast pased shooter based on the classic arcade game of the same name. It has been developed as an entry to the OMGCup. You control a claw with is move round one end of the board, while the enemies approach from the other end. Destroy them before they reach you!', - 'screens' => array(0 => array('small' => 'tempest_small_1.png', - 'big' => 'tempest_1.png'), - 1 => array('small' => 'tempest_small_2.png', - 'big' => 'tempest_2.png'), - 2 => array('small' => 'tempest_small_3.png', - 'big' => 'tempest_3.png'))); + 'desc' => 'Typhoon is a fast pased shooter based on defend a board from a hoard on bad guys. It has been developed as an entry to the OMGCup. You control a player which is moved round one end of the board, while the enemies approach from the other end. Destroy them before they reach you!', + 'screens' => array(0 => array('small' => 'typhoon_small_1.png', + 'big' => 'typhoon_1.png'), + 1 => array('small' => 'typhoon_small_2.png', + 'big' => 'typhoon_2.png'), + 2 => array('small' => 'typhoon_small_3.png', + 'big' => 'typhoon_3.png'))); $projects[] = array('name' => 'Puppytron', 'url' => 'http://www.puppygames.net/', |
|
From: Elias N. <eli...@us...> - 2005-10-28 15:44:09
|
Update of /cvsroot/java-game-lib/LWJGL/src/templates/org/lwjgl/openal In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14211/src/templates/org/lwjgl/openal Modified Files: AL10.java Log Message: Added missing @Const annotations to opengl and openal functions Index: AL10.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/templates/org/lwjgl/openal/AL10.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- AL10.java 20 Feb 2005 20:53:50 -0000 1.3 +++ AL10.java 28 Oct 2005 15:43:50 -0000 1.4 @@ -636,7 +636,7 @@ */ @StripPostfix("value") @ALvoid - void alListenerfv(@ALenum int pname, @Check("1") FloatBuffer value); + void alListenerfv(@ALenum int pname, @Check("1") @Const FloatBuffer value); /** * Listener attributes are changed using the Listener group of commands. @@ -736,7 +736,7 @@ // TODO: What's the correct minimum value? @StripPostfix("value") @ALvoid - void alSourcefv(@ALuint int source, @ALenum int pname, @Check("1") FloatBuffer value); + void alSourcefv(@ALuint int source, @ALenum int pname, @Check("1") @Const FloatBuffer value); /** * Specifies the position and other properties as taken into account during |
|
From: Elias N. <eli...@us...> - 2005-10-28 15:44:03
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/generated In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14211/src/native/generated Modified Files: org_lwjgl_openal_AL10.c org_lwjgl_opengl_ARBImaging.c org_lwjgl_opengl_ARBMatrixPalette.c org_lwjgl_opengl_ARBPointParameters.c org_lwjgl_opengl_ARBTransposeMatrix.c org_lwjgl_opengl_ATIEnvmapBumpmap.c org_lwjgl_opengl_EXTSecondaryColor.c org_lwjgl_opengl_EXTVertexShader.c org_lwjgl_opengl_GL14.c Log Message: Added missing @Const annotations to opengl and openal functions Index: org_lwjgl_opengl_EXTVertexShader.c =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/generated/org_lwjgl_opengl_EXTVertexShader.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- org_lwjgl_opengl_EXTVertexShader.c 29 Sep 2005 17:13:37 -0000 1.1 +++ org_lwjgl_opengl_EXTVertexShader.c 28 Oct 2005 15:43:50 -0000 1.2 @@ -16,16 +16,16 @@ typedef void (APIENTRY *glInsertComponentEXTPROC) (GLuint res, GLuint src, GLuint num); typedef void (APIENTRY *glExtractComponentEXTPROC) (GLuint res, GLuint src, GLuint num); typedef GLuint (APIENTRY *glGenSymbolsEXTPROC) (GLenum dataType, GLenum storageType, GLenum range, GLuint components); -typedef void (APIENTRY *glSetInvariantEXTPROC) (GLuint id, GLenum type, GLvoid * pAddr); -typedef void (APIENTRY *glSetLocalConstantEXTPROC) (GLuint id, GLenum type, GLvoid * pAddr); -typedef void (APIENTRY *glVariantbvEXTPROC) (GLuint id, GLbyte * pAddr); -typedef void (APIENTRY *glVariantsvEXTPROC) (GLuint id, GLshort * pAddr); -typedef void (APIENTRY *glVariantivEXTPROC) (GLuint id, GLint * pAddr); -typedef void (APIENTRY *glVariantfvEXTPROC) (GLuint id, GLfloat * pAddr); -typedef void (APIENTRY *glVariantubvEXTPROC) (GLuint id, GLubyte * pAddr); -typedef void (APIENTRY *glVariantusvEXTPROC) (GLuint id, GLushort * pAddr); -typedef void (APIENTRY *glVariantuivEXTPROC) (GLuint id, GLuint * pAddr); -typedef void (APIENTRY *glVariantPointerEXTPROC) (GLuint id, GLenum type, GLuint stride, GLvoid * pAddr); +typedef void (APIENTRY *glSetInvariantEXTPROC) (GLuint id, GLenum type, const GLvoid * pAddr); +typedef void (APIENTRY *glSetLocalConstantEXTPROC) (GLuint id, GLenum type, const GLvoid * pAddr); +typedef void (APIENTRY *glVariantbvEXTPROC) (GLuint id, const GLbyte * pAddr); +typedef void (APIENTRY *glVariantsvEXTPROC) (GLuint id, const GLshort * pAddr); +typedef void (APIENTRY *glVariantivEXTPROC) (GLuint id, const GLint * pAddr); +typedef void (APIENTRY *glVariantfvEXTPROC) (GLuint id, const GLfloat * pAddr); +typedef void (APIENTRY *glVariantubvEXTPROC) (GLuint id, const GLubyte * pAddr); +typedef void (APIENTRY *glVariantusvEXTPROC) (GLuint id, const GLushort * pAddr); +typedef void (APIENTRY *glVariantuivEXTPROC) (GLuint id, const GLuint * pAddr); +typedef void (APIENTRY *glVariantPointerEXTPROC) (GLuint id, GLenum type, GLuint stride, const GLvoid * pAddr); typedef void (APIENTRY *glEnableVariantClientStateEXTPROC) (GLuint id); typedef void (APIENTRY *glDisableVariantClientStateEXTPROC) (GLuint id); typedef GLuint (APIENTRY *glBindLightParameterEXTPROC) (GLenum light, GLenum value); @@ -113,67 +113,67 @@ } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTVertexShader_nglSetInvariantEXT(JNIEnv *env, jclass clazz, jint id, jint type, jobject pAddr, jint pAddr_position, jlong function_pointer) { - GLvoid *pAddr_address = ((GLvoid *)(((char *)(*env)->GetDirectBufferAddress(env, pAddr)) + pAddr_position)); + const GLvoid *pAddr_address = ((const GLvoid *)(((char *)(*env)->GetDirectBufferAddress(env, pAddr)) + pAddr_position)); glSetInvariantEXTPROC glSetInvariantEXT = (glSetInvariantEXTPROC)((intptr_t)function_pointer); glSetInvariantEXT(id, type, pAddr_address); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTVertexShader_nglSetLocalConstantEXT(JNIEnv *env, jclass clazz, jint id, jint type, jobject pAddr, jint pAddr_position, jlong function_pointer) { - GLvoid *pAddr_address = ((GLvoid *)(((char *)(*env)->GetDirectBufferAddress(env, pAddr)) + pAddr_position)); + const GLvoid *pAddr_address = ((const GLvoid *)(((char *)(*env)->GetDirectBufferAddress(env, pAddr)) + pAddr_position)); glSetLocalConstantEXTPROC glSetLocalConstantEXT = (glSetLocalConstantEXTPROC)((intptr_t)function_pointer); glSetLocalConstantEXT(id, type, pAddr_address); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTVertexShader_nglVariantbvEXT(JNIEnv *env, jclass clazz, jint id, jobject pAddr, jint pAddr_position, jlong function_pointer) { - GLbyte *pAddr_address = ((GLbyte *)(*env)->GetDirectBufferAddress(env, pAddr)) + pAddr_position; + const GLbyte *pAddr_address = ((const GLbyte *)(*env)->GetDirectBufferAddress(env, pAddr)) + pAddr_position; glVariantbvEXTPROC glVariantbvEXT = (glVariantbvEXTPROC)((intptr_t)function_pointer); glVariantbvEXT(id, pAddr_address); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTVertexShader_nglVariantsvEXT(JNIEnv *env, jclass clazz, jint id, jobject pAddr, jint pAddr_position, jlong function_pointer) { - GLshort *pAddr_address = ((GLshort *)(*env)->GetDirectBufferAddress(env, pAddr)) + pAddr_position; + const GLshort *pAddr_address = ((const GLshort *)(*env)->GetDirectBufferAddress(env, pAddr)) + pAddr_position; glVariantsvEXTPROC glVariantsvEXT = (glVariantsvEXTPROC)((intptr_t)function_pointer); glVariantsvEXT(id, pAddr_address); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTVertexShader_nglVariantivEXT(JNIEnv *env, jclass clazz, jint id, jobject pAddr, jint pAddr_position, jlong function_pointer) { - GLint *pAddr_address = ((GLint *)(*env)->GetDirectBufferAddress(env, pAddr)) + pAddr_position; + const GLint *pAddr_address = ((const GLint *)(*env)->GetDirectBufferAddress(env, pAddr)) + pAddr_position; glVariantivEXTPROC glVariantivEXT = (glVariantivEXTPROC)((intptr_t)function_pointer); glVariantivEXT(id, pAddr_address); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTVertexShader_nglVariantfvEXT(JNIEnv *env, jclass clazz, jint id, jobject pAddr, jint pAddr_position, jlong function_pointer) { - GLfloat *pAddr_address = ((GLfloat *)(*env)->GetDirectBufferAddress(env, pAddr)) + pAddr_position; + const GLfloat *pAddr_address = ((const GLfloat *)(*env)->GetDirectBufferAddress(env, pAddr)) + pAddr_position; glVariantfvEXTPROC glVariantfvEXT = (glVariantfvEXTPROC)((intptr_t)function_pointer); glVariantfvEXT(id, pAddr_address); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTVertexShader_nglVariantubvEXT(JNIEnv *env, jclass clazz, jint id, jobject pAddr, jint pAddr_position, jlong function_pointer) { - GLubyte *pAddr_address = ((GLubyte *)(*env)->GetDirectBufferAddress(env, pAddr)) + pAddr_position; + const GLubyte *pAddr_address = ((const GLubyte *)(*env)->GetDirectBufferAddress(env, pAddr)) + pAddr_position; glVariantubvEXTPROC glVariantubvEXT = (glVariantubvEXTPROC)((intptr_t)function_pointer); glVariantubvEXT(id, pAddr_address); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTVertexShader_nglVariantusvEXT(JNIEnv *env, jclass clazz, jint id, jobject pAddr, jint pAddr_position, jlong function_pointer) { - GLushort *pAddr_address = ((GLushort *)(*env)->GetDirectBufferAddress(env, pAddr)) + pAddr_position; + const GLushort *pAddr_address = ((const GLushort *)(*env)->GetDirectBufferAddress(env, pAddr)) + pAddr_position; glVariantusvEXTPROC glVariantusvEXT = (glVariantusvEXTPROC)((intptr_t)function_pointer); glVariantusvEXT(id, pAddr_address); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTVertexShader_nglVariantuivEXT(JNIEnv *env, jclass clazz, jint id, jobject pAddr, jint pAddr_position, jlong function_pointer) { - GLuint *pAddr_address = ((GLuint *)(*env)->GetDirectBufferAddress(env, pAddr)) + pAddr_position; + const GLuint *pAddr_address = ((const GLuint *)(*env)->GetDirectBufferAddress(env, pAddr)) + pAddr_position; glVariantuivEXTPROC glVariantuivEXT = (glVariantuivEXTPROC)((intptr_t)function_pointer); glVariantuivEXT(id, pAddr_address); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTVertexShader_nglVariantPointerEXT(JNIEnv *env, jclass clazz, jint id, jint type, jint stride, jobject pAddr, jint pAddr_position, jlong function_pointer) { - GLvoid *pAddr_address = ((GLvoid *)(((char *)(*env)->GetDirectBufferAddress(env, pAddr)) + pAddr_position)); + const GLvoid *pAddr_address = ((const GLvoid *)(((char *)(*env)->GetDirectBufferAddress(env, pAddr)) + pAddr_position)); glVariantPointerEXTPROC glVariantPointerEXT = (glVariantPointerEXTPROC)((intptr_t)function_pointer); glVariantPointerEXT(id, type, stride, pAddr_address); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTVertexShader_nglVariantPointerEXTBO(JNIEnv *env, jclass clazz, jint id, jint type, jint stride, jint pAddr_buffer_offset, jlong function_pointer) { - GLvoid *pAddr_address = ((GLvoid *)offsetToPointer(pAddr_buffer_offset)); + const GLvoid *pAddr_address = ((const GLvoid *)offsetToPointer(pAddr_buffer_offset)); glVariantPointerEXTPROC glVariantPointerEXT = (glVariantPointerEXTPROC)((intptr_t)function_pointer); glVariantPointerEXT(id, type, stride, pAddr_address); } Index: org_lwjgl_opengl_EXTSecondaryColor.c =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/generated/org_lwjgl_opengl_EXTSecondaryColor.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- org_lwjgl_opengl_EXTSecondaryColor.c 29 Sep 2005 17:13:37 -0000 1.1 +++ org_lwjgl_opengl_EXTSecondaryColor.c 28 Oct 2005 15:43:50 -0000 1.2 @@ -6,7 +6,7 @@ typedef void (APIENTRY *glSecondaryColor3bEXTPROC) (GLbyte red, GLbyte green, GLbyte blue); typedef void (APIENTRY *glSecondaryColor3fEXTPROC) (GLfloat red, GLfloat green, GLfloat blue); typedef void (APIENTRY *glSecondaryColor3ubEXTPROC) (GLubyte red, GLubyte green, GLubyte blue); -typedef void (APIENTRY *glSecondaryColorPointerEXTPROC) (GLint size, GLenum type, GLsizei stride, GLvoid * pPointer); +typedef void (APIENTRY *glSecondaryColorPointerEXTPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid * pPointer); JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTSecondaryColor_nglSecondaryColor3bEXT(JNIEnv *env, jclass clazz, jbyte red, jbyte green, jbyte blue, jlong function_pointer) { glSecondaryColor3bEXTPROC glSecondaryColor3bEXT = (glSecondaryColor3bEXTPROC)((intptr_t)function_pointer); @@ -24,13 +24,13 @@ } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTSecondaryColor_nglSecondaryColorPointerEXT(JNIEnv *env, jclass clazz, jint size, jint type, jint stride, jobject pPointer, jint pPointer_position, jlong function_pointer) { - GLvoid *pPointer_address = ((GLvoid *)(((char *)(*env)->GetDirectBufferAddress(env, pPointer)) + pPointer_position)); + const GLvoid *pPointer_address = ((const GLvoid *)(((char *)(*env)->GetDirectBufferAddress(env, pPointer)) + pPointer_position)); glSecondaryColorPointerEXTPROC glSecondaryColorPointerEXT = (glSecondaryColorPointerEXTPROC)((intptr_t)function_pointer); glSecondaryColorPointerEXT(size, type, stride, pPointer_address); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTSecondaryColor_nglSecondaryColorPointerEXTBO(JNIEnv *env, jclass clazz, jint size, jint type, jint stride, jint pPointer_buffer_offset, jlong function_pointer) { - GLvoid *pPointer_address = ((GLvoid *)offsetToPointer(pPointer_buffer_offset)); + const GLvoid *pPointer_address = ((const GLvoid *)offsetToPointer(pPointer_buffer_offset)); glSecondaryColorPointerEXTPROC glSecondaryColorPointerEXT = (glSecondaryColorPointerEXTPROC)((intptr_t)function_pointer); glSecondaryColorPointerEXT(size, type, stride, pPointer_address); } Index: org_lwjgl_opengl_ARBTransposeMatrix.c =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/generated/org_lwjgl_opengl_ARBTransposeMatrix.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- org_lwjgl_opengl_ARBTransposeMatrix.c 29 Sep 2005 17:13:37 -0000 1.1 +++ org_lwjgl_opengl_ARBTransposeMatrix.c 28 Oct 2005 15:43:50 -0000 1.2 @@ -3,17 +3,17 @@ #include <jni.h> #include "extgl.h" -typedef void (APIENTRY *glLoadTransposeMatrixfARBPROC) (GLfloat * pfMtx); -typedef void (APIENTRY *glMultTransposeMatrixfARBPROC) (GLfloat * pfMtx); +typedef void (APIENTRY *glLoadTransposeMatrixfARBPROC) (const GLfloat * pfMtx); +typedef void (APIENTRY *glMultTransposeMatrixfARBPROC) (const GLfloat * pfMtx); JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBTransposeMatrix_nglLoadTransposeMatrixfARB(JNIEnv *env, jclass clazz, jobject pfMtx, jint pfMtx_position, jlong function_pointer) { - GLfloat *pfMtx_address = ((GLfloat *)(*env)->GetDirectBufferAddress(env, pfMtx)) + pfMtx_position; + const GLfloat *pfMtx_address = ((const GLfloat *)(*env)->GetDirectBufferAddress(env, pfMtx)) + pfMtx_position; glLoadTransposeMatrixfARBPROC glLoadTransposeMatrixfARB = (glLoadTransposeMatrixfARBPROC)((intptr_t)function_pointer); glLoadTransposeMatrixfARB(pfMtx_address); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBTransposeMatrix_nglMultTransposeMatrixfARB(JNIEnv *env, jclass clazz, jobject pfMtx, jint pfMtx_position, jlong function_pointer) { - GLfloat *pfMtx_address = ((GLfloat *)(*env)->GetDirectBufferAddress(env, pfMtx)) + pfMtx_position; + const GLfloat *pfMtx_address = ((const GLfloat *)(*env)->GetDirectBufferAddress(env, pfMtx)) + pfMtx_position; glMultTransposeMatrixfARBPROC glMultTransposeMatrixfARB = (glMultTransposeMatrixfARBPROC)((intptr_t)function_pointer); glMultTransposeMatrixfARB(pfMtx_address); } Index: org_lwjgl_opengl_GL14.c =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/generated/org_lwjgl_opengl_GL14.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- org_lwjgl_opengl_GL14.c 29 Sep 2005 17:13:37 -0000 1.1 +++ org_lwjgl_opengl_GL14.c 28 Oct 2005 15:43:50 -0000 1.2 @@ -10,8 +10,8 @@ typedef void (APIENTRY *glMultiDrawArraysPROC) (GLenum mode, GLint * piFirst, GLsizei * piCount, GLsizei primcount); typedef void (APIENTRY *glPointParameteriPROC) (GLenum pname, GLint param); typedef void (APIENTRY *glPointParameterfPROC) (GLenum pname, GLfloat param); -typedef void (APIENTRY *glPointParameterivPROC) (GLenum pname, GLint * params); -typedef void (APIENTRY *glPointParameterfvPROC) (GLenum pname, GLfloat * params); +typedef void (APIENTRY *glPointParameterivPROC) (GLenum pname, const GLint * params); +typedef void (APIENTRY *glPointParameterfvPROC) (GLenum pname, const GLfloat * params); typedef void (APIENTRY *glSecondaryColor3bPROC) (GLbyte red, GLbyte green, GLbyte blue); typedef void (APIENTRY *glSecondaryColor3fPROC) (GLfloat red, GLfloat green, GLfloat blue); typedef void (APIENTRY *glSecondaryColor3ubPROC) (GLubyte red, GLubyte green, GLubyte blue); @@ -67,13 +67,13 @@ } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL14_nglPointParameteriv(JNIEnv *env, jclass clazz, jint pname, jobject params, jint params_position, jlong function_pointer) { - GLint *params_address = ((GLint *)(*env)->GetDirectBufferAddress(env, params)) + params_position; + const GLint *params_address = ((const GLint *)(*env)->GetDirectBufferAddress(env, params)) + params_position; glPointParameterivPROC glPointParameteriv = (glPointParameterivPROC)((intptr_t)function_pointer); glPointParameteriv(pname, params_address); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL14_nglPointParameterfv(JNIEnv *env, jclass clazz, jint pname, jobject params, jint params_position, jlong function_pointer) { - GLfloat *params_address = ((GLfloat *)(*env)->GetDirectBufferAddress(env, params)) + params_position; + const GLfloat *params_address = ((const GLfloat *)(*env)->GetDirectBufferAddress(env, params)) + params_position; glPointParameterfvPROC glPointParameterfv = (glPointParameterfvPROC)((intptr_t)function_pointer); glPointParameterfv(pname, params_address); } Index: org_lwjgl_opengl_ATIEnvmapBumpmap.c =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/generated/org_lwjgl_opengl_ATIEnvmapBumpmap.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- org_lwjgl_opengl_ATIEnvmapBumpmap.c 29 Sep 2005 17:13:37 -0000 1.1 +++ org_lwjgl_opengl_ATIEnvmapBumpmap.c 28 Oct 2005 15:43:50 -0000 1.2 @@ -3,19 +3,19 @@ #include <jni.h> #include "extgl.h" -typedef void (APIENTRY *glTexBumpParameterfvATIPROC) (GLenum pname, GLfloat * param); -typedef void (APIENTRY *glTexBumpParameterivATIPROC) (GLenum pname, GLint * param); +typedef void (APIENTRY *glTexBumpParameterfvATIPROC) (GLenum pname, const GLfloat * param); +typedef void (APIENTRY *glTexBumpParameterivATIPROC) (GLenum pname, const GLint * param); typedef void (APIENTRY *glGetTexBumpParameterfvATIPROC) (GLenum pname, GLfloat * param); typedef void (APIENTRY *glGetTexBumpParameterivATIPROC) (GLenum pname, GLint * param); JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ATIEnvmapBumpmap_nglTexBumpParameterfvATI(JNIEnv *env, jclass clazz, jint pname, jobject param, jint param_position, jlong function_pointer) { - GLfloat *param_address = ((GLfloat *)(*env)->GetDirectBufferAddress(env, param)) + param_position; + const GLfloat *param_address = ((const GLfloat *)(*env)->GetDirectBufferAddress(env, param)) + param_position; glTexBumpParameterfvATIPROC glTexBumpParameterfvATI = (glTexBumpParameterfvATIPROC)((intptr_t)function_pointer); glTexBumpParameterfvATI(pname, param_address); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ATIEnvmapBumpmap_nglTexBumpParameterivATI(JNIEnv *env, jclass clazz, jint pname, jobject param, jint param_position, jlong function_pointer) { - GLint *param_address = ((GLint *)(*env)->GetDirectBufferAddress(env, param)) + param_position; + const GLint *param_address = ((const GLint *)(*env)->GetDirectBufferAddress(env, param)) + param_position; glTexBumpParameterivATIPROC glTexBumpParameterivATI = (glTexBumpParameterivATIPROC)((intptr_t)function_pointer); glTexBumpParameterivATI(pname, param_address); } Index: org_lwjgl_opengl_ARBImaging.c =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/generated/org_lwjgl_opengl_ARBImaging.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- org_lwjgl_opengl_ARBImaging.c 29 Sep 2005 17:13:37 -0000 1.1 +++ org_lwjgl_opengl_ARBImaging.c 28 Oct 2005 15:43:50 -0000 1.2 @@ -5,8 +5,8 @@ typedef void (APIENTRY *glColorTablePROC) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid * data); typedef void (APIENTRY *glColorSubTablePROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid * data); -typedef void (APIENTRY *glColorTableParameterivPROC) (GLenum target, GLenum pname, GLint * params); -typedef void (APIENTRY *glColorTableParameterfvPROC) (GLenum target, GLenum pname, GLfloat * params); +typedef void (APIENTRY *glColorTableParameterivPROC) (GLenum target, GLenum pname, const GLint * params); +typedef void (APIENTRY *glColorTableParameterfvPROC) (GLenum target, GLenum pname, const GLfloat * params); typedef void (APIENTRY *glCopyColorSubTablePROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); typedef void (APIENTRY *glCopyColorTablePROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); typedef void (APIENTRY *glGetColorTablePROC) (GLenum target, GLenum format, GLenum type, GLvoid * data); @@ -24,8 +24,8 @@ typedef void (APIENTRY *glGetMinmaxPROC) (GLenum target, GLboolean reset, GLenum format, GLenum types, GLvoid * values); typedef void (APIENTRY *glGetMinmaxParameterfvPROC) (GLenum target, GLenum pname, GLfloat * params); typedef void (APIENTRY *glGetMinmaxParameterivPROC) (GLenum target, GLenum pname, GLint * params); -typedef void (APIENTRY *glConvolutionFilter1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, GLvoid * image); -typedef void (APIENTRY *glConvolutionFilter2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid * image); +typedef void (APIENTRY *glConvolutionFilter1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid * image); +typedef void (APIENTRY *glConvolutionFilter2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * image); typedef void (APIENTRY *glConvolutionParameterfPROC) (GLenum target, GLenum pname, GLfloat params); typedef void (APIENTRY *glConvolutionParameterfvPROC) (GLenum target, GLenum pname, const GLfloat * params); typedef void (APIENTRY *glConvolutionParameteriPROC) (GLenum target, GLenum pname, GLint params); @@ -63,13 +63,13 @@ } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBImaging_nglColorTableParameteriv(JNIEnv *env, jclass clazz, jint target, jint pname, jobject params, jint params_position, jlong function_pointer) { - GLint *params_address = ((GLint *)(*env)->GetDirectBufferAddress(env, params)) + params_position; + const GLint *params_address = ((const GLint *)(*env)->GetDirectBufferAddress(env, params)) + params_position; glColorTableParameterivPROC glColorTableParameteriv = (glColorTableParameterivPROC)((intptr_t)function_pointer); glColorTableParameteriv(target, pname, params_address); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBImaging_nglColorTableParameterfv(JNIEnv *env, jclass clazz, jint target, jint pname, jobject params, jint params_position, jlong function_pointer) { - GLfloat *params_address = ((GLfloat *)(*env)->GetDirectBufferAddress(env, params)) + params_position; + const GLfloat *params_address = ((const GLfloat *)(*env)->GetDirectBufferAddress(env, params)) + params_position; glColorTableParameterfvPROC glColorTableParameterfv = (glColorTableParameterfvPROC)((intptr_t)function_pointer); glColorTableParameterfv(target, pname, params_address); } @@ -181,25 +181,25 @@ } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBImaging_nglConvolutionFilter1D(JNIEnv *env, jclass clazz, jint target, jint internalformat, jint width, jint format, jint type, jobject image, jint image_position, jlong function_pointer) { - GLvoid *image_address = ((GLvoid *)(((char *)(*env)->GetDirectBufferAddress(env, image)) + image_position)); + const GLvoid *image_address = ((const GLvoid *)(((char *)(*env)->GetDirectBufferAddress(env, image)) + image_position)); glConvolutionFilter1DPROC glConvolutionFilter1D = (glConvolutionFilter1DPROC)((intptr_t)function_pointer); glConvolutionFilter1D(target, internalformat, width, format, type, image_address); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBImaging_nglConvolutionFilter1DBO(JNIEnv *env, jclass clazz, jint target, jint internalformat, jint width, jint format, jint type, jint image_buffer_offset, jlong function_pointer) { - GLvoid *image_address = ((GLvoid *)offsetToPointer(image_buffer_offset)); + const GLvoid *image_address = ((const GLvoid *)offsetToPointer(image_buffer_offset)); glConvolutionFilter1DPROC glConvolutionFilter1D = (glConvolutionFilter1DPROC)((intptr_t)function_pointer); glConvolutionFilter1D(target, internalformat, width, format, type, image_address); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBImaging_nglConvolutionFilter2D(JNIEnv *env, jclass clazz, jint target, jint internalformat, jint width, jint height, jint format, jint type, jobject image, jint image_position, jlong function_pointer) { - GLvoid *image_address = ((GLvoid *)(((char *)(*env)->GetDirectBufferAddress(env, image)) + image_position)); + const GLvoid *image_address = ((const GLvoid *)(((char *)(*env)->GetDirectBufferAddress(env, image)) + image_position)); glConvolutionFilter2DPROC glConvolutionFilter2D = (glConvolutionFilter2DPROC)((intptr_t)function_pointer); glConvolutionFilter2D(target, internalformat, width, height, format, type, image_address); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBImaging_nglConvolutionFilter2DBO(JNIEnv *env, jclass clazz, jint target, jint internalformat, jint width, jint height, jint format, jint type, jint image_buffer_offset, jlong function_pointer) { - GLvoid *image_address = ((GLvoid *)offsetToPointer(image_buffer_offset)); + const GLvoid *image_address = ((const GLvoid *)offsetToPointer(image_buffer_offset)); glConvolutionFilter2DPROC glConvolutionFilter2D = (glConvolutionFilter2DPROC)((intptr_t)function_pointer); glConvolutionFilter2D(target, internalformat, width, height, format, type, image_address); } Index: org_lwjgl_opengl_ARBMatrixPalette.c =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/generated/org_lwjgl_opengl_ARBMatrixPalette.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- org_lwjgl_opengl_ARBMatrixPalette.c 29 Sep 2005 17:13:37 -0000 1.1 +++ org_lwjgl_opengl_ARBMatrixPalette.c 28 Oct 2005 15:43:50 -0000 1.2 @@ -4,7 +4,7 @@ #include "extgl.h" typedef void (APIENTRY *glCurrentPaletteMatrixARBPROC) (GLint index); -typedef void (APIENTRY *glMatrixIndexPointerARBPROC) (GLint size, GLenum type, GLsizei stride, GLvoid * pPointer); +typedef void (APIENTRY *glMatrixIndexPointerARBPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid * pPointer); typedef void (APIENTRY *glMatrixIndexubvARBPROC) (GLint size, GLubyte * pIndices); typedef void (APIENTRY *glMatrixIndexusvARBPROC) (GLint size, GLushort * pIndices); typedef void (APIENTRY *glMatrixIndexuivARBPROC) (GLint size, GLuint * pIndices); @@ -15,13 +15,13 @@ } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBMatrixPalette_nglMatrixIndexPointerARB(JNIEnv *env, jclass clazz, jint size, jint type, jint stride, jobject pPointer, jint pPointer_position, jlong function_pointer) { - GLvoid *pPointer_address = ((GLvoid *)(((char *)(*env)->GetDirectBufferAddress(env, pPointer)) + pPointer_position)); + const GLvoid *pPointer_address = ((const GLvoid *)(((char *)(*env)->GetDirectBufferAddress(env, pPointer)) + pPointer_position)); glMatrixIndexPointerARBPROC glMatrixIndexPointerARB = (glMatrixIndexPointerARBPROC)((intptr_t)function_pointer); glMatrixIndexPointerARB(size, type, stride, pPointer_address); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBMatrixPalette_nglMatrixIndexPointerARBBO(JNIEnv *env, jclass clazz, jint size, jint type, jint stride, jint pPointer_buffer_offset, jlong function_pointer) { - GLvoid *pPointer_address = ((GLvoid *)offsetToPointer(pPointer_buffer_offset)); + const GLvoid *pPointer_address = ((const GLvoid *)offsetToPointer(pPointer_buffer_offset)); glMatrixIndexPointerARBPROC glMatrixIndexPointerARB = (glMatrixIndexPointerARBPROC)((intptr_t)function_pointer); glMatrixIndexPointerARB(size, type, stride, pPointer_address); } Index: org_lwjgl_opengl_ARBPointParameters.c =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/generated/org_lwjgl_opengl_ARBPointParameters.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- org_lwjgl_opengl_ARBPointParameters.c 29 Sep 2005 17:13:37 -0000 1.1 +++ org_lwjgl_opengl_ARBPointParameters.c 28 Oct 2005 15:43:50 -0000 1.2 @@ -4,7 +4,7 @@ #include "extgl.h" typedef void (APIENTRY *glPointParameterfARBPROC) (GLenum pname, GLfloat param); -typedef void (APIENTRY *glPointParameterfvARBPROC) (GLenum pname, GLfloat * pfParams); +typedef void (APIENTRY *glPointParameterfvARBPROC) (GLenum pname, const GLfloat * pfParams); JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBPointParameters_nglPointParameterfARB(JNIEnv *env, jclass clazz, jint pname, jfloat param, jlong function_pointer) { glPointParameterfARBPROC glPointParameterfARB = (glPointParameterfARBPROC)((intptr_t)function_pointer); @@ -12,7 +12,7 @@ } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBPointParameters_nglPointParameterfvARB(JNIEnv *env, jclass clazz, jint pname, jobject pfParams, jint pfParams_position, jlong function_pointer) { - GLfloat *pfParams_address = ((GLfloat *)(*env)->GetDirectBufferAddress(env, pfParams)) + pfParams_position; + const GLfloat *pfParams_address = ((const GLfloat *)(*env)->GetDirectBufferAddress(env, pfParams)) + pfParams_position; glPointParameterfvARBPROC glPointParameterfvARB = (glPointParameterfvARBPROC)((intptr_t)function_pointer); glPointParameterfvARB(pname, pfParams_address); } Index: org_lwjgl_openal_AL10.c =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/generated/org_lwjgl_openal_AL10.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- org_lwjgl_openal_AL10.c 29 Sep 2005 17:13:37 -0000 1.1 +++ org_lwjgl_openal_AL10.c 28 Oct 2005 15:43:50 -0000 1.2 @@ -17,7 +17,7 @@ typedef ALenum (ALAPIENTRY *alGetEnumValuePROC) (ALubyte * ename); typedef ALvoid (ALAPIENTRY *alListeneriPROC) (ALenum pname, ALint value); typedef ALvoid (ALAPIENTRY *alListenerfPROC) (ALenum pname, ALfloat value); -typedef ALvoid (ALAPIENTRY *alListenerfvPROC) (ALenum pname, ALfloat * value); +typedef ALvoid (ALAPIENTRY *alListenerfvPROC) (ALenum pname, const ALfloat * value); typedef ALvoid (ALAPIENTRY *alListener3fPROC) (ALenum pname, ALfloat v1, ALfloat v2, ALfloat v3); typedef ALint (ALAPIENTRY *alGetListeneriPROC) (ALenum pname); typedef ALfloat (ALAPIENTRY *alGetListenerfPROC) (ALenum pname); @@ -27,7 +27,7 @@ typedef ALboolean (ALAPIENTRY *alIsSourcePROC) (ALuint id); typedef ALvoid (ALAPIENTRY *alSourceiPROC) (ALuint source, ALenum pname, ALint value); typedef ALvoid (ALAPIENTRY *alSourcefPROC) (ALuint source, ALenum pname, ALfloat value); -typedef ALvoid (ALAPIENTRY *alSourcefvPROC) (ALuint source, ALenum pname, ALfloat * value); +typedef ALvoid (ALAPIENTRY *alSourcefvPROC) (ALuint source, ALenum pname, const ALfloat * value); typedef ALvoid (ALAPIENTRY *alSource3fPROC) (ALuint source, ALenum pname, ALfloat v1, ALfloat v2, ALfloat v3); typedef ALvoid (ALAPIENTRY *alGetSourceiPROC) (ALuint source, ALenum pname, ALint* value); typedef ALvoid (ALAPIENTRY *alGetSourcefPROC) (ALuint source, ALenum pname, ALfloat* value); @@ -172,7 +172,7 @@ } static void JNICALL Java_org_lwjgl_openal_AL10_nalListenerfv(JNIEnv *env, jclass clazz, jint pname, jobject value, jint value_position) { - ALfloat *value_address = ((ALfloat *)(*env)->GetDirectBufferAddress(env, value)) + value_position; + const ALfloat *value_address = ((const ALfloat *)(*env)->GetDirectBufferAddress(env, value)) + value_position; alListenerfv(pname, value_address); } @@ -219,7 +219,7 @@ } static void JNICALL Java_org_lwjgl_openal_AL10_nalSourcefv(JNIEnv *env, jclass clazz, jint source, jint pname, jobject value, jint value_position) { - ALfloat *value_address = ((ALfloat *)(*env)->GetDirectBufferAddress(env, value)) + value_position; + const ALfloat *value_address = ((const ALfloat *)(*env)->GetDirectBufferAddress(env, value)) + value_position; alSourcefv(source, pname, value_address); } |
|
From: Elias N. <eli...@us...> - 2005-10-28 15:44:03
|
Update of /cvsroot/java-game-lib/LWJGL/src/templates/org/lwjgl/opengl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14211/src/templates/org/lwjgl/opengl Modified Files: ARB_imaging.java ARB_matrix_palette.java ARB_point_parameters.java ARB_transpose_matrix.java ATI_envmap_bumpmap.java EXT_secondary_color.java EXT_vertex_shader.java GL14.java Log Message: Added missing @Const annotations to opengl and openal functions Index: ARB_matrix_palette.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/templates/org/lwjgl/opengl/ARB_matrix_palette.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- ARB_matrix_palette.java 21 Mar 2005 08:27:45 -0000 1.4 +++ ARB_matrix_palette.java 28 Oct 2005 15:43:51 -0000 1.5 @@ -56,6 +56,7 @@ @CachedReference @BufferObject(BufferKind.ArrayVBO) @Check + @Const @GLubyte @GLushort @GLuint Index: GL14.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/templates/org/lwjgl/opengl/GL14.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- GL14.java 21 Mar 2005 08:27:45 -0000 1.4 +++ GL14.java 28 Oct 2005 15:43:51 -0000 1.5 @@ -110,9 +110,9 @@ void glPointParameteri(@GLenum int pname, int param); void glPointParameterf(@GLenum int pname, float param); @StripPostfix("params") - void glPointParameteriv(@GLenum int pname, @Check("4") IntBuffer params); + void glPointParameteriv(@GLenum int pname, @Check("4") @Const IntBuffer params); @StripPostfix("params") - void glPointParameterfv(@GLenum int pname, @Check("4") FloatBuffer params); + void glPointParameterfv(@GLenum int pname, @Check("4") @Const FloatBuffer params); void glSecondaryColor3b(byte red, byte green, byte blue); void glSecondaryColor3f(float red, float green, float blue); Index: ARB_transpose_matrix.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/templates/org/lwjgl/opengl/ARB_transpose_matrix.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- ARB_transpose_matrix.java 20 Feb 2005 20:53:49 -0000 1.3 +++ ARB_transpose_matrix.java 28 Oct 2005 15:43:51 -0000 1.4 @@ -42,7 +42,7 @@ int GL_TRANSPOSE_COLOR_MATRIX_ARB = 0x84E6; @StripPostfix("pfMtx") - void glLoadTransposeMatrixfARB(@Check("16") FloatBuffer pfMtx); + void glLoadTransposeMatrixfARB(@Check("16") @Const FloatBuffer pfMtx); @StripPostfix("pfMtx") - void glMultTransposeMatrixfARB(@Check("16") FloatBuffer pfMtx); + void glMultTransposeMatrixfARB(@Check("16") @Const FloatBuffer pfMtx); } Index: EXT_secondary_color.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/templates/org/lwjgl/opengl/EXT_secondary_color.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- EXT_secondary_color.java 21 Mar 2005 08:27:45 -0000 1.4 +++ EXT_secondary_color.java 28 Oct 2005 15:43:51 -0000 1.5 @@ -54,6 +54,7 @@ @CachedReference @BufferObject(BufferKind.ArrayVBO) @Check + @Const @GLbyte @GLubyte @GLfloat Index: EXT_vertex_shader.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/templates/org/lwjgl/opengl/EXT_vertex_shader.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- EXT_vertex_shader.java 21 Mar 2005 08:27:45 -0000 1.4 +++ EXT_vertex_shader.java 28 Oct 2005 15:43:51 -0000 1.5 @@ -179,6 +179,7 @@ void glSetInvariantEXT(@GLuint int id, @AutoType("pAddr") @GLenum int type, @Check("4") + @Const @GLbyte @GLubyte @GLshort @@ -190,6 +191,7 @@ void glSetLocalConstantEXT(@GLuint int id, @AutoType("pAddr") @GLenum int type, @Check("4") + @Const @GLbyte @GLubyte @GLshort @@ -200,25 +202,26 @@ Buffer pAddr); @StripPostfix("pAddr") - void glVariantbvEXT(@GLuint int id, @Check("4") ByteBuffer pAddr); + void glVariantbvEXT(@GLuint int id, @Check("4") @Const ByteBuffer pAddr); @StripPostfix("pAddr") - void glVariantsvEXT(@GLuint int id, @Check("4") ShortBuffer pAddr); + void glVariantsvEXT(@GLuint int id, @Check("4") @Const ShortBuffer pAddr); @StripPostfix("pAddr") - void glVariantivEXT(@GLuint int id, @Check("4") IntBuffer pAddr); + void glVariantivEXT(@GLuint int id, @Check("4") @Const IntBuffer pAddr); @StripPostfix("pAddr") - void glVariantfvEXT(@GLuint int id, @Check("4") FloatBuffer pAddr); + void glVariantfvEXT(@GLuint int id, @Check("4") @Const FloatBuffer pAddr); @StripPostfix("pAddr") - void glVariantubvEXT(@GLuint int id, @Check("4") @GLubyte ByteBuffer pAddr); + void glVariantubvEXT(@GLuint int id, @Check("4") @Const @GLubyte ByteBuffer pAddr); @StripPostfix("pAddr") - void glVariantusvEXT(@GLuint int id, @Check("4") @GLushort ShortBuffer pAddr); + void glVariantusvEXT(@GLuint int id, @Check("4") @Const @GLushort ShortBuffer pAddr); @StripPostfix("pAddr") - void glVariantuivEXT(@GLuint int id, @Check("4") @GLuint IntBuffer pAddr); + void glVariantuivEXT(@GLuint int id, @Check("4") @Const @GLuint IntBuffer pAddr); void glVariantPointerEXT(@GLuint int id, @AutoType("pAddr") @GLenum int type, @GLuint int stride, @CachedReference @BufferObject(BufferKind.ArrayVBO) @Check + @Const @GLbyte @GLshort @GLint Index: ARB_imaging.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/templates/org/lwjgl/opengl/ARB_imaging.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- ARB_imaging.java 21 Mar 2005 08:27:45 -0000 1.4 +++ ARB_imaging.java 28 Oct 2005 15:43:51 -0000 1.5 @@ -141,10 +141,10 @@ Buffer data); @StripPostfix("params") - void glColorTableParameteriv(@GLenum int target, @GLenum int pname, @Check("4") IntBuffer params); + void glColorTableParameteriv(@GLenum int target, @GLenum int pname, @Check("4") @Const IntBuffer params); @StripPostfix("params") - void glColorTableParameterfv(@GLenum int target, @GLenum int pname, @Check("4") FloatBuffer params); + void glColorTableParameterfv(@GLenum int target, @GLenum int pname, @Check("4") @Const FloatBuffer params); void glCopyColorSubTable(@GLenum int target, @GLsizei int start, int x, int y, @GLsizei int width); @@ -204,6 +204,7 @@ void glConvolutionFilter1D(@GLenum int target, @GLenum int internalformat, @GLsizei int width, @GLenum int format, @GLenum int type, @BufferObject(BufferKind.UnpackPBO) @Check("GLChecks.calculateImageStorage(image, format, type, width, 1, 1)") + @Const @GLbyte @GLshort @GLint @@ -213,6 +214,7 @@ void glConvolutionFilter2D(@GLenum int target, @GLenum int internalformat, @GLsizei int width, @GLsizei int height, @GLenum int format, @GLenum int type, @BufferObject(BufferKind.UnpackPBO) @Check("GLChecks.calculateImageStorage(image, format, type, width, height, 1)") + @Const @GLbyte @GLshort @GLint Index: ARB_point_parameters.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/templates/org/lwjgl/opengl/ARB_point_parameters.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- ARB_point_parameters.java 20 Feb 2005 20:53:49 -0000 1.3 +++ ARB_point_parameters.java 28 Oct 2005 15:43:51 -0000 1.4 @@ -44,5 +44,5 @@ void glPointParameterfARB(@GLenum int pname, float param); @StripPostfix("pfParams") - void glPointParameterfvARB(@GLenum int pname, @Check("4") FloatBuffer pfParams); + void glPointParameterfvARB(@GLenum int pname, @Check("4") @Const FloatBuffer pfParams); } Index: ATI_envmap_bumpmap.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/templates/org/lwjgl/opengl/ATI_envmap_bumpmap.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- ATI_envmap_bumpmap.java 20 Feb 2005 20:53:49 -0000 1.3 +++ ATI_envmap_bumpmap.java 28 Oct 2005 15:43:51 -0000 1.4 @@ -47,9 +47,9 @@ int GL_BUMP_TARGET_ATI = 0x877C; @StripPostfix("param") - void glTexBumpParameterfvATI(@GLenum int pname, @Check("4") FloatBuffer param); + void glTexBumpParameterfvATI(@GLenum int pname, @Check("4") @Const FloatBuffer param); @StripPostfix("param") - void glTexBumpParameterivATI(@GLenum int pname, @Check("4") IntBuffer param); + void glTexBumpParameterivATI(@GLenum int pname, @Check("4") @Const IntBuffer param); @StripPostfix("param") void glGetTexBumpParameterfvATI(@GLenum int pname, @Check("4") FloatBuffer param); |
|
From: Brian M. <ma...@us...> - 2005-10-27 17:11:18
|
Update of /cvsroot/java-game-lib/LWJGL/www In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16192 Modified Files: projects.php Log Message: replaced gravity battle with tempest Index: projects.php =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/www/projects.php,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- projects.php 20 Oct 2005 17:01:17 -0000 1.12 +++ projects.php 27 Oct 2005 17:11:07 -0000 1.13 @@ -67,16 +67,16 @@ 2 => array('small' => 'superdudester_small_3.jpg', 'big' => 'superdudester_3.jpg'))); -$projects[] = array('name' => 'Gravity Battle', - 'url' => 'http://www.cokeandcode.com/gravitybattle/', - 'type' => 'Commercial game (in progress)', - 'desc' => 'Gravity Battle is a game of thrust and control. Gently guide your pod around the levels completing the tasks set out. Watch out for the inhabitants of the caverns and be sure to pick up all the bonuses. Ah, but wait! Completing the level isn\'t good enough, can you get 3 medals on every level?', - 'screens' => array(0 => array('small' => 'gravitybattle_small_1.jpg', - 'big' => 'gravitybattle_1.jpg'), - 1 => array('small' => 'gravitybattle_small_2.jpg', - 'big' => 'gravitybattle_2.jpg'), - 2 => array('small' => 'gravitybattle_small_3.jpg', - 'big' => 'gravitybattle_3.jpg'))); +$projects[] = array('name' => 'Tempest', + 'url' => 'http://www.cokeandcode.com/tempest', + 'type' => 'The game is currently freeware', + 'desc' => 'Tempest is a fast pased shooter based on the classic arcade game of the same name. It has been developed as an entry to the OMGCup. You control a claw with is move round one end of the board, while the enemies approach from the other end. Destroy them before they reach you!', + 'screens' => array(0 => array('small' => 'tempest_small_1.png', + 'big' => 'tempest_1.png'), + 1 => array('small' => 'tempest_small_2.png', + 'big' => 'tempest_2.png'), + 2 => array('small' => 'tempest_small_3.png', + 'big' => 'tempest_3.png'))); $projects[] = array('name' => 'Puppytron', 'url' => 'http://www.puppygames.net/', |
|
From: Brian M. <ma...@us...> - 2005-10-27 17:10:53
|
Update of /cvsroot/java-game-lib/LWJGL/www/_gfx/projects In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16140 Added Files: tempest_1.png tempest_2.png tempest_3.png tempest_small_1.png tempest_small_2.png tempest_small_3.png Removed Files: gravitybattle_1.jpg gravitybattle_2.jpg gravitybattle_3.jpg gravitybattle_small_1.jpg gravitybattle_small_2.jpg gravitybattle_small_3.jpg Log Message: replaced gravity battle with tempest --- gravitybattle_small_3.jpg DELETED --- --- gravitybattle_2.jpg DELETED --- --- NEW FILE: tempest_1.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tempest_3.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tempest_2.png --- (This appears to be a binary file; contents omitted.) --- gravitybattle_small_2.jpg DELETED --- --- gravitybattle_small_1.jpg DELETED --- --- NEW FILE: tempest_small_3.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tempest_small_2.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tempest_small_1.png --- (This appears to be a binary file; contents omitted.) --- gravitybattle_1.jpg DELETED --- --- gravitybattle_3.jpg DELETED --- |
|
From: Elias N. <eli...@us...> - 2005-10-23 19:52:22
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4752/src/java/org/lwjgl/opengl Modified Files: PeerInfo.java Log Message: Don't fail on two threads wanting to lock the same PeerInfo Index: PeerInfo.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/PeerInfo.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- PeerInfo.java 4 May 2005 20:59:36 -0000 1.4 +++ PeerInfo.java 23 Oct 2005 19:52:15 -0000 1.5 @@ -34,6 +34,7 @@ import java.nio.ByteBuffer; import org.lwjgl.LWJGLException; +import org.lwjgl.LWJGLUtil; /** * $Id$ @@ -63,6 +64,7 @@ if (lock_count == 0) { doUnlock(); locking_thread = null; + notify(); } } @@ -71,8 +73,13 @@ public synchronized final ByteBuffer lockAndGetHandle() throws LWJGLException { Thread this_thread = Thread.currentThread(); - if (locking_thread != null && locking_thread != this_thread) - throw new IllegalStateException("PeerInfo already locked by " + locking_thread); + while (locking_thread != null && locking_thread != this_thread) { + try { + wait(); + } catch (InterruptedException e) { + LWJGLUtil.log("Interrupted while waiting for PeerInfo lock: " + e); + } + } if (lock_count == 0) { locking_thread = this_thread; doLockAndInitHandle(); |
|
From: Elias N. <eli...@us...> - 2005-10-23 19:41:22
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/linux In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1927/src/native/linux Modified Files: org_lwjgl_opengl_Display.c Log Message: Linux: Don't assume JAWT Lock()/Unlock() are re-entrant, fixing a hang with GCJ 4 Index: org_lwjgl_opengl_Display.c =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/linux/org_lwjgl_opengl_Display.c,v retrieving revision 1.31 retrieving revision 1.32 diff -u -d -r1.31 -r1.32 --- org_lwjgl_opengl_Display.c 6 Jul 2005 19:46:35 -0000 1.31 +++ org_lwjgl_opengl_Display.c 23 Oct 2005 19:41:09 -0000 1.32 @@ -124,7 +124,6 @@ return 0; } - Display *getDisplay(void) { return display_connection; } @@ -556,21 +555,21 @@ return focused || isLegacyFullscreen() ? JNI_TRUE : JNI_FALSE; } -JNIEXPORT void JNICALL Java_org_lwjgl_opengl_LinuxDisplay_lockAWT(JNIEnv *env, jclass clazz) { +JNIEXPORT void JNICALL Java_org_lwjgl_opengl_LinuxDisplay_nLockAWT(JNIEnv *env, jclass clazz) { JAWT jawt; jawt.version = JAWT_VERSION_1_4; if (JAWT_GetAWT(env, &jawt) != JNI_TRUE) { - throwGeneralException(env, "java/lang/RuntimeException", "GetAWT failed"); + throwException(env, "GetAWT failed"); return; } jawt.Lock(env); } -JNIEXPORT void JNICALL Java_org_lwjgl_opengl_LinuxDisplay_unlockAWT(JNIEnv *env, jclass clazz) { +JNIEXPORT void JNICALL Java_org_lwjgl_opengl_LinuxDisplay_nUnlockAWT(JNIEnv *env, jclass clazz) { JAWT jawt; jawt.version = JAWT_VERSION_1_4; if (JAWT_GetAWT(env, &jawt) != JNI_TRUE) { - throwGeneralException(env, "java/lang/RuntimeException", "GetAWT failed"); + throwException(env, "GetAWT failed"); return; } jawt.Unlock(env); |
|
From: Elias N. <eli...@us...> - 2005-10-23 19:41:16
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1927/src/java/org/lwjgl/opengl Modified Files: LinuxDisplay.java Log Message: Linux: Don't assume JAWT Lock()/Unlock() are re-entrant, fixing a hang with GCJ 4 Index: LinuxDisplay.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/LinuxDisplay.java,v retrieving revision 1.28 retrieving revision 1.29 diff -u -d -r1.28 -r1.29 --- LinuxDisplay.java 10 Jul 2005 20:15:55 -0000 1.28 +++ LinuxDisplay.java 23 Oct 2005 19:41:08 -0000 1.29 @@ -49,16 +49,61 @@ final class LinuxDisplay implements DisplayImplementation { private static final int NUM_BUTTONS = 3; + /** Keep track on the current awt lock owner to avoid + * depending on JAWT locking to be re-entrant (This is a + * problem with GCJ). JAWT locking is not that well specified + * anyway so it is probably best to avoid assuming too much + * about it. + */ + private static Thread current_awt_lock_owner; + private static int awt_lock_count; + private static int display_connection_usage_count = 0; private static PeerInfo peer_info; /* Since Xlib is not guaranteed to be thread safe, we need a way to synchronize LWJGL - * Xlib calls with AWT Xlib calls. Fortunately, JAWT implements LockAWT and UnlockAWT() to + * Xlib calls with AWT Xlib calls. Fortunately, JAWT implements Lock()/Unlock() to * do just that. */ - static native void lockAWT(); - static native void unlockAWT(); + static synchronized void lockAWT() { + Thread this_thread = Thread.currentThread(); + while (current_awt_lock_owner != null && current_awt_lock_owner != this_thread) { + try { + LinuxDisplay.class.wait(); + } catch (InterruptedException e) { + LWJGLUtil.log("Interrupted while waiting for awt lock: " + e); + } + } + if (awt_lock_count == 0) { + current_awt_lock_owner = this_thread; + try { + nLockAWT(); + } catch (LWJGLException e) { + LWJGLUtil.log("Caught exception while locking AWT: " + e); + } + } + awt_lock_count++; + } + private static native void nLockAWT() throws LWJGLException; + + static synchronized void unlockAWT() { + if (awt_lock_count <= 0) + throw new IllegalStateException("AWT not locked!"); + if (Thread.currentThread() != current_awt_lock_owner) + throw new IllegalStateException("AWT already locked by " + current_awt_lock_owner); + awt_lock_count--; + if (awt_lock_count == 0) { + try { + nUnlockAWT(); + } catch (LWJGLException e) { + LWJGLUtil.log("Caught exception while unlocking AWT: " + e); + } + current_awt_lock_owner = null; + LinuxDisplay.class.notify(); + } + } + private static native void nUnlockAWT() throws LWJGLException; /** * increment and decrement display usage. |
|
From: Brian M. <ma...@us...> - 2005-10-21 18:54:07
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29205/src/java/org/lwjgl/test Modified Files: WindowCreationTest.java Log Message: dont load XPM files - uses embedded logo Index: WindowCreationTest.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/test/WindowCreationTest.java,v retrieving revision 1.36 retrieving revision 1.37 diff -u -d -r1.36 -r1.37 --- WindowCreationTest.java 18 Aug 2005 13:55:10 -0000 1.36 +++ WindowCreationTest.java 21 Oct 2005 18:54:00 -0000 1.37 @@ -33,6 +33,7 @@ import java.io.IOException; import java.nio.ByteBuffer; +import java.nio.IntBuffer; import org.lwjgl.BufferUtils; import org.lwjgl.LWJGLException; @@ -75,8 +76,6 @@ /** Whether we're in fullscreen mode */ private boolean fullscreen = false; - - /** * Initializes the test * @return true if initialization was successfull @@ -96,39 +95,10 @@ window_x = window_y = 100; Display.setLocation(window_x, window_y); - ByteBuffer size16 = BufferUtils.createByteBuffer(16 * 16 * 4); - XPMFile xpm = XPMFile.load(WindowCreationTest.class.getClassLoader().getResourceAsStream("lwjgl_16x16.xpm")); - size16.put(xpm.getBytes()); - size16.flip(); - - // Icon test -// for(int i=0; i<16; i++) { -// for(int j=0; j<16; j++) { -// size16.putInt(0xffffffff); -// } -// } -// size16.flip(); - - ByteBuffer size32 = BufferUtils.createByteBuffer(32 * 32 * 4); - xpm = XPMFile.load(WindowCreationTest.class.getClassLoader().getResourceAsStream("lwjgl_32x32.xpm")); - size32.put(xpm.getBytes()); - size32.flip(); - -// ByteBuffer size32 = BufferUtils.createByteBuffer(32 * 32 * 4); -// for(int i=0; i<32; i++) { -// for(int j=0; j<32; j++) { -// size32.putInt(0xff0000ff); -// } -// } -// size32.flip(); - Display.create(); - Display.setIcon(new ByteBuffer[] { size16, size32 }); return true; } catch (LWJGLException le) { le.printStackTrace(); - } catch (IOException ioe) { - ioe.printStackTrace(); } return false; } |
|
From: Brian M. <ma...@us...> - 2005-10-21 18:53:29
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29049/src/java/org/lwjgl/opengl Modified Files: Display.java Log Message: create windows with LWJGL logo dont recache same icons Index: Display.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/Display.java,v retrieving revision 1.55 retrieving revision 1.56 diff -u -d -r1.55 -r1.56 --- Display.java 16 Jul 2005 11:15:37 -0000 1.55 +++ Display.java 21 Oct 2005 18:53:21 -0000 1.56 @@ -273,7 +273,9 @@ // set cached window icon if exists if(cached_icons != null) { setIcon(cached_icons); - } + } else { + setIcon(new ByteBuffer[] { LWJGLUtil.LWJGLIcon16x16, LWJGLUtil.LWJGLIcon32x32 }); + } } private static void destroyWindow() { @@ -844,11 +846,14 @@ public static int setIcon(ByteBuffer[] icons) { // make deep copy so we dont rely on the supplied buffers later on - cached_icons = new ByteBuffer[icons.length]; - for(int i=0;i<icons.length; i++) { - cached_icons[i] = BufferUtils.createByteBuffer(icons[i].capacity()); - cached_icons[i].put(icons[i]); - cached_icons[i].flip(); + // don't recache! + if(cached_icons != icons) { + cached_icons = new ByteBuffer[icons.length]; + for(int i=0;i<icons.length; i++) { + cached_icons[i] = BufferUtils.createByteBuffer(icons[i].capacity()); + cached_icons[i].put(icons[i]); + cached_icons[i].flip(); + } } if(Display.isCreated()) { |
|
From: Brian M. <ma...@us...> - 2005-10-21 18:52:55
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28911/src/java/org/lwjgl Modified Files: LWJGLUtil.java Log Message: embedded LWJGL logo Index: LWJGLUtil.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/LWJGLUtil.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- LWJGLUtil.java 20 Oct 2005 21:32:33 -0000 1.7 +++ LWJGLUtil.java 21 Oct 2005 18:52:45 -0000 1.8 @@ -33,6 +33,7 @@ import java.io.File; import java.lang.reflect.Method; +import java.nio.ByteBuffer; import java.util.ArrayList; import java.util.List; import java.util.StringTokenizer; @@ -52,13 +53,220 @@ * @version $Revision$ */ public class LWJGLUtil { - public static final int PLATFORM_LINUX = 1; - public static final int PLATFORM_MACOSX = 2; - public static final int PLATFORM_WINDOWS = 3; + public static final int PLATFORM_LINUX = 1; + public static final int PLATFORM_MACOSX = 2; + public static final int PLATFORM_WINDOWS = 3; + + /** LWJGL Logo - 16 by 16 pixels */ + public static final ByteBuffer LWJGLIcon16x16 = BufferUtils.createByteBuffer(16 * 16 * 4).put(new byte[] { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -2, -1, -1, -1, -62, -41, -24, -1, 116, -92, -53, -1, 80, -117, + -67, -1, 84, -114, -65, -1, -122, -81, -46, -1, -25, -17, -10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -11, -11, -11, -1, + -115, -113, -111, -1, 118, -126, -115, -1, 125, -115, -101, -1, -124, -103, -86, -1, -108, -73, -43, -1, + 58, 125, -75, -1, 72, -122, -70, -1, -38, -25, -15, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -12, -8, -5, -1, -100, -98, -96, -1, 0, 0, 0, -1, 0, 0, 0, -1, + 0, 0, 0, -1, 0, 0, 0, -1, -28, -28, -28, -1, -124, -83, -48, -1, 58, 125, -75, -1, 91, -110, -63, -1, -4, + -3, -2, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -111, -74, -43, + -1, 95, 95, 95, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 34, 34, 34, -1, -1, -1, -1, -1, -24, -16, -10, + -1, 57, 124, -75, -1, 58, 125, -75, -1, -60, -40, -23, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -58, -39, -23, -1, -127, -85, -50, -1, 29, 29, 29, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, + -1, 102, 102, 102, -1, -1, -1, -1, -1, -48, -32, -19, -1, 58, 125, -75, -1, 58, 125, -75, -1, -115, -76, + -44, -1, -1, -1, -1, -1, -14, -14, -14, -1, -91, -91, -91, -1, -33, -33, -33, -1, -94, -63, -36, -1, -80, + -59, -42, -1, 10, 10, 10, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, -88, -88, -88, -1, -1, -1, -1, -1, + -105, -70, -40, -1, 58, 125, -75, -1, 58, 125, -75, -1, 113, -95, -54, -1, -1, -1, -1, -1, -95, -95, -95, + -1, 0, 0, 0, -1, 1, 1, 1, -1, 35, 35, 35, -1, -52, -52, -52, -1, -48, -48, -48, -1, -91, -91, -91, -1, + -124, -124, -124, -1, 92, 92, 92, -1, -17, -17, -17, -1, -1, -1, -1, -1, 96, -106, -61, -1, 58, 125, -75, + -1, 58, 125, -75, -1, 109, -98, -56, -1, -1, -1, -1, -1, 94, 94, 94, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, + -1, -49, -49, -49, -1, 31, 31, 31, -1, 3, 3, 3, -1, 43, 43, 43, -1, 108, 108, 108, -1, -58, -58, -58, -1, + -6, -4, -3, -1, -98, -65, -38, -1, 119, -91, -52, -1, 76, -119, -68, -1, 124, -88, -50, -1, -1, -1, -1, -1, + 27, 27, 27, -1, 0, 0, 0, -1, 0, 0, 0, -1, 23, 23, 23, -1, -42, -42, -42, -1, 1, 1, 1, -1, 0, 0, 0, -1, 0, + 0, 0, -1, 0, 0, 0, -1, 82, 82, 82, -1, -27, -27, -27, -1, 61, 61, 61, -1, 104, 104, 104, -1, -90, -90, -89, + -1, -38, -34, -31, -1, -1, -1, -1, -1, 116, 116, 116, -1, 14, 14, 14, -1, 0, 0, 0, -1, 89, 89, 89, -1, + -107, -107, -107, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, -111, -111, -111, -1, -101, -101, + -101, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 2, 2, 2, -1, 67, 67, 67, -1, -1, -1, -1, -1, -18, -18, + -18, -1, -116, -116, -116, -1, -65, -65, -65, -1, 86, 86, 86, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, + 0, 0, -1, -45, -45, -45, -1, 88, 88, 88, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 51, 51, + 51, -1, -1, -1, -1, -1, -1, -1, -1, -1, -4, -3, -2, -1, -1, -1, -1, -1, -64, -64, -64, -1, 64, 64, 64, -1, + 2, 2, 2, -1, 0, 0, 0, -1, 27, 27, 27, -1, -5, -5, -5, -1, 23, 23, 23, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, + 0, -1, 0, 0, 0, -1, 120, 120, 120, -1, -1, -1, -1, -1, -1, -1, -1, -1, -46, -31, -18, -1, 126, -87, -50, + -1, -32, -22, -13, -1, -1, -1, -1, -1, -44, -44, -44, -1, 109, 109, 109, -1, -124, -124, -124, -1, -45, + -45, -45, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, -67, -67, -67, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -2, -2, -2, -1, 102, -102, -59, -1, 61, 127, -74, -1, -126, -84, -48, -1, -28, -19, + -11, -1, -1, -1, -1, -1, -1, -1, -1, -1, -27, -27, -27, -1, 45, 45, 45, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, + 0, -1, 12, 12, 12, -1, -10, -10, -10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -30, -20, -12, + -1, 77, -119, -68, -1, 58, 125, -75, -1, 62, -128, -74, -1, -121, -80, -46, -1, -25, -17, -10, -1, -1, -1, + -1, -1, -2, -2, -2, -1, -68, -68, -68, -1, 79, 79, 79, -1, 3, 3, 3, -1, 74, 74, 74, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -21, -14, -8, -1, -116, -77, -44, -1, 86, -112, + -64, -1, 80, -116, -67, -1, 119, -91, -52, -1, -19, -13, -8, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -33, -33, -33, -1, -26, -26, -26, -1, -1, -1, -1, -1 + }); + + /** LWJGL Logo - 32 by 32 pixels */ + public static final ByteBuffer LWJGLIcon32x32 = BufferUtils.createByteBuffer(32 * 32 * 4).put(new byte[] { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -6, -4, -3, -1, -53, -35, + -20, -1, -109, -73, -42, -1, 111, -96, -55, -1, 92, -109, -62, -1, 96, -106, -61, -1, 122, -89, -51, -1, + -84, -56, -32, -1, -19, -13, -8, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -4, -3, -2, -1, -75, -50, -29, -1, 90, -110, -63, -1, + 58, 125, -75, -1, 58, 125, -75, -1, 58, 125, -75, -1, 58, 125, -75, -1, 58, 125, -75, -1, 58, 125, -75, -1, + 58, 125, -75, -1, 69, -123, -71, -1, -95, -63, -36, -1, -4, -3, -2, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -4, -4, -4, -1, -30, -22, -15, -1, -72, -49, -29, -1, -82, -55, -32, + -1, -93, -62, -36, -1, -104, -70, -40, -1, -116, -77, -45, -1, -127, -84, -49, -1, 110, -97, -56, -1, 61, + 127, -74, -1, 58, 125, -75, -1, 58, 125, -75, -1, 58, 125, -75, -1, 114, -94, -54, -1, -11, -8, -5, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -40, -40, -40, -1, 49, 49, 49, -1, 36, 36, 36, -1, 49, 49, 49, -1, 64, + 64, 64, -1, 82, 82, 82, -1, 101, 101, 101, -1, 116, 116, 116, -1, -113, -113, -113, -1, -9, -8, -8, -1, + -84, -56, -33, -1, 59, 125, -75, -1, 58, 125, -75, -1, 58, 125, -75, -1, 58, 125, -75, -1, 121, -89, -51, + -1, -4, -3, -2, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -2, -2, -2, -1, 104, 104, 104, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, + 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, -74, -74, -74, -1, -2, -2, -2, -1, -122, -82, + -47, -1, 58, 125, -75, -1, 58, 125, -75, -1, 58, 125, -75, -1, 58, 125, -75, -1, -82, -54, -31, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -45, -30, -18, + -1, -31, -22, -14, -1, 40, 40, 40, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, + 0, 0, -1, 0, 0, 0, -1, 2, 2, 2, -1, -34, -34, -34, -1, -1, -1, -1, -1, -11, -8, -5, -1, 91, -110, -63, -1, + 58, 125, -75, -1, 58, 125, -75, -1, 58, 125, -75, -1, 72, -122, -70, -1, -12, -8, -5, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -20, -13, -8, -1, 100, -103, -59, -1, -41, -39, -37, + -1, 5, 5, 5, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, + 36, 36, 36, -1, -2, -2, -2, -1, -1, -1, -1, -1, -1, -1, -1, -1, -64, -43, -25, -1, 57, 124, -75, -1, 58, + 125, -75, -1, 58, 125, -75, -1, 58, 125, -75, -1, -85, -56, -32, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -2, -1, -1, -1, 120, -90, -52, -1, 123, -89, -51, -1, -98, -98, -98, -1, 0, 0, 0, -1, 0, 0, + 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 101, 101, 101, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -30, -20, -12, -1, 55, 123, -76, -1, 58, 125, -75, -1, 58, 125, + -75, -1, 58, 125, -75, -1, 102, -102, -59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -61, + -41, -24, -1, 57, 125, -75, -1, -78, -52, -31, -1, 88, 88, 88, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, + 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, -87, -87, -87, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -68, -46, -27, -1, 58, 125, -75, -1, 58, 125, -75, -1, 58, 125, -75, -1, 58, 125, + -75, -1, 64, -127, -73, -1, -18, -12, -7, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -6, -4, -3, -1, 90, -110, -63, -1, 61, + 127, -74, -1, -35, -27, -19, -1, 28, 28, 28, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, + 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 7, 7, 7, -1, -25, -25, -25, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -123, -82, -47, -1, 58, 125, -75, -1, 58, 125, -75, -1, 58, 125, -75, -1, 58, 125, -75, -1, 57, + 125, -75, -1, -52, -34, -20, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -2, -2, + -2, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -70, -46, -27, -1, 58, 125, -75, -1, 87, -112, -65, + -1, -48, -47, -47, -1, 3, 3, 3, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, + 0, -1, 0, 0, 0, -1, 51, 51, 51, -1, -3, -3, -3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -5, -4, -3, -1, 80, + -117, -67, -1, 58, 125, -75, -1, 58, 125, -75, -1, 58, 125, -75, -1, 58, 125, -75, -1, 57, 125, -75, -1, + -79, -52, -30, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -54, -54, -54, -1, 55, 55, 55, -1, 97, + 97, 97, -1, -94, -94, -94, -1, -35, -35, -35, -1, -28, -20, -13, -1, -79, -53, -31, -1, -76, -51, -30, -1, + -26, -26, -26, -1, 35, 35, 35, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, + 0, -1, 0, 0, 0, -1, 114, 114, 114, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -40, -27, -16, -1, + 58, 125, -75, -1, 58, 125, -75, -1, 58, 125, -75, -1, 58, 125, -75, -1, 58, 125, -75, -1, 58, 125, -75, -1, + -96, -64, -37, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 102, 102, 102, -1, 0, 0, 0, -1, 0, 0, 0, + -1, 0, 0, 0, -1, 6, 6, 6, -1, 39, 39, 39, -1, 102, 102, 102, -1, -44, -44, -44, -1, -1, -1, -1, -1, -10, + -10, -10, -1, -48, -48, -48, -1, -105, -105, -105, -1, 94, 94, 94, -1, 39, 39, 39, -1, 4, 4, 4, -1, 0, 0, + 0, -1, 3, 3, 3, -1, -64, -64, -64, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -94, -63, -37, -1, + 58, 125, -75, -1, 58, 125, -75, -1, 58, 125, -75, -1, 58, 125, -75, -1, 58, 125, -75, -1, 58, 125, -75, -1, + -98, -65, -38, -1, -1, -1, -1, -1, -1, -1, -1, -1, -5, -5, -5, -1, 37, 37, 37, -1, 0, 0, 0, -1, 0, 0, 0, + -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 92, 92, 92, -1, -1, -1, -1, -1, -22, -22, -22, -1, + -113, -113, -113, -1, -75, -75, -75, -1, -23, -23, -23, -1, -3, -3, -3, -1, -25, -25, -25, -1, -78, -78, + -78, -1, -67, -67, -67, -1, -2, -2, -2, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 107, -99, -57, + -1, 58, 125, -75, -1, 58, 125, -75, -1, 58, 125, -75, -1, 58, 125, -75, -1, 58, 125, -75, -1, 58, 125, -75, + -1, -95, -63, -36, -1, -1, -1, -1, -1, -1, -1, -1, -1, -37, -37, -37, -1, 3, 3, 3, -1, 0, 0, 0, -1, 0, 0, + 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, -125, -125, -125, -1, -1, -1, -1, -1, 95, 95, + 95, -1, 0, 0, 0, -1, 0, 0, 0, -1, 11, 11, 11, -1, 55, 55, 55, -1, 118, 118, 118, -1, -73, -73, -73, -1, + -16, -16, -16, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -16, -11, -7, -1, 75, -120, -69, -1, 61, + 127, -74, -1, 57, 124, -75, -1, 58, 125, -75, -1, 58, 125, -75, -1, 58, 125, -75, -1, 58, 125, -75, -1, + -78, -52, -30, -1, -1, -1, -1, -1, -1, -1, -1, -1, -102, -102, -102, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, + -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, -59, -59, -59, -1, -9, -9, -9, -1, 29, 29, 29, -1, + 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 7, 7, 7, -1, 60, 60, 60, -1, + -33, -33, -33, -1, -1, -1, -1, -1, -5, -4, -3, -1, -4, -3, -2, -1, -13, -9, -6, -1, -52, -35, -21, -1, -98, + -66, -38, -1, 114, -95, -55, -1, 76, -119, -69, -1, 58, 125, -75, -1, -55, -36, -21, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 86, 86, 86, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, + -1, 15, 15, 15, -1, -7, -7, -7, -1, -47, -47, -47, -1, 3, 3, 3, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, + 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, -114, -114, -114, -1, -1, -1, -1, -1, -7, + -7, -7, -1, -124, -124, -124, -1, 112, 112, 112, -1, -80, -80, -80, -1, -22, -22, -22, -1, -1, -1, -1, -1, + -7, -5, -4, -1, -36, -24, -14, -1, -10, -7, -4, -1, -1, -1, -1, -1, -1, -1, -1, -1, 21, 21, 21, -1, 0, 0, + 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 78, 78, 78, -1, -1, -1, -1, -1, + -111, -111, -111, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, + 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, -69, -69, -69, -1, -1, -1, -1, -1, -98, -98, -98, -1, 0, 0, 0, -1, 0, 0, + 0, -1, 0, 0, 0, -1, 4, 4, 4, -1, 47, 47, 47, -1, 112, 112, 112, -1, -80, -80, -80, -1, -26, -26, -26, -1, + -2, -2, -2, -1, -1, -1, -1, -1, 57, 57, 57, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, + 0, -1, 0, 0, 0, -1, -112, -112, -112, -1, -1, -1, -1, -1, 77, 77, 77, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, + 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 16, 16, 16, -1, -16, -16, -16, -1, + -1, -1, -1, -1, 90, 90, 90, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, + -1, 0, 0, 0, -1, 9, 9, 9, -1, 50, 50, 50, -1, -79, -79, -79, -1, -10, -10, -10, -1, -95, -95, -95, -1, 53, + 53, 53, -1, 2, 2, 2, -1, 0, 0, 0, -1, 0, 0, 0, -1, 2, 2, 2, -1, -47, -47, -47, -1, -11, -11, -11, -1, 19, + 19, 19, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, + 0, 0, -1, 69, 69, 69, -1, -2, -2, -2, -1, -8, -8, -8, -1, 29, 29, 29, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, + 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 43, 43, 43, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -4, -4, -4, -1, -66, -66, -66, -1, 80, 80, 80, -1, 5, 5, 5, -1, 37, 37, 37, -1, + -7, -7, -7, -1, -62, -62, -62, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, + 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, -122, -122, -122, -1, -1, -1, -1, -1, -46, -46, -46, -1, 1, + 1, 1, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, + 0, -1, 0, 0, 0, -1, 67, 67, 67, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -2, -2, + -2, -1, -36, -36, -36, -1, -32, -32, -32, -1, -1, -1, -1, -1, -107, -107, -107, -1, 0, 0, 0, -1, 0, 0, 0, + -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 1, 1, 1, -1, -56, -56, + -56, -1, -1, -1, -1, -1, -114, -114, -114, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, + -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, -120, -120, -120, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -33, -33, -33, -1, 41, 41, 41, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, + 0, 0, -1, 0, 0, 0, -1, 24, 24, 24, -1, -11, -11, -11, -1, -1, -1, -1, -1, 74, 74, 74, -1, 0, 0, 0, -1, 0, + 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, + 0, -1, -49, -49, -49, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -15, -10, -6, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -7, -7, -7, -1, -75, -75, -75, -1, 75, + 75, 75, -1, 6, 6, 6, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 82, 82, 82, -1, -1, -1, -1, + -1, -8, -8, -8, -1, 16, 16, 16, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, + 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 28, 28, 28, -1, -8, -8, -8, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -122, -81, -47, -1, -112, -75, -43, -1, -22, -15, -9, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -37, -37, -37, -1, 120, 120, 120, -1, + 27, 27, 27, -1, 0, 0, 0, -1, 0, 0, 0, -1, -106, -106, -106, -1, -1, -1, -1, -1, -58, -58, -58, -1, 0, 0, 0, + -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, + 0, 0, 0, -1, 90, 90, 90, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -61, -40, -23, -1, 58, 125, -75, -1, 67, -125, -72, -1, -108, -72, -42, -1, -19, -13, + -8, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -12, -12, -12, -1, -89, -89, -89, + -1, -123, -123, -123, -1, -12, -12, -12, -1, -1, -1, -1, -1, -122, -122, -122, -1, 0, 0, 0, -1, 0, 0, 0, + -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, + -99, -99, -99, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -6, -5, -3, -1, 93, -108, -62, -1, 58, 125, -75, -1, 58, 125, -75, -1, 70, -123, -71, -1, -104, + -69, -40, -1, -17, -12, -7, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -101, -101, -101, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, + -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 5, 5, 5, -1, -35, -35, -35, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -59, -39, -23, -1, 59, 126, -74, -1, 58, 125, -75, -1, 58, 125, -75, -1, 58, 125, -75, -1, 72, -122, -70, + -1, -98, -66, -38, -1, -14, -10, -6, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -5, -5, -5, -1, -114, -114, -114, -1, 37, 37, 37, -1, 1, 1, 1, -1, 0, 0, 0, -1, 0, 0, 0, + -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 44, 44, 44, -1, -4, -4, -4, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -113, -75, -43, -1, 58, 125, -75, -1, 58, 125, -75, -1, 58, 125, -75, -1, 58, 125, -75, -1, 58, 125, -75, + -1, 74, -121, -69, -1, -93, -62, -36, -1, -13, -9, -6, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -6, -6, -6, -1, -80, -80, -80, -1, 69, 69, 69, -1, 4, 4, 4, -1, 0, 0, 0, + -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 110, 110, 110, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -4, -3, + -2, -1, -123, -81, -47, -1, 58, 125, -75, -1, 58, 125, -75, -1, 58, 125, -75, -1, 58, 125, -75, -1, 58, + 125, -75, -1, 58, 125, -75, -1, 77, -119, -68, -1, -88, -59, -34, -1, -10, -7, -4, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -2, -2, -2, -1, -46, -46, -46, -1, 104, 104, + 104, -1, 14, 14, 14, -1, 0, 0, 0, -1, 1, 1, 1, -1, -72, -72, -72, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -2, -2, -1, -1, -79, -53, -30, -1, 76, -119, -68, -1, 57, 125, -75, -1, 58, 125, -75, -1, + 58, 125, -75, -1, 58, 125, -75, -1, 58, 125, -75, -1, 58, 125, -75, -1, 77, -119, -68, -1, -65, -44, -25, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -20, -20, -20, -1, -109, -109, -109, -1, -101, -101, -101, -1, -3, -3, -3, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -13, -9, -6, -1, -75, -50, -29, -1, -127, + -84, -48, -1, 101, -103, -59, -1, 97, -105, -60, -1, 108, -98, -56, -1, -113, -75, -43, -1, -59, -39, -23, + -1, -9, -6, -4, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1 + }); /** Debug flag. */ public static final boolean DEBUG = getPrivilegedBoolean("org.lwjgl.util.Debug"); + static { + LWJGLIcon16x16.flip(); + LWJGLIcon32x32.flip(); + } + /** * Get the current platform */ |
|
From: Brian M. <ma...@us...> - 2005-10-21 18:51:28
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/test/openal In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28559/src/java/org/lwjgl/test/openal Modified Files: PositionTest.java Log Message: dont double create AL Index: PositionTest.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/test/openal/PositionTest.java,v retrieving revision 1.27 retrieving revision 1.28 diff -u -d -r1.27 -r1.28 --- PositionTest.java 22 May 2005 12:12:09 -0000 1.27 +++ PositionTest.java 21 Oct 2005 18:51:20 -0000 1.28 @@ -177,8 +177,6 @@ // ===================================================== LWJGLUtil.log("Setting up OpenAL"); - AL.create(); - AL10.alListener(AL10.AL_POSITION, listenerPosition); AL10.alListener(AL10.AL_VELOCITY, listenerVelocity); AL10.alListener(AL10.AL_ORIENTATION, listenerOrientation); |
|
From: Brian M. <ma...@us...> - 2005-10-20 21:46:33
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/openal In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28269/src/java/org/lwjgl/openal Modified Files: AL.java Log Message: using OpenAL32.dll name Index: AL.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/openal/AL.java,v retrieving revision 1.46 retrieving revision 1.47 diff -u -d -r1.46 -r1.47 --- AL.java 16 Sep 2005 06:50:34 -0000 1.46 +++ AL.java 20 Oct 2005 21:46:20 -0000 1.47 @@ -95,7 +95,7 @@ if (created) throw new IllegalStateException("Only one OpenAL context may be instantiated at any one time."); String[] oalPaths = LWJGLUtil.getLibraryPaths(new String[]{ - "lwjglaudio", "lwjglaudio.dll", + "OpenAL32", "OpenAL32.dll", "openal", "libopenal.so", "openal", "openal.dylib"}, AL.class.getClassLoader()); LWJGLUtil.log("Found " + oalPaths.length + " OpenAL paths"); |
|
From: Brian M. <ma...@us...> - 2005-10-20 21:32:48
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25011/src/java/org/lwjgl Modified Files: LWJGLUtil.java Log Message: changed search order to: 1) Library path 2) Current dir 3) OS search Index: LWJGLUtil.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/LWJGLUtil.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- LWJGLUtil.java 30 May 2005 16:21:03 -0000 1.6 +++ LWJGLUtil.java 20 Oct 2005 21:32:33 -0000 1.7 @@ -120,21 +120,31 @@ + File.separator + platform_lib_name); } - //add cwd path - possible_paths.add(platform_lib_name); - // Add all possible paths from java.library.path String java_library_path = (String)AccessController.doPrivileged(new PrivilegedAction() { public Object run() { return System.getProperty("java.library.path"); } }); + StringTokenizer st = new StringTokenizer(java_library_path, File.pathSeparator); while (st.hasMoreTokens()) { String path = st.nextToken(); possible_paths.add(path + File.separator + platform_lib_name); } + //add current path + String current_dir = (String)AccessController.doPrivileged(new PrivilegedAction() { + public Object run() { + return System.getProperty("user.dir"); + } + }); + possible_paths.add(current_dir + File.separator + platform_lib_name); + + + //add pure library (no path, let OS search) + possible_paths.add(platform_lib_name); + //create needed string array String[] paths = new String[possible_paths.size()]; possible_paths.toArray(paths); |
|
From: Brian M. <ma...@us...> - 2005-10-20 21:31:27
|
Update of /cvsroot/java-game-lib/LWJGL In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24372 Modified Files: build.xml Log Message: using OpenAL32.dll as name now (renamed wrap_oal.dll still, due to proxy issues) Index: build.xml =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/build.xml,v retrieving revision 1.91 retrieving revision 1.92 diff -u -d -r1.91 -r1.92 --- build.xml 20 Oct 2005 16:56:11 -0000 1.91 +++ build.xml 20 Oct 2005 21:31:00 -0000 1.92 @@ -91,7 +91,7 @@ <include name="lwjgl-fmod3.dll" /> <include name="lwjgl-devil.dll" /> - <include name="lwjglaudio.dll" /> + <include name="OpenAL32.dll" /> <include name="DevIL.dll" /> <include name="ILU.dll" /> <include name="ILUT.dll" /> |
|
From: Brian M. <ma...@us...> - 2005-10-20 21:29:03
|
Update of /cvsroot/java-game-lib/LWJGL/libs/win32 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23949 Added Files: OpenAL32.dll Removed Files: lwjglaudio.dll Log Message: using OpenAL32.dll as name now (renamed wrap_oal.dll still, due to proxy issues) --- NEW FILE: OpenAL32.dll --- (This appears to be a binary file; contents omitted.) --- lwjglaudio.dll DELETED --- |
|
From: Brian M. <ma...@us...> - 2005-10-20 17:03:01
|
Update of /cvsroot/java-game-lib/LWJGL/www/_gfx/projects In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25374 Added Files: drommi_small_1.jpg drommi_small_2.jpg drommi_small_3.jpg Log Message: added drommi racing --- NEW FILE: drommi_small_2.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: drommi_small_1.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: drommi_small_3.jpg --- (This appears to be a binary file; contents omitted.) |
|
From: Brian M. <ma...@us...> - 2005-10-20 17:02:12
|
Update of /cvsroot/java-game-lib/LWJGL/www In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25148 Added Files: favicon.ico Log Message: icon! - WE'VE GOT ICON! :D --- NEW FILE: favicon.ico --- (This appears to be a binary file; contents omitted.) |
|
From: Brian M. <ma...@us...> - 2005-10-20 17:01:51
|
Update of /cvsroot/java-game-lib/LWJGL/www In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24869 Modified Files: projects.php Log Message: added drommi racing Index: projects.php =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/www/projects.php,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- projects.php 15 Oct 2005 08:54:40 -0000 1.11 +++ projects.php 20 Oct 2005 17:01:17 -0000 1.12 @@ -164,7 +164,23 @@ 'big' => 'jglmark_2.jpg'), 2 => array( 'small' => 'jglmark_small_3.jpg', - 'big' => 'jglmark_3.jpg'))); + 'big' => 'jglmark_3.jpg'))); + + $projects[] = array( + 'name' => 'Drommi Race', + 'url' => 'http://www.drommiracing.com/', + 'type' => 'Commercial TV-Game', + 'desc' => 'Bet on your favorite Camelus dromedarius to win the race for you. And then send some SMS to shoot some whips, spurs or even flying carpets to enliven your drommi. The more items you collect the faster your drommi will go. But be aware that you play with or agains all others watching the race! Others may have bet on the same drommi and help you. But most will bet on one of the other eight drommies in the race, so you\'ll have though competition. The game runs on SuperRTL in Germany and in Cairos Tasliya TV. It is using UTF-16 and therefore multilingual.', + 'screens' => array( + 0 => array( + 'small' => 'drommi_small_1.jpg', + 'big' => ''), + 1 => array( + 'small' => 'drommi_small_2.jpg', + 'big' => ''), + 2 => array( + 'small' => 'drommi_small_3.jpg', + 'big' => ''))); function displayProjects() { @@ -192,7 +208,12 @@ echo " <td colspan=\"2\"><br/>\n"; for ($i = 0; $i < count($project['screens']); $i++) { - echo " <a href=\"javascript: openPopUp('".urlencode($project['screens'][$i]['big'])."');\"><img src=\"_gfx/projects/".$project['screens'][$i]['small']."\" border=\"0\" alt=\"\"/></a>\n"; + echo " "; + if($project['screens'][$i]['big'] != "") { + echo "<a href=\"javascript: openPopUp('".urlencode($project['screens'][$i]['big'])."');\"><img src=\"_gfx/projects/".$project['screens'][$i]['small']."\" border=\"0\" alt=\"\"/></a>\n"; + } else { + echo "<img src=\"_gfx/projects/".$project['screens'][$i]['small']."\" border=\"0\" alt=\"\"/>\n"; + } } echo " <br/><br/></td>\n"; |
|
From: Brian M. <ma...@us...> - 2005-10-20 16:59:19
|
Update of /cvsroot/java-game-lib/LWJGL/www In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24043 Modified Files: credits.php Log Message: changed ø to proper html entity Index: credits.php =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/www/credits.php,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- credits.php 27 Nov 2004 16:02:05 -0000 1.4 +++ credits.php 20 Oct 2005 16:59:12 -0000 1.5 @@ -17,7 +17,7 @@ <b>Contributors</b> </p> <ul> - <li>Niels Jørgensen</li> + <li>Niels Jørgensen</li> <li>Tristan Campbell</li> <li>Gregory Pierce</li> <li>Luke Holden</li> |
|
From: Brian M. <ma...@us...> - 2005-10-20 16:56:20
|
Update of /cvsroot/java-game-lib/LWJGL In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23355 Modified Files: build.xml Log Message: update to generated dir Index: build.xml =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/build.xml,v retrieving revision 1.90 retrieving revision 1.91 diff -u -d -r1.90 -r1.91 --- build.xml 29 Sep 2005 18:12:19 -0000 1.90 +++ build.xml 20 Oct 2005 16:56:11 -0000 1.91 @@ -136,10 +136,7 @@ <uptodate property="lwjgl.main.built" targetfile="${lwjgl.lib}/win32/lwjgl.dll" > <srcfiles dir= "${lwjgl.src.native}/common" includes="*.c*"/> - <srcfiles dir= "${lwjgl.src.native}/common/arb" includes="*.c"/> - <srcfiles dir= "${lwjgl.src.native}/common/nv" includes="*.c"/> - <srcfiles dir= "${lwjgl.src.native}/common/ext" includes="*.c"/> - <srcfiles dir= "${lwjgl.src.native}/common/ati" includes="*.c"/> + <srcfiles dir= "${lwjgl.src.native}/generated" includes="*.c"/> <srcfiles dir= "${lwjgl.src.native}/win32" includes="*.cpp"/> </uptodate> |
|
From: Brian M. <ma...@us...> - 2005-10-15 08:55:32
|
Update of /cvsroot/java-game-lib/LWJGL/www/_gfx/projects In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13360 Added Files: jglmark_1.jpg jglmark_2.jpg jglmark_3.jpg jglmark_small_1.jpg jglmark_small_2.jpg jglmark_small_3.jpg ultratron_1.jpg ultratron_2.jpg ultratron_3.jpg ultratron_small_1.jpg ultratron_small_2.jpg ultratron_small_3.jpg Log Message: added Ultratron added JGLMark --- NEW FILE: ultratron_2.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ultratron_small_2.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: jglmark_small_1.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: jglmark_small_3.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ultratron_small_3.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: jglmark_2.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: jglmark_small_2.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ultratron_3.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ultratron_1.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: jglmark_3.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: jglmark_1.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ultratron_small_1.jpg --- (This appears to be a binary file; contents omitted.) |