Commit Graph

270 Commits

Author SHA1 Message Date
Elias Naur da4eb5d83e *** empty log message *** 2003-08-17 18:40:58 +00:00
Elias Naur a8826b4b12 update->updateState 2003-08-17 18:17:20 +00:00
Brian Matzon 4f39c59b45 renamed updateStatus to update 2003-08-17 14:10:53 +00:00
Brian Matzon 7e283db15c mod: tick is now called updateState - bitch all you will :p 2003-08-17 09:27:32 +00:00
Elias Naur c8f38ac9b7 Flipped cursor coordinates to match OpenGL 2003-08-11 16:35:45 +00:00
Caspian Rychlik-Prince 0886f84ed8 *** empty log message *** 2003-08-07 21:53:06 +00:00
Elias Naur 683991fe79 Added buffer positions to Cursor 2003-08-05 20:07:32 +00:00
Elias Naur 35a1538f82 Implemented safe VBO indices (phew) 2003-08-04 23:00:49 +00:00
Elias Naur d359a6b7e1 *** empty log message *** 2003-08-04 10:09:40 +00:00
Caspian Rychlik-Prince 85c528039c *** empty log message *** 2003-08-03 22:10:03 +00:00
Elias Naur f7ce5c39ed Improved createIndexBuffer 2003-08-03 16:19:09 +00:00
Elias Naur 3f18bd15c4 Removed Sys.NULL 2003-08-03 11:02:57 +00:00
Elias Naur 907d5f083d Converted various GL sizes to buffer.remaining() 2003-08-02 15:21:55 +00:00
Caspian Rychlik-Prince 81b9e0795c *** empty log message *** 2003-08-02 10:56:25 +00:00
Elias Naur baa39830c0 Renamed Sys.createARBVBOBuffer to Sys.createIndexBuffer 2003-07-29 11:09:44 +00:00
Elias Naur 8b9931560f Moved GL capabilities to GLCaps 2003-07-28 10:09:58 +00:00
Caspian Rychlik-Prince 2bd35dbe1d Changed some focus handling code. Works well with Alien Flux. 2003-07-27 13:12:43 +00:00
Elias Naur 579dc64f4f Fixed WGL extension bug 2003-07-26 09:39:48 +00:00
Elias Naur 2579413a64 Fixed native win32 cursor bug 2003-07-24 09:09:24 +00:00
Elias Naur e4aaf66d8c Fixed some int address->Buffer bugs 2003-07-20 19:27:36 +00:00
Elias Naur d8f64cbb15 Separated BaseGL from CoreGL and GL and renamed to GLWindow 2003-07-18 19:02:49 +00:00
Elias Naur 794c802253 Added createARBVBOBuffer to enable VBO indexing with Buffers 2003-07-17 09:16:51 +00:00
Brian Matzon bd9b01eaf8 added support for isFocused 2003-07-16 21:01:34 +00:00
Brian Matzon 999a675be3 fix: compiler whining 2003-07-02 22:42:01 +00:00
Elias Naur 315375dee5 Ported OpenGL to Buffers 2003-06-24 12:24:55 +00:00
Caspian Rychlik-Prince 13edf0ce99 *** empty log message *** 2003-06-12 14:08:10 +00:00
Caspian Rychlik-Prince 7cb8a93fb1 We now restore display settings on minimize. Hurrah! 2003-06-07 19:28:53 +00:00
Elias Naur 71f46bfce9 Fixed win9x keyboard translation 2003-06-07 13:56:06 +00:00
Caspian Rychlik-Prince e148f01ba9 Early exit on failed mouse read. 2003-06-07 12:49:55 +00:00
Caspian Rychlik-Prince 72f2402a7f Minor tweaks to window creation. 2003-06-07 12:48:21 +00:00
Caspian Rychlik-Prince e143541c01 *** empty log message *** 2003-06-07 12:47:35 +00:00
Caspian Rychlik-Prince 5aae56dfcc *** empty log message *** 2003-06-04 22:10:24 +00:00
Elias Naur 16e1d44cdb Implemented gamma, brightness and contrast controls on win32 and linux
using a simplified gamma ramp API
2003-05-27 14:12:10 +00:00
Elias Naur 9bcaa18c3d Implemented Pbuffers on win32 and linux (render to texture will be done later)
Implemented native cursor caps (one bit transparancy, alpha translucency and animations)
2003-05-20 12:20:13 +00:00
Elias Naur e886d95122 Native cursors implemented 2003-05-16 18:39:46 +00:00
Brian Matzon 985c601df9 fix: Controller now works again (window.h was being included, and setting dx version to 3, which doesn't support joysticks) 2003-05-08 21:30:30 +00:00
Brian Matzon 06cf180b71 fix: increased buffersize to correct size (buffering + translation can increase needed size to 200 bytes at most) 2003-05-07 17:17:23 +00:00
Elias Naur b705ea51d0 Removed makeContexCurrent and releaseContext 2003-04-26 06:54:32 +00:00
Brian Matzon 609cdda985 Using EnumDisplaySettingsEx now, to force monitor comparing 2003-04-14 18:17:29 +00:00
Elias Naur 3018edde4c Added Sys.NULL constant 2003-04-03 20:20:29 +00:00
Elias Naur 97bc650a22 Minor win32 fix 2003-03-30 19:53:39 +00:00
Elias Naur d58c8b767b I like those makeContextCurrent/releaseContext... 2003-03-30 19:40:35 +00:00
Elias Naur bc33d3ff2b Linux/win32 changes for 0.6 2003-03-30 19:26:39 +00:00
Caspian Rychlik-Prince 920a67b1ac Stuff for 0.6 2003-03-29 21:52:14 +00:00
Caspian Rychlik-Prince 157e7673cc Big changes for the new 0.6 LWJGL release 2003-03-28 23:16:15 +00:00
Caspian Rychlik-Prince 16d8c3c053 Fixed 2003-03-28 21:04:43 +00:00
Caspian Rychlik-Prince 4924c564d5 *** empty log message *** 2003-03-28 19:02:24 +00:00
Caspian Rychlik-Prince 895c751ec6 New Window class, and major changes to Display 2003-03-28 01:30:34 +00:00
Caspian Rychlik-Prince 419da83107 New Window class, and major changes to Display 2003-03-28 01:28:04 +00:00
Elias Naur 5ac3ea26e8 Fixed mouse clamping 2003-03-23 20:08:49 +00:00
Brian Matzon 95075c3492 fix: VM crash when using > 4 button mouse 2003-03-23 20:00:28 +00:00
Caspian Rychlik-Prince 0cf93ebe93 Fixed nasty bug in Win9x display mode enumeration 2003-03-22 21:39:52 +00:00
Caspian Rychlik-Prince c6a231cf43 New getPlatform() method added 2003-03-21 17:08:26 +00:00
Caspian Rychlik-Prince 8575ae0496 New getPlatform() method added 2003-03-21 16:57:56 +00:00
Caspian Rychlik-Prince c1fd8957df New getPlatform() method added 2003-03-21 16:53:19 +00:00
Elias Naur 0d620e9125 Reverted display mode selection 2003-03-19 12:41:28 +00:00
Caspian Rychlik-Prince df1d611624 Fixed JNI error 2003-03-18 16:38:31 +00:00
Brian Matzon 0060b68efd fix: dragging of window doesn't work, when returning directly from unhandled WM_SYSCOMMAND - so let's not do that! 2003-03-17 18:40:56 +00:00
Caspian Rychlik-Prince c6c2cdcafc Tweaked but little else 2003-03-07 16:01:27 +00:00
Brian Matzon e78cdd5029 fix: removed GlobalRef
fix: now sets fields to JNI_TRUE/JNI_FALSE respectively
2003-03-07 15:23:58 +00:00
Caspian Rychlik-Prince 0f88a2131b *** empty log message *** 2003-03-06 22:55:13 +00:00
Brian Matzon 310526a254 wip fix: buttons array now being ref'ed from native side to avoid GC'ing 2003-03-06 20:55:13 +00:00
Brian Matzon ccba1c3f79 fix: won't be needing hashmaps from native side 2003-03-04 06:08:53 +00:00
Brian Matzon 02aa0e7a1a fix: small beautification 2003-03-03 21:51:13 +00:00
Brian Matzon 12b7c4dd85 fix: now enumerates multiple displaydevices, if available 2003-03-03 21:49:46 +00:00
Brian Matzon db7b3a9cf5 fix: no longer fatal to not acquire input 2003-03-01 21:39:31 +00:00
Elias Naur 4677a35556 Fixed a buffer overflow problem in d�z 2003-02-20 15:13:37 +00:00
Elias Naur eeef8c62ed replaced PeekMessage() -> handleMessages() 2003-02-13 15:32:15 +00:00
Elias Naur 68045ce08f Don't allow the mouse to drift when failing poll 2003-02-12 12:11:05 +00:00
Elias Naur dcaaccc138 Don't allow to show the window menu 2003-02-12 12:07:50 +00:00
Elias Naur a36f15cc0e Don't return -1 on keyboard read failure 2003-02-12 11:27:48 +00:00
Elias Naur eb7e142b67 Don't return -1 on keyboard read failure 2003-02-12 09:55:17 +00:00
Elias Naur e44b4f43f0 added check for software only modes 2003-02-12 09:33:11 +00:00
Elias Naur 1e8061c22d replaced wglSwapLayerBuffers -> SwapBuffers 2003-02-12 09:29:07 +00:00
Brian Matzon 3a28d769a7 fix: releasing device context for window, as per msdn docs 2003-02-10 22:13:46 +00:00
Brian Matzon eb21d12e86 fix: using own DI instance since we've been horking the one created from display, which when not horked cannot be used, since it does not work with dx3+
fix: changed to use firstime initialization logic like mouse
2003-02-09 19:54:04 +00:00
Brian Matzon facd783e4f fix: behave with Controller 2003-02-09 19:51:53 +00:00
Brian Matzon 3eaca27fd7 mod: some formatting
fix: allow creation of mouse more than one time
2003-02-09 19:18:31 +00:00
Brian Matzon 8cd9882280 fix: moved handleMessages to its rightfull place 2003-02-08 23:25:11 +00:00
Brian Matzon 9a9406dc7e add: close button enabled 2003-02-08 23:01:58 +00:00
Brian Matzon ac29cf9acd mod: renaming of most methods/fields due to name clashes with Mouse
fix: check for DIERR_NOTACQUIRED when loosing focus
fix: check for controller failed, and would crash VM if no controller could be found
2003-02-08 19:31:19 +00:00
Brian Matzon 7c2dac8ebd fix: make mouse actually behave! 2003-02-08 19:30:53 +00:00
Brian Matzon 956968e092 new Mouse implementation, rewritten to better fit Controller structure 2003-02-08 19:30:23 +00:00
Elias Naur 6435369d23 Removed dead code 2003-02-08 16:33:00 +00:00
Brian Matzon f05f16cc27 added minimize button, disabling close button since we have no mechnism to notify the user of a close 2003-02-08 01:02:34 +00:00
Caspian Rychlik-Prince 247be0d0d2 *** empty log message *** 2003-02-07 23:21:01 +00:00
Caspian Rychlik-Prince 2e3f28b029 *** empty log message *** 2003-02-07 21:54:31 +00:00
Caspian Rychlik-Prince 5ea14c3919 *** empty log message *** 2003-02-06 18:26:04 +00:00
Elias Naur 8343e2a0cc Added win32 alpha check 2003-01-31 19:04:45 +00:00
Brian Matzon 99e22aa0b4 added rotational axis too 2003-01-23 21:38:33 +00:00
Brian Matzon 9cdf5d7156 small comment on using z axis as slider 2003-01-23 21:14:04 +00:00
Brian Matzon e781a7c83d new and improved version - w00t 2003-01-23 21:11:16 +00:00
Elias Naur 1b3d0278f9 Added keyboard translation to linux and win32 2003-01-11 23:09:38 +00:00
Brian Matzon 988f115218 Joystick replaced by Controller
GamePad no modelled as a controller
2003-01-03 18:47:42 +00:00
Caspian Rychlik-Prince f4165f634e Fixed? 2002-12-23 13:23:29 +00:00
Elias Naur a5ab6c385b Fixed win32 display bug 2002-12-22 20:31:22 +00:00
Caspian Rychlik-Prince 18f8302668 Alert code & new displaymode code 2002-12-22 19:52:44 +00:00
Brian Matzon b6b3d6e1d0 die die DIE!!! 2002-12-21 23:01:31 +00:00
Elias Naur 1f3f00aed1 Moved BaseGL constructor parameters to Display 2002-12-19 16:35:35 +00:00
Elias Naur 040d03dca4 Fixed the RegisterClass call 2002-12-18 16:40:12 +00:00
Elias Naur 450ff067cf Added a standard system error output 2002-12-14 15:23:53 +00:00
Elias Naur b7de8b69dc Added more pixelformat tests to win32 2002-12-12 22:04:05 +00:00
Elias Naur 38438f6716 Moved print of extensions to debug version 2002-12-12 20:06:15 +00:00
Elias Naur ede753c419 Removed a printf 2002-12-12 20:04:56 +00:00
Elias Naur 7184576886 Fixed a mouse button state array bug 2002-12-12 19:51:20 +00:00
Elias Naur ff770dee4d Added ReleaseContext to win32 2002-12-11 10:14:08 +00:00
Elias Naur 8202b0e14c Switched to dynamic loading of gl functions and libs 2002-12-11 07:16:31 +00:00
Elias Naur be6e1900b6 Moved OpenAL to common 2002-11-25 13:52:24 +00:00
Elias Naur 2b07698af5 Moved AL utility files to common 2002-11-25 13:39:46 +00:00
Elias Naur 2a0cff36da Moved GLU.cpp to common 2002-11-25 13:36:36 +00:00
Elias Naur badbc634b0 Moved org_lwjgl_opengl_GL.cpp to common 2002-11-25 13:32:17 +00:00
Elias Naur 808217ed84 Moved Math functions to common 2002-11-25 13:18:25 +00:00
Caspian Rychlik-Prince 2530b45005 Fixed array allocation syntax error and removed std namespace for VC6.0 users 2002-11-24 22:46:39 +00:00
Caspian Rychlik-Prince 90fe72b9b5 Fixed compile error since changing to platform independent glext.c 2002-11-24 17:13:33 +00:00
Caspian Rychlik-Prince e1242f4383 Fixed display frequency problems 2002-11-24 17:12:36 +00:00
Brian Matzon 7aa51ff1f6 fix: now copies buttoncount buttons, instead of 4 (doh!) 2002-11-22 21:49:20 +00:00
Brian Matzon 9e8d6d9af4 opengl->openal (doh!) 2002-11-19 15:47:31 +00:00
Elias Naur f45bfa725b Updated extgl.h/c and checkGLerror.h 2002-11-19 07:42:55 +00:00
Brian Matzon d32ec087bc fix: made joystick static, according to specs 2002-11-18 17:50:21 +00:00
Brian Matzon e2c8914168 bulk commit, since cvs server was down while fixing :/
fix: formatting got fucked
fix: multiple poll
fix: removed AquireInput method
2002-11-18 06:16:12 +00:00
Brian Matzon a9c614c2b2 first stab at the win32 joystick implementation 2002-11-17 18:13:46 +00:00
Tristan Campbell b161ad781a Fixed some bugs. 2002-10-26 18:54:54 +00:00
Caspian Rychlik-Prince 466cc98536 Ready to fill in. Go on, you know you want to. 2002-10-19 14:27:26 +00:00
Tristan Campbell 3c3208618e fixed some memory errors 2002-10-16 21:00:21 +00:00
Caspian Rychlik-Prince b8d3484e69 Fixed native matrix code so it compiles. Added EXT_paletted_texture functions to CoreGL - whoops 2002-10-15 20:30:47 +00:00
Tristan Campbell fa665cce33 Optimised INVERT cases for Orthogonal Matricies (Rotations) 2002-09-28 16:53:13 +00:00
Caspian Rychlik-Prince 77e0186cb7 Fixed wglGetExtensionsStringARB problem 2002-09-20 17:00:30 +00:00
Brian Matzon 9564ff99eb fix: don't do the whole initializing thingy - just assume that OpenAL is initialized
fix:: wrong comment
fix: changed ifndef to ifdef DOH!
2002-09-12 01:42:49 +00:00
Tristan Campbell 0b758f82ef Cleaned up the code, all test cases I have sent at it work.
check current compatibility at:
http://www.happypedestrian.com/lwjgl/matrixop.html
2002-09-08 23:57:33 +00:00
Tristan Campbell 0078885178 Recent Testing: Mul and Inv work for 3x3 matrix, more testing coming
check www.happypedestrian.com/lwjgl/matrixop.html for current status
2002-09-07 19:52:01 +00:00
Brian Matzon c109f47de2 rem: getProcAddress removed, since it serves no purpose for Java programmers 2002-09-06 23:36:48 +00:00
Brian Matzon 3a26ab9268 mod: adopted create/destroy architecture 2002-09-03 19:24:57 +00:00
Brian Matzon 82c97f79ac add: finished EAX support 2002-09-02 22:08:26 +00:00
Brian Matzon d9226e4b33 mod: moving to eax subpackage 2002-09-02 13:22:09 +00:00
Brian Matzon 7a2acd569d fix: actually set Listener & Buffer GUID's 2002-08-30 21:45:48 +00:00
Brian Matzon 9ecf595bd4 add: first stab at EAX support 2002-08-30 21:30:40 +00:00
Tristan Campbell 3e701e274e Safe version now exists, some testing performed. 2002-08-29 21:40:44 +00:00
Brian Matzon f85aaf6b01 fix: now using ByteBuffer all the way 2002-08-29 01:11:46 +00:00
Brian Matzon 3822ca992e fix: don't check for errors after the exit! - will crash since no current context 2002-08-28 23:41:05 +00:00
Brian Matzon 62df26dc1c fix: now uses ByteBuffer address to load buffer when using alutLoadWAVMemory
fix: minor cleanup
2002-08-28 22:46:54 +00:00
Tristan Campbell b5fab4fcc6 First draft of ANSIC++ Vector code. Needs to be tested. 2002-08-28 16:45:24 +00:00
Brian Matzon e33e715849 fix: made compile 2002-08-27 20:42:47 +00:00
Brian Matzon 8d51bb4b8e fix: support alcMakeContextCurrent - as recommended in specs! 2002-08-27 17:45:40 +00:00
Brian Matzon 1ea4bf10b4 fix: NULL check in getString
fix: wrong object being used when retrieving fields
2002-08-26 22:16:25 +00:00
Brian Matzon 21b1ea9862 fix: allow null to be passed to openDevice 2002-08-26 21:28:30 +00:00
Brian Matzon e98d612862 add: macro AL error checking 2002-08-26 18:23:11 +00:00
Brian Matzon efa5dc7f5d fix: dx version defined, so that compile errors are removed 2002-08-26 18:14:22 +00:00
Brian Matzon d84886e36c rem: don't include math file, which isn't there 2002-08-26 18:12:22 +00:00
Brian Matzon 0106d1ae4e fix: wrong header file being included (DOH!)
fix: using wrong object to retrieve field values from
2002-08-26 15:07:31 +00:00
Brian Matzon 3a05fc03bb fix: made java impl. behave like C counterpart, by returning NULL 2002-08-25 11:02:21 +00:00
Caspian Rychlik-Prince 6f3722d932 Checkpoint 2002-08-24 21:19:06 +00:00
Brian Matzon db9a312469 add: first stab at ALC 2002-08-20 14:46:04 +00:00
Brian Matzon 1bcd10fbf3 basic al support complete 2002-08-19 13:54:34 +00:00
Brian Matzon 14ae13dd26 change: ALUTLoadWAVFile -> ALUTLoadWAVData 2002-08-18 13:57:28 +00:00
Brian Matzon 68e100a6e9 fix: memory leak 2002-08-18 13:47:56 +00:00
Brian Matzon f6c9a484b3 add: loadWAVMemory implemented
fix: wrong comments on alutInit
2002-08-18 13:42:14 +00:00
Caspian Rychlik-Prince 11ce7e3b5b Working 2002-08-17 14:13:12 +00:00
Caspian Rychlik-Prince 2e43ecec70 Copyright added 2002-08-15 15:46:18 +00:00
Brian Matzon a2d48f3ce0 change: old JNI Cimplementaion upgraded to C++ 2002-08-15 15:41:38 +00:00
Brian Matzon 3d0e916e03 add: copyright header 2002-08-15 15:14:42 +00:00
Brian Matzon 2cf8050e75 changed: now defines using dx7 2002-08-15 14:53:18 +00:00
Brian Matzon 94de774d49 changed: AL_ and al prefix removed (this included lowercasing first letter in method) 2002-08-15 14:34:20 +00:00
Caspian Rychlik-Prince 560e2dfbc0 Removed GL_ prefixes 2002-08-15 13:26:37 +00:00
Brian Matzon d9ed524c54 CoreAL10 -> CoreAL 2002-08-14 10:55:41 +00:00
Caspian Rychlik-Prince 801bed13f7 Added automatic error checking to debug build 2002-08-14 01:31:10 +00:00
Caspian Rychlik-Prince ebeb7b4b04 Removed redundant class heirarchy 2002-08-14 01:08:57 +00:00
Brian Matzon b1ed626ffb corrected Id keyword substitution 2002-08-11 15:59:08 +00:00
Brian Matzon e81da42a24 initial import of OpenAL native implementation 2002-08-11 15:56:00 +00:00
Caspian Rychlik-Prince 6b87bd6d20 Initial revision 2002-08-11 11:49:32 +00:00
Caspian Rychlik-Prince 6333c1dec1 Initial revision 2002-08-06 15:10:44 +00:00