oal part of LWJGL and joal

Set the cursor image to empty is not a work around at all. In fact, on linux, that’s the only way of ‘hiding’ the cursor.

  • elias

[quote]And gl.glBlah is around the corner for lwjgl too :slight_smile:

  • elias
    [/quote]
    Please, no. This is one type of redundancy that is not needed. Why add 2 extra letters to every GL command?

[quote]Why add 2 extra letters to every GL command?
[/quote]
Because with static import in 1.5, you can just do:
glBlah

thus 95% of all your c code has readily usable! - only the Buffer stuff has to be handled.

perhaps we can wait 1.5 beta first ? ;D

[quote]Set the cursor image to empty is not a work around at all. In fact, on linux, that’s the only way of ‘hiding’ the cursor.

  • elias
    [/quote]
    There should be a shorthandle anyways imo.

This line is just painfull and doesnt look that logical at all:
setCursor(Toolkit.getDefaultToolkit().createCustomCursor(new BufferedImage(1,1,BufferedImage.TYPE_INT_ARGB),new Point(0,0),""));

Summin like this would be better:
setCursor(Cursor.getPredefinedCursor(Cursor.NO_CURSOR));

I always wondered why there isn’t a “no draw” cursor and the NO_CURSOR was one of the things I just tried before I checked my books.

So I may have lost the thread of logic too…

But JInput uses DirectInput on Win32. You don’t even need a Frame to use it (it has its own secret, invisible message pump.)

JK

So yeah like going from Java to C… sounds like all I ever wanted. Oh shit, the mid form of these two already exists, C++4life, maaaaan.

I started in C++, moved to Java, and have never looked back. :stuck_out_tongue:

Horse for courses, if I wanted to write the next best selling first person shooter I guess I’d go for C++.

Kev

I’m pretty confident of being able to do it in Java.
And sooner :slight_smile:

Cas :slight_smile:

Here here! And you’re also assuming someone would want to create a fps/twitch game.

[quote]I’m pretty confident of being able to do it in Java.
And sooner :slight_smile:

Cas :slight_smile:
[/quote]