Brian Matzon
93aa253732
fixed params (int -> float)
2006-08-31 16:40:53 +00:00
Elias Naur
dde118016c
Update to beta3
2006-08-10 08:45:10 +00:00
Elias Naur
bd474ceaa9
Windows: Replace _WIN32 macro with _MSC_VER since the conditionals are really for the MSVC compiler, not for the windows platform in general. Code cleanup.
2006-07-15 21:01:11 +00:00
Elias Naur
3b03560ee7
Split the external LWJGL version from the internal version of the native JNI library. The internal JNI version is now an integer. This has multiple advantages over the old way:
...
1. The JNI_VERSION field is now included automatically in the generated JNI headers, relieving us of the burden of updating the version number in both java and native code.
2. We can update the JNI version with every non-compatible change of the JNI library API, not just once per release, giving us extra safety when users download and build LWJGL from SVN.
3. We can now avoid rebuilding natives if a particular release only
contains java changes. Currently, This is mostly a problem when Brian bumps the
external version prior a release and I forget to re-build the natives ;)
2006-07-14 16:14:52 +00:00
Elias Naur
624f93ba34
Windows: Use the standard _WIN32 macro instead of the LWJGL defined WIN32.
2006-07-12 16:55:05 +00:00
Elias Naur
6d751849d1
Fix compile warning
2006-07-10 00:44:49 +00:00
Elias Naur
67957781a2
Windows: don't cache the JNIEnv pointer in the message handle, but acquire it through the global JavaVM handle.
2006-07-09 08:31:49 +00:00
Elias Naur
c64dd328f9
Added a native NewStringNativeUnsigned to avoid compile warnings
2006-07-07 10:36:26 +00:00
Elias Naur
cbe41294a5
Linux: Moved most input related stuff from native to java
2006-07-03 18:07:44 +00:00
Brian Matzon
e676edc5c0
support for version
...
beta2 tag
2006-07-02 21:59:10 +00:00
Brian Matzon
06e4daaa75
beta2 tag
2006-07-02 21:58:37 +00:00
Brian Matzon
d7e7b299c1
beta2 tag
2006-07-02 21:58:00 +00:00
Elias Naur
6cf49718db
Windows: LWJGL didn't work well with jinput, but compatibility could be greatly improved if LWJGL used DirectInput 8 (like jinput). This can't be done unconditionally, since we need the DX3 support for older versions of windows. So, I've moved most Mouse and Keyboard stuff from native to java side and generalized DirectInput access through an abstract base class, with two concrete subclasses, one for dx3 and one for dx8.
2006-06-26 13:50:48 +00:00
Brian Matzon
9e811f332a
fixed offset/length to use buffer properties
2006-06-23 08:16:27 +00:00
Ioannis Tsakpinis
843ce1bc27
Added EXT_timer_query extension
...
Added support for long (int64) types
2006-05-25 13:03:35 +00:00
Elias Naur
cce631748d
Win32: Updated various native string handling to use the new _s "secure" variants.
2006-05-18 12:11:37 +00:00
Brian Matzon
7c08c27dd8
1.0beta version string
2006-05-14 21:54:48 +00:00
Brian Matzon
9130b91027
updated version to 1.0
2006-04-30 21:15:14 +00:00
Brian Matzon
5db7a9a7b8
removed printf statement
2006-04-13 13:36:03 +00:00
Elias Naur
d7c55744ce
Widened VBO/PBO buffer offsets and sizes to long to better match the GLsizeiptr and GLintptr native types
2006-02-26 11:44:34 +00:00
Elias Naur
55d79e7e55
Fixed a potentially uninitialized return value in ALC.c
2006-02-23 19:22:00 +00:00
Brian Matzon
ac3a70926b
support for ALC_ENUMERATION_EXT using LWJGL specific method: AL.getImplementations
2006-02-02 22:34:28 +00:00
Elias Naur
3b8b751935
Linux: Fixed resetDisplayMode in case XRandr is used and the first reported mode is not the initial mode
2006-01-31 12:31:41 +00:00
Elias Naur
e245faff46
OpenAL: Split platform dependent code from extal.c into platform subdirs. Made nCreate take a path instead of an array of paths.
2006-01-16 15:58:23 +00:00
Elias Naur
c26ebafa62
OpenAL: Split platform dependent code from extal.c into platform subdirs. Made nCreate take a path instead of an array of paths.
2006-01-16 15:54:50 +00:00
Elias Naur
c7f671d062
Mac OS X: Made Makefile compile a fat binary under 10.4 as default, and added Makefile.legacy for 10.3 compiles. Made OpenAL try to load the builtin OpenAL framework (available on 10.4) if loading openal.dylib fails
2006-01-16 15:15:38 +00:00
Brian Matzon
5eab7dd2a6
incremented to 0.99
2005-12-17 21:22:11 +00:00
Brian Matzon
e27338e9d0
fixed version mismatch (!!!!)
2005-11-28 22:12:06 +00:00
Elias Naur
747f0850a0
Added support for native formatted exception messages
2005-11-24 11:31:26 +00:00
Elias Naur
d6ae5e2d45
Converted some static local variables to stack localvariables
2005-11-22 14:03:52 +00:00
Elias Naur
1d52341e60
OpenAL: Made alcGetCurrentContext static in org_lwjgl_openal_ALC.c
2005-11-20 13:47:45 +00:00
Brian Matzon
a33a82e80b
silly debug leftovers nuked
2005-11-04 19:28:34 +00:00
Brian Matzon
20a9d2216c
reworked devil dynamic stub to use generated header using a new ILNative class
2005-11-04 19:22:52 +00:00
Brian Matzon
8e28671ce0
dynamic stub support
2005-11-02 22:04:15 +00:00
Elias Naur
9af9ed4320
OpenAL: Fixed native headers, now that altypes.h and alctypes are gone
2005-10-10 12:50:10 +00:00
Elias Naur
df2bc7d7e0
Moved generated files to seperate directories
2005-09-29 17:13:38 +00:00
Brian Matzon
2656b694e1
0.98 version string
2005-08-17 22:05:15 +00:00
Elias Naur
dda8ac8af1
Mac OS X: Handle MouseEvent.NOBUTTON case
2005-06-29 07:39:28 +00:00
Elias Naur
f1705b7fde
Added AccessController.doPrivileged where needed
2005-05-30 16:21:05 +00:00
Brian Matzon
2c3a019717
use dlopen to load dynamic libraries
2005-05-29 21:24:18 +00:00
Brian Matzon
4ad9b565d5
using .dylibs for devil on mac
2005-05-22 11:14:00 +00:00
Brian Matzon
322f35351b
fixed fmod webstart loading
2005-05-19 22:32:30 +00:00
Brian Matzon
8d18a63f59
0.97 version string
2005-05-18 21:02:41 +00:00
Brian Matzon
ff491196d2
missing fmod include
2005-05-18 19:46:29 +00:00
Brian Matzon
39c4e989a7
reorganize headers so that compilers stop whining
2005-05-18 17:36:42 +00:00
Elias Naur
d67949edb2
Mac OS X Devil: Make sure we include our own header files last so that our definition of bool is used
2005-05-17 07:43:40 +00:00
Elias Naur
0f5281e24f
OpenAL: Made the openal library path returned by the current ClassLoader and cwd more override java.library.path. Converted some printfDebug to printfDebugJava
2005-05-12 07:47:07 +00:00
Elias Naur
c8d5fe296b
Moved AWTSurfaceLock retry-loop to java to avoid non-standard sleep functions
2005-04-27 20:30:14 +00:00
Brian Matzon
4ae8937633
removed debug
2005-04-12 19:13:35 +00:00
Brian Matzon
c6a9e8cbf0
ignore fmod load path
2005-04-12 18:57:00 +00:00
Brian Matzon
62403c89a0
please mac compilation
2005-04-12 18:54:21 +00:00
Brian Matzon
a3da5368e7
use "dynamic" header on mac
2005-04-12 18:53:40 +00:00
Brian Matzon
4c5d849c3f
fake "dynamic" header for MacOSX, which uses a static lib *grumble*
2005-04-12 18:52:02 +00:00
Brian Matzon
0df543fbd2
Makefile for mac fmod
2005-04-12 18:49:49 +00:00
Brian Matzon
c3bcaf3b7b
don't call OpenTray on mac
2005-04-12 18:48:40 +00:00
Elias Naur
f3d3ce7ce5
Moved ALC error check to java. Fix linux type cast warnings
2005-04-12 10:55:23 +00:00
Elias Naur
f5cf0ef2a4
Converted ALC pointers from int to long
2005-04-12 10:30:05 +00:00
Elias Naur
a09b9aa919
Fixed compile warnings
2005-04-11 12:54:12 +00:00
Elias Naur
0e0ef2f1ab
Mac OS X: Use GetStringUTFChars instead of GetNativeChars to get the openal path
2005-04-11 12:38:00 +00:00
Elias Naur
df4e906100
Removed event buffer overflow message
2005-04-11 07:58:10 +00:00
Brian Matzon
ad8d7676c2
moved Sys.log to LWJGLUtils and renamed property to org.lwjgl.util.Debug
2005-03-29 18:09:33 +00:00
Elias Naur
6fe0155a44
Mac OS X: initialize delILhandle in declaration to please gcc
2005-03-29 10:32:42 +00:00
Brian Matzon
ba72196907
removed bogus define
2005-03-28 14:59:22 +00:00
Brian Matzon
fb7f46eec7
readded ilu/ilut handles - though they're never used. But stops compile errors
2005-03-28 14:53:30 +00:00
Brian Matzon
4d26c24be2
first stab at one-shot devil initialization on mac
2005-03-28 13:17:27 +00:00
Brian Matzon
a39b25e3cb
fixed warnings\nremoved cruft
2005-03-28 11:04:46 +00:00
Brian Matzon
daa07a6fc0
added missing v methods
2005-03-28 10:07:30 +00:00
Elias Naur
1254fcb45e
*** empty log message ***
2005-03-28 10:03:03 +00:00
Elias Naur
45bc3c4f9e
*** empty log message ***
2005-03-28 09:58:55 +00:00
Elias Naur
c7c30c974f
*** empty log message ***
2005-03-28 09:49:17 +00:00
Elias Naur
0fae464dd5
*** empty log message ***
2005-03-28 09:47:28 +00:00
Elias Naur
1b6793d79b
Added Devil Mac OS X makefile
2005-03-28 09:33:32 +00:00
Brian Matzon
2ed6dc2320
linux fixes
2005-03-25 10:25:07 +00:00
Brian Matzon
ff21520179
added ilutGet<type>v
2005-03-25 01:42:04 +00:00
Brian Matzon
ed3dacf6a3
dynamic loading of devil
2005-03-25 01:08:18 +00:00
Brian Matzon
665839e202
updated version string to 96
2005-03-16 21:18:41 +00:00
Elias Naur
e6f4e08365
Sync generated source files
2005-03-16 11:47:24 +00:00
Ioannis Tsakpinis
2e2396d1f0
Fixed GetShader & GetProgram
2005-03-11 16:19:02 +00:00
Elias Naur
7251a38930
OpenAL: Moved more library loading from native to java
2005-03-09 13:06:17 +00:00
Elias Naur
f4bfadcc5a
Removed unsued JNIEnv parameter from extgl_QueryExtension
2005-02-23 15:19:21 +00:00
Elias Naur
ad92547914
Moved platform specific stuff from extgl.c into platform directories
2005-02-23 13:22:44 +00:00
Elias Naur
901e28512d
Removed redundant include from awt_tools.h
2005-02-22 14:07:50 +00:00
Elias Naur
5d2e5de4eb
Linux makefile fix
2005-02-22 13:14:05 +00:00
Elias Naur
62e561cddf
Win32 part of refactor and AWTGLCanvas
2005-02-21 14:46:47 +00:00
Elias Naur
9e1f51c181
Win32 compilation fixed to AWTSurfaceLock.c
2005-02-20 12:55:35 +00:00
Elias Naur
fb5d89599b
Linux support for AWTGLCanvas. Big refactor of context specific code into Context.java that is now shared between Display, Pbuffer and AWTGLCanvas. (Win32 and Mac OS X is now broken while I implement the same changes on those platforms)
2005-02-20 11:24:22 +00:00
Elias Naur
2d5c4cf934
Moved platform specific opengl extension flags into the platform specific files
2005-02-17 12:39:33 +00:00
Elias Naur
e5a0e67f6d
Clarified comment. Mac OS X: Added debug output
2005-02-17 11:57:34 +00:00
Elias Naur
5d53187baa
Win32: fixed compilation
2005-02-16 20:25:23 +00:00
Elias Naur
34f4e7ae56
Implemented generator support for per-context function pointers. Fixed NV_vertex_array_range
2005-02-16 16:04:29 +00:00
Caspian Rychlik-Prince
5e962e54e2
Fixed AWTGLCanvas destroy crash. Fixed nv vertex array range glitch
2005-02-16 14:14:50 +00:00
Elias Naur
d56f1f7322
Mac OS X: platform specific GL types in extgl.h
2005-02-15 11:40:18 +00:00
Elias Naur
17ee2523c0
The Big Generator. All OpenGL and OpenAL java and native source files are now generated from templates. See doc/generator.txt for a detailed description.
2005-02-15 11:05:36 +00:00
Elias Naur
a1a9f5ced2
Made alEnable and alIsExtensionPresent private to AL10.c
2005-02-13 13:20:29 +00:00
Elias Naur
9c337a25eb
Win32: Fixed void * pointer arithmetic
2005-02-09 12:04:25 +00:00
Elias Naur
8d4bf3eb47
Moved extension type definitions into extgl.h. Removed offset argument to safeGetBufferAddress
2005-02-09 10:57:33 +00:00
Elias Naur
e4a0673211
Mac OSX: removed agl
2005-02-09 10:37:31 +00:00
Elias Naur
9f51d98dc2
Made glGetString and glGetError private to GL11.c again
2005-02-08 19:20:56 +00:00
Elias Naur
42165755b8
OpenAL: Enable error checking unconditionally, not only when debug is enabled
2005-01-28 21:08:16 +00:00
Elias Naur
bf150995b0
OpenAL: Don't call CHECK_ALC_ERROR after alcCloseDevice
2005-01-28 21:02:48 +00:00