Hello Guest

LWJGL 0.94 Released

  • 24 Replies
  • 22845 Views
*

Offline Matzon

  • *****
  • 2242
LWJGL 0.94 Released
« on: December 14, 2004, 21:22:48 »
0.94 has been released here

This is mainly a bugfix release, however it does include:
* Mac OS X port, made possible using your donation money
* Devil support (win32 initially)
* lots of other stuff I always remember... - bloody devs, never sending me any changelogs :p

This release does not contain any noteworthy changes to the fmod port, since another binding is in the works - due to be released in a week or two - depending on the quality and license of that binding we'll decide lwjgl's fmod bindings future.

Note For now:
* Fmod is win32 & linux
* Devil is win32
Still working on enabling this on all 3 platforms

AFAIK, there are no API incompatibilities.
Elias: recent mouse changes, with regards to mouse grabbed and delta - may cause breakage?

LWJGL 0.94 Released
« Reply #1 on: December 14, 2004, 21:47:49 »
You guys are amazing! Thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you... well, you get the idea...

 :D  :D  :D
=-=-=-=-=-======-=-=-=-=-=-
http://www.tommytwisters.com

*

Offline Chman

  • ***
  • 100
    • http://www.shakebox.org
LWJGL 0.94 Released
« Reply #2 on: December 14, 2004, 21:53:10 »
Great news, especially for the mac support !

Chman

LWJGL 0.94 Released
« Reply #3 on: December 14, 2004, 22:14:39 »
Ummm... is there supposed to be an OpenAL dll in the win32 versions package?
=-=-=-=-=-======-=-=-=-=-=-
http://www.tommytwisters.com

LWJGL 0.94 Released
« Reply #4 on: December 14, 2004, 22:25:22 »
I'm getting this (using the Windows binary dist):

Code: [Select]
java.lang.UnsatisfiedLinkError: nalGenBuffers
at org.lwjgl.openal.AL10.nalGenBuffers(Native Method)
at org.lwjgl.openal.AL10.alGenBuffers(AL10.java:932)
at naroth.sound.OpenALSound.<init>(OpenALSound.java:66)
at naroth.util.SoundUtils.initSound(SoundUtils.java:15)
at naroth.util.SoundUtils.loadSounds(SoundUtils.java:25)
at naroth.Naroth.init(Naroth.java:121)
at naroth.start.StartFrame$Runner.run(StartFrame.java:208)
at java.lang.Thread.run(Thread.java:534)


BTW: Off topic, but i tried to post this using the link to the forum provided on the lwjgl-homepage. It doesn't work...

*

Offline Matzon

  • *****
  • 2242
LWJGL 0.94 Released
« Reply #5 on: December 14, 2004, 22:59:16 »
I forgot to add the oal dll - new file up:
lwjgl-win32-0.94-2.zip

*

Offline Matzon

  • *****
  • 2242
LWJGL 0.94 Released
« Reply #6 on: December 14, 2004, 23:00:33 »
Quote from: "EgonOlsen"

BTW: Off topic, but i tried to post this using the link to the forum provided on the lwjgl-homepage. It doesn't work...
Uhm, ... eh?
the link at the front page just points to this thread-  can't see any reason for you not being able to post?

LWJGL 0.94 Released
« Reply #7 on: December 14, 2004, 23:02:53 »
I think he's referring to the "Forum" link itself. It's pointing to forum.lwjgl.org, which isn't coming up.
=-=-=-=-=-======-=-=-=-=-=-
http://www.tommytwisters.com

LWJGL 0.94 Released
« Reply #8 on: December 14, 2004, 23:02:55 »
Quote from: "Matzon"
Quote from: "EgonOlsen"

BTW: Off topic, but i tried to post this using the link to the forum provided on the lwjgl-homepage. It doesn't work...
Uhm, ... eh?
the link at the front page just points to this thread-  can't see any reason for you not being able to post?
No, i'm talking about the link on the left...that one to forum....

LWJGL 0.94 Released
« Reply #9 on: December 14, 2004, 23:16:14 »
Ok, sound works now. How about util.timer? It seems to be broken as i'm getting negative times from it. It worked fine in 0.92 and 0.93, but now my game tries to adjust itself to -0.27272... :wink:

Edit: It works fine again if i'm replacing the lwjgl_util.jar of 0.94 with the one from 0.93

*

Offline Matzon

  • *****
  • 2242
LWJGL 0.94 Released
« Reply #10 on: December 14, 2004, 23:34:35 »
the forum stuff is temporary  - the relevant dns server is down.
as for the timer stuff, I am not aware of any issues, however Cas did commit a timer change a week ago:
http://cvs.sourceforge.net/viewcvs.py/java-game-lib/LWJGL/src/java/org/lwjgl/util/Timer.java

LWJGL 0.94 Released
« Reply #11 on: December 14, 2004, 23:50:09 »
It is allowed to create as many instances of Timer as i want, isn't it?
I compared the results that i'm getting from 0.93 and 0.94...they are both strange, but they only hurt in 0.94...let's see (i have 3 instances of Timer, all instanciated more or less at startup):

0.93
Code: [Select]

naroth.util.timer.LWJGLTimeProvider@13f7281:2.090642
naroth.util.timer.LWJGLTimeProvider@64883c:20855.654
naroth.util.timer.LWJGLTimeProvider@453807:1.1789659


This works becuase i care only for the delta, not for the times itself...but why does one Timer is counting 2xxxx...??

In 0.94, it looks like this:

Code: [Select]

naroth.util.timer.LWJGLTimeProvider@15bdc50:0.5311144
naroth.util.timer.LWJGLTimeProvider@18941f7:-0.19965774
naroth.util.timer.LWJGLTimeProvider@88e2dd:0.20388663


The behaviour is not what i expect, too. Anyway, this time it gives me negative values and that hurts me somewhere in my code.

An i using the Timer wrong? Can there only be one instance of it?

Edit: The code for LWJGLTimeProvider:

Code: [Select]
package naroth.util.timer;

import org.lwjgl.util.Timer;
import com.threed.jpct.*;

public class LWJGLTimeProvider implements TimeProvider {

   private Timer timer=null;

   public LWJGLTimeProvider() {
      timer=new Timer();
      Logger.log("Timer initialized: LWJGL hires timer", Logger.MESSAGE);
  }

  public long currentTimeMillis() {
     timer.tick();
     System.out.println(this+":"+timer.getTime());
     return (long) (timer.getTime()*1000f);
  }
}

LWJGL 0.94 Released
« Reply #12 on: December 15, 2004, 00:14:29 »
I've modified LWJGLTimeProvider to work with one static instance of Timer, but to no avail. I wrote a test to see how it compared to my SunMiscTimeProvider. They are in sync for about 600ms. After that, the LWJGL-Timer fails, while the Sun one is still working as expected.

LWJGL 0.94 Released
« Reply #13 on: December 15, 2004, 00:51:12 »
I've found something...this line:

currentTime = (int) Sys.getTime();

in Timer doesn't seem to be a good idea. My machine delivers something like 2083154160188 right after startup. Not a good idea to cast this into an int...

Re: LWJGL 0.94 Released
« Reply #14 on: December 15, 2004, 07:53:14 »
Quote from: "Matzon"

* Devil support (win32 initially)


This is so cool, thank you thank you thanky you !!!  :)