Commit Graph

1161 Commits

Author SHA1 Message Date
Elias Naur 43b2d67a71 Moved native cursor origin to middle of the window 2003-10-11 11:03:06 +00:00
Elias Naur 9c427cd029 Added ARB_fragment_program 2003-10-10 14:18:20 +00:00
Caspian Rychlik-Prince 9ac5e7a530 Minor casting adjustment to work around a compiler bug 2003-10-08 10:56:24 +00:00
Elias Naur 50b8c3941c *** empty log message *** 2003-10-08 10:05:34 +00:00
Elias Naur fc925baab4 *** empty log message *** 2003-10-08 07:49:43 +00:00
Elias Naur 859f7bf50e *** empty log message *** 2003-10-07 15:10:24 +00:00
Elias Naur 14d023ed09 *** empty log message *** 2003-10-07 14:28:33 +00:00
Elias Naur aa9e183c7f *** empty log message *** 2003-10-07 13:10:17 +00:00
Elias Naur 0de7e16140 *** empty log message *** 2003-10-07 12:12:08 +00:00
Elias Naur df7a48b3ea *** empty log message *** 2003-10-07 11:23:12 +00:00
Elias Naur 0e799f0972 *** empty log message *** 2003-10-07 10:04:38 +00:00
Elias Naur e62178a8df *** empty log message *** 2003-10-06 15:28:12 +00:00
Elias Naur a55e3b2ade *** empty log message *** 2003-10-06 14:00:44 +00:00
Elias Naur 89b631746c *** empty log message *** 2003-10-06 08:34:03 +00:00
Elias Naur 09cdf84141 *** empty log message *** 2003-10-06 08:13:18 +00:00
Elias Naur 6e86fa857a *** empty log message *** 2003-10-03 14:33:27 +00:00
Elias Naur c3f840346c Loading Mac OS X hack through reflection 2003-10-01 09:33:22 +00:00
Elias Naur 38c18eb35c *** empty log message *** 2003-10-01 09:02:52 +00:00
Elias Naur 1ba24e9bdf *** empty log message *** 2003-09-30 11:52:32 +00:00
Elias Naur 6d8991f7dd *** empty log message *** 2003-09-30 11:14:06 +00:00
Elias Naur dd72b04c90 boolean results -> Exceptions 2003-09-30 10:52:05 +00:00
Elias Naur 42e8f13cbe *** empty log message *** 2003-09-29 11:58:35 +00:00
Elias Naur 4111a08857 Various Mac stuff 2003-09-29 09:26:20 +00:00
Elias Naur 26ca56212c *** empty log message *** 2003-09-28 13:09:17 +00:00
Elias Naur 9d52aaba56 Dummy getAdapter()/getVersion() for linux 2003-09-28 07:02:23 +00:00
Caspian Rychlik-Prince 307755b07c New API for adapter queries 2003-09-28 06:55:01 +00:00
Elias Naur 88b3bcabed *** empty log message *** 2003-09-26 18:36:54 +00:00
Caspian Rychlik-Prince 17b6a501e4 Changed from wglSwapBuffers back to SwapBuffers. 2003-09-26 16:26:10 +00:00
Caspian Rychlik-Prince 5497007c33 New "const" style interfaces for Vectors 2003-09-26 16:19:18 +00:00
Elias Naur 42ad1026af Don't ignore lying drivers 2003-09-26 13:59:50 +00:00
Elias Naur 1f0a6136b7 Added extgl check to agl 2003-09-25 15:34:13 +00:00
Elias Naur a7f8424355 Removed mac os x hack again 2003-09-23 11:00:37 +00:00
Elias Naur 5801ddf254 LWJGL now ignores OpenGL extensions with missing symbols 2003-09-22 08:31:51 +00:00
Elias Naur 8eb376ca5d More verbose output from extgl.c 2003-09-21 07:43:02 +00:00
Elias Naur 482179bba1 Enabled awt hack on Mac OS X 2003-09-17 10:48:00 +00:00
Caspian Rychlik-Prince b28860eb71 Gamma back in 2003-09-16 15:42:25 +00:00
Caspian Rychlik-Prince 00616de78b Lazy library instantiation 2003-09-16 15:39:46 +00:00
Elias Naur f67cd0e384 Tried harder to fix NT display mode selection 2003-09-16 08:29:16 +00:00
Elias Naur fe1d693b81 ifdef'ed some debug printfs 2003-09-11 08:00:28 +00:00
Caspian Rychlik-Prince 6551d03cd4 More fixes 2003-09-10 22:55:25 +00:00
Caspian Rychlik-Prince 392663d590 Fixed compile error 2003-09-10 22:41:17 +00:00
Caspian Rychlik-Prince e92a54db87 Repaired gamma code. 2003-09-10 22:39:46 +00:00
Caspian Rychlik-Prince 14f38f43e5 Lazy initialization. 2003-09-10 22:39:26 +00:00
Elias Naur 9148cb7c90 Fixed display mode code paths 2003-09-10 22:35:06 +00:00
Elias Naur 216dde95e3 *** empty log message *** 2003-09-09 18:11:01 +00:00
Elias Naur 579ac72a64 *** empty log message *** 2003-09-09 08:10:38 +00:00
Elias Naur 7ccd06cf0f *** empty log message *** 2003-09-08 16:43:53 +00:00
Elias Naur 56a45b2cb4 *** empty log message *** 2003-09-08 16:40:52 +00:00
Caspian Rychlik-Prince a16b6d1d38 Fixed spelling 2003-09-08 16:39:04 +00:00
Elias Naur 4980aeb426 *** empty log message *** 2003-09-08 16:34:38 +00:00
Elias Naur a8cd48965f *** empty log message *** 2003-09-08 14:51:01 +00:00
Elias Naur d2f44f4a3e *** empty log message *** 2003-09-08 14:40:46 +00:00
Elias Naur 2b1a59e722 *** empty log message *** 2003-09-07 16:21:04 +00:00
Elias Naur 8b947a575f *** empty log message *** 2003-09-07 16:11:15 +00:00
Elias Naur 7886c80c9a *** empty log message *** 2003-09-07 13:46:02 +00:00
Elias Naur 4447e48b4d *** empty log message *** 2003-09-07 13:28:19 +00:00
Elias Naur a130e9fefa *** empty log message *** 2003-09-05 09:39:43 +00:00
Elias Naur 5d668c0451 *** empty log message *** 2003-09-04 10:33:08 +00:00
Elias Naur bee4097e23 *** empty log message *** 2003-09-04 10:17:55 +00:00
Elias Naur a0d888248a *** empty log message *** 2003-09-04 08:38:10 +00:00
Elias Naur fb62e6327a *** empty log message *** 2003-09-04 07:23:47 +00:00
Elias Naur 2787a66207 *** empty log message *** 2003-09-03 15:42:37 +00:00
Elias Naur ad4203917b *** empty log message *** 2003-09-03 15:04:14 +00:00
Elias Naur 72f3a12646 *** empty log message *** 2003-09-02 15:00:56 +00:00
Elias Naur 8e7572192d *** empty log message *** 2003-09-02 14:06:34 +00:00
Caspian Rychlik-Prince ecb0045241 Fixed code in display enumeration. 2003-09-02 11:30:36 +00:00
Elias Naur 1333673bb5 More vector fixes by cfmdobbie 2003-09-01 12:45:47 +00:00
Elias Naur bdfd1735c5 Various org.lwjgl.vector bugs found by cfmdobbie fixed 2003-08-30 14:25:10 +00:00
Elias Naur ba3acc79b9 Committed spelling fixes 2003-08-29 08:00:44 +00:00
Elias Naur b05ee916f0 Added missing ATI_separate_stencil functionality 2003-08-25 09:10:51 +00:00
Elias Naur a73e7ce58a Added missing ATI_separate_stencil functionality 2003-08-25 09:07:04 +00:00
Elias Naur a232c6fbfb ATI_separate_stencil support added 2003-08-23 11:34:14 +00:00
Elias Naur 7d35ee2744 *** empty log message *** 2003-08-23 09:47:58 +00:00
Brian Matzon f27e5a294c fix: isStateKeySet now returning int 2003-08-23 09:45:22 +00:00
Elias Naur 16ea129071 *** empty log message *** 2003-08-19 19:35:22 +00:00
Brian Matzon 61305f4107 added isStateKeySet for checking LOCK keys 2003-08-19 15:15:00 +00:00
Elias Naur caed320677 Added float buffer methods to gl texture functions 2003-08-19 10:26:51 +00:00
Brian Matzon 252a1e58a2 simple javadoc fix 2003-08-17 20:26:37 +00:00
Elias Naur d252143d8b Moved Controller init code later 2003-08-17 18:48:29 +00:00
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
Elias Naur ec2ee3e2df *** empty log message *** 2003-08-17 17:03:01 +00:00
Elias Naur f872c3b2da Those examples are not going anywhere 2003-08-17 16:58:19 +00:00
Caspian Rychlik-Prince 1e69c2ec92 Whooooops! 2003-08-17 16:38:57 +00:00
Caspian Rychlik-Prince 711c157ce6 Added button names and consistent query methods to the buttons, to map between names and indexes and back again 2003-08-17 16:32:53 +00:00
Caspian Rychlik-Prince c94edfb609 *** empty log message *** 2003-08-17 16:31:07 +00:00
Caspian Rychlik-Prince 57d975a24a *** empty log message *** 2003-08-17 16:18:40 +00:00
Caspian Rychlik-Prince 2385672fb6 Added shutdown hook to clean up nicely 2003-08-17 16:14:36 +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 21b4ec41a2 *** empty log message *** 2003-08-17 09:04:12 +00:00
Brian Matzon 568c7c9182 fixed stupid unsatisfiedlink error, int -> jint 2003-08-16 21:12:02 +00:00
Brian Matzon df2967a2af update to 0.7 2003-08-13 21:45:33 +00:00
Brian Matzon f19ef56df9 fix: updated to 0.7 2003-08-13 21:03:57 +00:00
Brian Matzon 874edcb3ec fix: naming 2003-08-13 21:03:30 +00:00
Brian Matzon 8feb7f3b1f removed file - too many changes required for 0.7, semi b0rked anyway 2003-08-13 21:02:52 +00:00
Elias Naur 9fa15b12f7 Fixed a Matrix3f.invert() bug 2003-08-13 17:27:18 +00:00
Elias Naur d3c4253619 *** empty log message *** 2003-08-12 10:46:53 +00:00
Elias Naur 1af7c6ba6d Matrix2f.invert() returns null on failure 2003-08-12 10:38:11 +00:00
Elias Naur f348be1033 Matrix3f.invert() returns null on failure 2003-08-12 10:36:00 +00:00
Elias Naur c003893fa5 Matrix4f.invert() returns null on failure 2003-08-12 09:59:00 +00:00
Elias Naur b7510958c7 Optimized Matrix4f.invert() 2003-08-12 09:33:02 +00:00
Caspian Rychlik-Prince 7b01e92f0a Glitch fixin' 2003-08-11 20:11:45 +00:00
Caspian Rychlik-Prince 923abe46a9 New buffer code 2003-08-11 19:59:37 +00:00
Caspian Rychlik-Prince eb7e231172 New buffer code 2003-08-11 19:58:12 +00:00
Elias Naur f625bea9f0 *** empty log message *** 2003-08-11 17:33:41 +00:00
Elias Naur 177595e4ca *** empty log message *** 2003-08-11 16:53:16 +00:00
Elias Naur c8f38ac9b7 Flipped cursor coordinates to match OpenGL 2003-08-11 16:35:45 +00:00
Elias Naur 0b55322fc2 Flip cursor images in a copy buffer, not the user buffer 2003-08-10 19:18:02 +00:00
Caspian Rychlik-Prince 0886f84ed8 *** empty log message *** 2003-08-07 21:53:06 +00:00
Elias Naur 8c419814d6 Made VBOTracker and StateStack package private 2003-08-07 12:08:40 +00:00
Brian Matzon 977b90cf47 fix: IsFullscreen -> isFullscreen - to much c/c++ coding :( 2003-08-06 20:20:10 +00:00
Brian Matzon 96bd0737e9 add: IsFullScreen
fix: better error message on assertion failure
2003-08-06 19:46:34 +00:00
Brian Matzon a0bed5c78e remove unneded import 2003-08-06 19:25:43 +00:00
Elias Naur e352e196bd Native cursors now have same origin as OpenGL, lower left corner 2003-08-05 20:46:03 +00:00
Elias Naur 683991fe79 Added buffer positions to Cursor 2003-08-05 20:07:32 +00:00
Elias Naur a62ebc2c3b Fixed a negative focus feedback loop 2003-08-05 14:21:59 +00:00
Elias Naur 35a1538f82 Implemented safe VBO indices (phew) 2003-08-04 23:00:49 +00:00
Elias Naur e6cca3fda8 *** empty log message *** 2003-08-04 10:11:53 +00:00
Elias Naur d359a6b7e1 *** empty log message *** 2003-08-04 10:09:40 +00:00
Caspian Rychlik-Prince df0866d4fb *** empty log message *** 2003-08-03 22:27:28 +00:00
Caspian Rychlik-Prince 85c528039c *** empty log message *** 2003-08-03 22:10:03 +00:00
Caspian Rychlik-Prince 2049563485 Now the only Window class you need :D 2003-08-03 22:05:40 +00:00
Caspian Rychlik-Prince e482a9e815 Removed GLWindow and some useless extensions 2003-08-03 22:04:45 +00:00
Brian Matzon cd85805588 Added OpenAL specification to javadoc 2003-08-03 17:32:48 +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
Brian Matzon 80cf5b1dcc fix: static method usage 2003-08-02 20:52:49 +00:00
Caspian Rychlik-Prince 4283f40244 Now static 2003-08-02 17:11:33 +00:00
Caspian Rychlik-Prince f7609396fb Classes now abstract 2003-08-02 17:09:56 +00:00
Elias Naur 269b5b0046 glTexGeni* fix 2003-08-02 16:18:04 +00:00
Caspian Rychlik-Prince e90b540d01 *** empty log message *** 2003-08-02 16:07:49 +00:00
Caspian Rychlik-Prince 0dea5d4a44 Fixes 2003-08-02 15:58:05 +00:00
Elias Naur 0f35944137 Fixes 2003-08-02 15:44:03 +00:00
Elias Naur 907d5f083d Converted various GL sizes to buffer.remaining() 2003-08-02 15:21:55 +00:00
Elias Naur 11404dc8a1 Removed superfluous postfixes, fixed examples 2003-08-02 13:22:25 +00:00
Elias Naur ee08be5b75 Converted GL native 2003-08-02 12:53:25 +00:00
Caspian Rychlik-Prince 70f3ca8664 Added isCreated() method for consistency 2003-08-02 10:57:45 +00:00
Caspian Rychlik-Prince 761a1cece3 Fixed formatting 2003-08-02 10:57:05 +00:00
Caspian Rychlik-Prince 81b9e0795c *** empty log message *** 2003-08-02 10:56:25 +00:00
Caspian Rychlik-Prince c89cea204c Removed quadrics 2003-08-02 10:56:04 +00:00
Caspian Rychlik-Prince 0c6f4731a6 Major change to use overloaded buffer functions and buffer positions 2003-08-02 10:55:32 +00:00
Caspian Rychlik-Prince c59f1ee4cb Minor fixes 2003-08-02 10:54:59 +00:00
Caspian Rychlik-Prince 8b4aeb9364 Handy util for new buffer code 2003-08-01 20:57:30 +00:00
Caspian Rychlik-Prince 5c0612ef1f *** empty log message *** 2003-08-01 20:57:09 +00:00
Elias Naur 67753ed1c2 Converted GL to the new overloaded system 2003-08-01 19:34:21 +00:00
Caspian Rychlik-Prince 1ddaaf773e Major change to use overloaded buffer functions and buffer positions. In addition, quadrics and default shapes have been removed from GLU. 2003-08-01 17:53:44 +00:00
Caspian Rychlik-Prince c2fb75a362 Major change to use overloaded buffer functions and buffer positions 2003-08-01 17:35:47 +00:00
Caspian Rychlik-Prince 99f98c91de Major change to use overloaded buffer functions and buffer positions 2003-08-01 17:05:36 +00:00
Caspian Rychlik-Prince b878651e96 Major change to use overloaded buffer functions and buffer positions 2003-08-01 16:53:10 +00:00
Caspian Rychlik-Prince 0127e45ea3 Major change to use overloaded buffer functions and buffer positions 2003-08-01 15:34:54 +00:00
Elias Naur f141978acf *** empty log message *** 2003-07-29 12:39:50 +00:00
Elias Naur 9adb5695f3 Added VBOTest 2003-07-29 12:30:04 +00:00
Elias Naur f6aef89293 Made C NULL return values correspond to a null Buffer 2003-07-29 12:29:32 +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
Elias Naur 91e1e30652 whoops 2003-07-28 08:22:03 +00:00
Elias Naur fd6fb33014 GLConstants now extends CoreGL14Constants 2003-07-28 08:21:32 +00:00
Caspian Rychlik-Prince 4b8611c4f6 Removed Math class 2003-07-28 08:20:10 +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 1cdcd06fe5 Fixed extension code 2003-07-26 11:43:26 +00:00
Elias Naur 579dc64f4f Fixed WGL extension bug 2003-07-26 09:39:48 +00:00
Elias Naur 254681763d Added missing .cpp files 2003-07-26 09:22:31 +00:00
Elias Naur 65c2910e77 Fixed static WGL extensions 2003-07-26 08:32:23 +00:00
Brian Matzon 0246a05a16 fix: stop whining 'bout imports 2003-07-26 02:01:54 +00:00
Elias Naur 39ddf26f0b Added missing OpenGL 1.4 functions 2003-07-25 14:23:12 +00:00
Elias Naur 8c7e2e4da2 Separated CoreGL into CoreGL11, CoreGL12. CoreGL13, CoreGL14 (including CoreGLConstants) 2003-07-25 13:09:33 +00:00
Elias Naur 2579413a64 Fixed native win32 cursor bug 2003-07-24 09:09:24 +00:00
Elias Naur df95a09ba8 Minor buffer fix 2003-07-23 14:51:19 +00:00
Elias Naur e4aaf66d8c Fixed some int address->Buffer bugs 2003-07-20 19:27:36 +00:00
Elias Naur 51b3b5940a Removed various unnescessary *v OGL calls 2003-07-20 18:58:57 +00:00
Elias Naur 8202ff4717 Fixed two missing int->Buffer conversions 2003-07-20 16:29:17 +00:00
Elias Naur 820f622f73 Made gluUnproject and gluProject prettier 2003-07-20 16:25:05 +00:00
Elias Naur 83961b55a6 Fixed extension names 2003-07-20 16:01:41 +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 926121d83f fix: make it compile 2003-07-16 21:17:13 +00:00
Brian Matzon 491133c7f1 "fix": deactivate EAX for this test release 2003-07-16 21:16:36 +00:00
Elias Naur 1526ad3a2a Added linux focus support 2003-07-16 21:10:28 +00:00
Brian Matzon 1080e1344b fix: isClosedRequested now sets flag to false after call
added support for isFocused
2003-07-16 21:02:48 +00:00
Brian Matzon bd9b01eaf8 added support for isFocused 2003-07-16 21:01:34 +00:00
Elias Naur 63e3ef67fd Small error message fix 2003-07-15 14:02:39 +00:00
Elias Naur 143067127d Reverted change 2003-07-06 22:43:05 +00:00
Elias Naur 6bf70d35c7 Converted ogl to static constructor 2003-07-06 21:47:30 +00:00
Brian Matzon cdd4c044ba fix: javadoc typo 2003-07-06 19:59:57 +00:00
Elias Naur 074b80c06c Linux build fix 2003-07-06 08:00:22 +00:00
Brian Matzon 6e0ffd144d removing parts of Math 2003-07-05 23:59:44 +00:00
Brian Matzon cb23db8c47 removing parts of Math
removing examples
removed small doc
2003-07-05 23:58:34 +00:00
Brian Matzon f14e76ab8f fix: using type specific buffers 2003-07-05 23:13:09 +00:00
Elias Naur 2348040680 linux build fix 2003-07-05 22:19:51 +00:00
Elias Naur 55cb0bad92 fixed compiler warning 2003-07-05 21:58:35 +00:00
Brian Matzon e8a6ecb69c fix: removed debug 2003-07-04 14:29:02 +00:00
Brian Matzon 0b5722b3fb static implementation - work in progress 2003-07-02 22:42:41 +00:00
Brian Matzon 999a675be3 fix: compiler whining 2003-07-02 22:42:01 +00:00
Brian Matzon 1b06cc27cb bugger off buffer! 2003-07-02 22:37:45 +00:00
Brian Matzon 4c4d56e583 static implementation - work in progress 2003-07-02 22:35:26 +00:00
Elias Naur 315375dee5 Ported OpenGL to Buffers 2003-06-24 12:24:55 +00:00
Brian Matzon 2305247ac1 old resource loading was buggy? 2003-06-17 21:24:48 +00:00
Brian Matzon fa26d83aae using default file on no argument (allows easier JWS interaction) 2003-06-17 21:22:16 +00:00
Brian Matzon 1cdc9f9b15 using classloader to load files 2003-06-17 21:21:11 +00:00
Brian Matzon dc25f2fb17 reset displaymode when done 2003-06-17 21:19:59 +00:00
Brian Matzon cafa7452aa add simple keyboard test - for completeness sake - needs to be made better 2003-06-17 21:18:44 +00:00
Elias Naur 0698e68911 *** empty log message *** 2003-06-16 17:07:35 +00:00
Elias Naur 2107cdc40c Cleaned up JWS openal loading 2003-06-16 17:05:48 +00:00
Brian Matzon 40564b8cee fix: linux findLibrary failed because invalid lib name was passed 2003-06-16 16:57:25 +00:00
Brian Matzon 3f54bac547 fix: Java Web Start loading of OpenAL 2003-06-15 22:35:27 +00:00
Caspian Rychlik-Prince bf2ff00518 *** empty log message *** 2003-06-12 15:19:31 +00:00
Caspian Rychlik-Prince 13edf0ce99 *** empty log message *** 2003-06-12 14:08:10 +00:00
Elias Naur 2e30eff2a5 Try to return a better minimum cursor size 2003-06-08 14:32:30 +00:00
Elias Naur 34aeff1757 Try to return a better minimum cursor size 2003-06-08 14:30:53 +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
Elias Naur 6e73a7a953 Doc update 2003-06-07 11:53:17 +00:00
Caspian Rychlik-Prince 5aae56dfcc *** empty log message *** 2003-06-04 22:10:24 +00:00
Caspian Rychlik-Prince bf72447cec *** empty log message *** 2003-06-04 21:49:46 +00:00
Elias Naur 023e1df80d Added gamma debug output 2003-06-01 17:26:02 +00:00
Elias Naur c267f6d5da Linux fixes 2003-06-01 17:20:03 +00:00
Brian Matzon 4cdf7f855d fix: removed superfluous import statement 2003-06-01 11:02:35 +00:00
Elias Naur 18685ab806 Added USEGLX13 to BaseGL.cpp 2003-05-30 16:29:17 +00:00
Elias Naur e66f5dee8a More Display checks 2003-05-30 14:44:45 +00:00
Elias Naur 66a2676652 Extra checks in window creation 2003-05-30 06:10:33 +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 30df047153 Doc fix: gamma arrays are three arrays, not one consecutive 2003-05-26 18:29:44 +00:00
Elias Naur e11f941056 Doc fix: Gamma changes are undone at resetDisplayMode 2003-05-26 18:26:10 +00:00
Scott W Palmer 1ae6e9e862 oops missed double buffer attribute 2003-05-23 04:21:09 +00:00
Scott W Palmer 79823229f9 fixed sporadic Bus Error in GetAvailableDisplayModes 2003-05-23 03:07:46 +00:00
Elias Naur 5411e23b7a Native cursor fixes 2003-05-20 14:28:30 +00:00
Scott W Palmer a104d020d0 Stubs for OS X 2003-05-20 14:00:18 +00:00
Scott W Palmer 6612643fec minor cleanup 2003-05-20 13:59:58 +00:00
Elias Naur ccc115fe9d Native cursor fixes 2003-05-20 13:59:30 +00:00
Scott W Palmer b9a7d26cb4 minor cleanup 2003-05-20 13:51:46 +00:00
Scott W Palmer 503f031b15 fixed some more initialization issues 2003-05-20 13:48:44 +00:00
Elias Naur 4c53756e7b Cursor fixes 2003-05-20 12:33:51 +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 586c0f4647 Fixes 2003-05-19 08:54:46 +00:00
Elias Naur 9d612fc88b Fixes 2003-05-19 08:53:47 +00:00
Scott W Palmer 41f562676f fixed some initialization issues 2003-05-19 02:56:54 +00:00
Elias Naur a1649bab3f Min cursor size 1, not 0 2003-05-17 08:06:39 +00:00
Scott W Palmer a360d24047 Mac OS X Support - untested 2003-05-17 02:50:51 +00:00
Elias Naur e886d95122 Native cursors implemented 2003-05-16 18:39:46 +00:00
Elias Naur fd75f7a959 Added debug output when dynamic library load fails 2003-05-11 11:51:08 +00:00
Gregory Pierce 8ae528efe0 Added in double buffering and added in the capability to actually swapBuffers with CGFlushDisplay() which will copy the back to the front. 2003-05-10 22:02:19 +00:00
Gregory Pierce 2eccb0f4ce Change to use the actual refresh rate from the display in the init call instead of setting it to 60. It doesn't really matter since OSX could care less, but for others maintaining the port, they may want code that looks the same. 2003-05-10 21:49:30 +00:00
Gregory Pierce aa13639386 Changed the location of the CGDisplayCapture from the GL code to the Display code. A side effect of this is that calling resetDisplayMode() is required - not optional. Not calling resetDisplayMode() may result in a non-responsive machine. 2003-05-10 19:19:12 +00:00
Gregory Pierce 585131c442 Updated the display init function so that the OSX version plays nicely with the other versions. 2003-05-10 17:30:58 +00:00
Gregory Pierce bcd0b40bce Removed unnecessary struct. No point consuming memory for something that's unnecessary. 2003-05-10 17:21:39 +00:00
Gregory Pierce ad12445e75 Updated to use CG API for mouse capture and deltas. OS handles Deltas itself so using that as opposed to tracking it myself. 2003-05-10 17:20:48 +00:00
Gregory Pierce 8fb714f8e5 Updated to be up to date with current release. Still no support for setting process priority. 2003-05-10 04:58:18 +00:00
Gregory Pierce 4766bd1c85 Finishing up changes to the Display and BaseGL classes. 2003-05-10 04:50:24 +00:00
Gregory Pierce 4d10d662ec Removed as interface to HID devices has changed 2003-05-09 20:24:06 +00:00
Gregory Pierce 5afb350aa0 Updated to use CGL as opposed to AGL 2003-05-09 20:23:28 +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 c04fe10bac new test, based on MouseTest 2003-05-08 21:27:53 +00:00
Brian Matzon b7a151c48b back to 1.19 - silly me 2003-05-08 21:27:12 +00:00
Brian Matzon 900fc0e8fe new test, based on MouseTest 2003-05-08 21:23:02 +00:00
Gregory Pierce 647e1b2b29 Revamped architecture replacing AGL nastiness with cleaner CGL API 2003-05-08 00:53:10 +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
Brian Matzon 20291ac913 fix: destroy keyboard before GL is destroyed 2003-05-04 17:36:57 +00:00
Brian Matzon 702d541fc6 fix: javadoc 2003-05-03 21:20:23 +00:00
Brian Matzon f75a3197e6 damn you tabs! 2003-05-03 19:50:16 +00:00
Brian Matzon 9af031ee77 formatting and usage 2003-05-03 19:48:14 +00:00
Brian Matzon de0ab91f22 add example of switching between fullscreen and windowed mode 2003-05-03 19:41:00 +00:00
Elias Naur 9543fbf3bb Fixed segfault when GLX is missing 2003-05-02 21:18:01 +00:00
Elias Naur 038a1c540c *** empty log message *** 2003-05-02 20:58:53 +00:00
Elias Naur 86798e426f Fixed some linux input focus issues 2003-05-02 13:41:40 +00:00
Brian Matzon dc47138037 fix: added Serializable interface to allow serialization 2003-04-30 15:38:14 +00:00
Brian Matzon 098a932fc9 fix: call base destroy
fix: null references
2003-04-28 22:43:27 +00:00
Caspian Rychlik-Prince c4305dc5a0 Added destroy() method to prevent a crash 2003-04-28 21:50:11 +00:00
Elias Naur 43ff833d99 Fixed a typo 2003-04-28 16:41:39 +00:00
Elias Naur 56e8d511bd Added scale to Matrix4f 2003-04-28 12:10:54 +00:00
Elias Naur 81dc347de0 Reverted the glu loading 2003-04-28 11:20:55 +00:00
Elias Naur 57e9578eb5 *** empty log message *** 2003-04-28 11:12:53 +00:00
Caspian Rychlik-Prince d020ad3216 *** empty log message *** 2003-04-28 11:04:15 +00:00
Brian Matzon 91b33eb649 add: default constructor for OpenAL 2003-04-27 21:26:02 +00:00
Brian Matzon 95367245cb only do 10 updates / sec 2003-04-27 18:39:18 +00:00
Brian Matzon 866e55ad22 New OpenAL programming model:
no context/device fiddling
 easier initialization
2003-04-27 18:37:38 +00:00
Elias Naur b705ea51d0 Removed makeContexCurrent and releaseContext 2003-04-26 06:54:32 +00:00
Elias Naur 2d3d8585b6 Merged cfmdobbie's gl version checking 2003-04-16 20:28:20 +00:00
Brian Matzon 609cdda985 Using EnumDisplaySettingsEx now, to force monitor comparing 2003-04-14 18:17:29 +00:00
Elias Naur 7455bfcef9 Corrected a linux gl lib loading bug 2003-04-13 09:28:01 +00:00
Elias Naur 34e1cd0d8a Removed superflous Vector3f.magnitude() 2003-04-09 15:24:27 +00:00
Elias Naur c82ecd306d Fixed missing header include 2003-04-07 17:49:13 +00:00
Elias Naur 1222c594d0 *** empty log message *** 2003-04-07 17:30:41 +00:00
Elias Naur f0c94451e9 Added dummy gamma controls to linux 2003-04-07 17:04:24 +00:00
Caspian Rychlik-Prince 99588933cf Added some isCreated() methods to input classes and keyboard key name mapping 2003-04-07 15:21:09 +00:00
Elias Naur 5da72080f0 Don't call nGetNULLValue before loading the library 2003-04-03 21:02:23 +00:00
Elias Naur 36e4c9625a Added ARBVertexBufferObject to list of implemented interfaces in GLConstants.java 2003-04-03 20:58:38 +00:00
Elias Naur 3018edde4c Added Sys.NULL constant 2003-04-03 20:20:29 +00:00
Elias Naur d7ff86a7d3 Added support for ARB_vertex_buffer_object 2003-04-03 11:32:32 +00:00
Elias Naur 267b868db7 Minor linux fix 2003-03-31 10:56:41 +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
Brian Matzon ecabc2f361 fix: go for 16 bit mode instead of 32 2003-03-28 23:58:55 +00:00
Brian Matzon f5c253726a fix: rewritten windowed/fullscreen selection 2003-03-28 23:47:20 +00:00
Brian Matzon d3c77abc4b fix: make certain that gl.tick is always called 2003-03-28 23:46:29 +00:00
Brian Matzon 164daef315 fix: removed double Keyboard.read 2003-03-28 23:40:45 +00:00
Caspian Rychlik-Prince 157e7673cc Big changes for the new 0.6 LWJGL release 2003-03-28 23:16:15 +00:00
Brian Matzon 07fdc052e0 fix: make it all compile 2003-03-28 22:12:45 +00:00
Caspian Rychlik-Prince 16d8c3c053 Fixed 2003-03-28 21:04:43 +00:00
Caspian Rychlik-Prince 24160ac606 Fixed 2003-03-28 19:18:23 +00:00
Caspian Rychlik-Prince c2714fe763 Removed Exception from constructor 2003-03-28 19:07:50 +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
Caspian Rychlik-Prince cab8f6f62f New Window class, and major changes to Display 2003-03-27 23:01:14 +00:00
Caspian Rychlik-Prince 24bfb0cf00 New Window class, and major changes to Display 2003-03-27 22:54:41 +00:00
Caspian Rychlik-Prince d4b5248f0a New Window class, and major changes to Display 2003-03-27 22:46:25 +00:00
Caspian Rychlik-Prince 796b84c3d1 New Window class, and major changes to Display 2003-03-27 22:32:48 +00:00
Elias Naur bb2d3d472d Various linux fixes(alot) 2003-03-27 18:28:05 +00:00
Elias Naur 8343bfa44c Various linux fixes(alot) 2003-03-27 18:27:36 +00:00
Elias Naur 0955acdec1 Linux various (5) 2003-03-27 17:22:26 +00:00
Elias Naur 8b4a868ddd Various linux fixes(4) 2003-03-27 15:42:25 +00:00
Elias Naur 52445cf214 Various linux fixes(3) 2003-03-27 15:38:47 +00:00
Elias Naur 3733d4a21e Various linux fixes(2) 2003-03-27 15:28:57 +00:00
Elias Naur d9828de0c4 Various linux fixes 2003-03-27 15:16:35 +00:00
Elias Naur acfd9e4cea Updated linux Mouse 2003-03-24 18:10:04 +00:00
Brian Matzon 6e37721123 add: small window test - wanted to test how fast a display is created 2003-03-24 17:16:42 +00:00
Brian Matzon f40973624c mod: making it possible to see color differences by clicking mouse buttons 2003-03-24 17:07:25 +00:00
Brian Matzon 0d1cc7583b fix: creation of buttons array now occurs in java side 2003-03-24 16:58:10 +00:00
Elias Naur f08389fdd2 Fixed Brian's bugs 2003-03-24 11:56:05 +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
Elias Naur a4454614db Renamed extal.c->extal.cpp 2003-03-23 12:52:11 +00:00
Tristan Campbell 7bbb1273d0 Fixed some bugs that were not allowing bulk adds and some binary incompatibilities.
Fixed error involving incorrectly setting strides when the stride is 0.
2003-03-23 01:13:43 +00:00
Brian Matzon 46802b3486 beautyfication 2003-03-22 23:22:08 +00:00
Brian Matzon dd201b2f14 fix: load OpenAL based on java.library.path 2003-03-22 23:17:11 +00:00
Caspian Rychlik-Prince 0cf93ebe93 Fixed nasty bug in Win9x display mode enumeration 2003-03-22 21:39:52 +00:00
Elias Naur a7ec7cda5b Various linux fixes 2003-03-21 23:28:00 +00:00
Brian Matzon 24db98e43a wip: load oal based on java.library.path 2003-03-21 17:55:33 +00:00
Elias Naur bba7bf9462 Added getPlatform() to linux 2003-03-21 17:37:58 +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
Caspian Rychlik-Prince be9286b6a0 Fixed some JNI errors. One remains. 2003-03-17 18:57:05 +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 f078482bbc Fix Brians bugs 2003-03-17 18:34:43 +00:00
Brian Matzon 7cfa29957e initial commit of OpenAL create/destroy test 2003-03-16 22:52:35 +00:00
Elias Naur 13cceb99b9 Fixed runtime breakage on linux 2003-03-16 21:55:43 +00:00
Elias Naur 0920b5223c Fixed runtime breakage on linux 2003-03-16 21:55:13 +00:00
Brian Matzon 06da0d0017 fix: stop checking Hz 2003-03-16 20:31:40 +00:00
Brian Matzon b10c34254e fix: destroy keyboard upon exit 2003-03-16 20:13:44 +00:00
Brian Matzon 5d4f778e5b fix: escape testing 2003-03-16 20:12:57 +00:00
Brian Matzon 972df2fe53 fix: get 60Hz
fix: keep polygon within window
2003-03-16 20:09:49 +00:00
Caspian Rychlik-Prince ef0f837ea1 *** empty log message *** 2003-03-16 17:37:18 +00:00
Caspian Rychlik-Prince a82dbf5126 *** empty log message *** 2003-03-13 23:11:48 +00:00
Brian Matzon 458fcdc480 fix: compile bug, since glx* didn't return value 2003-03-13 19:54:44 +00:00
Caspian Rychlik-Prince 229da7e9d6 *** empty log message *** 2003-03-13 19:48:02 +00:00
Caspian Rychlik-Prince b39740daf3 *** empty log message *** 2003-03-13 19:31:10 +00:00
Elias Naur 2077bbb1db Moved disabling of repeat rate to Display 2003-03-08 22:14:17 +00:00
Elias Naur 374334e7d3 Disable linux key repeat while Keyboard is created - match win32 behavior 2003-03-08 18:47:34 +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 c6747e0a8e *** empty log message *** 2003-03-07 15:04:28 +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
Elias Naur c0bc4b1899 added glXAllocateMemoryNV/glXFreeMemoryNV 2003-03-06 20:54:05 +00:00
Elias Naur 66b0bfb18f *** empty log message *** 2003-03-06 17:52:58 +00:00
Brian Matzon ccba1c3f79 fix: won't be needing hashmaps from native side 2003-03-04 06:08:53 +00:00
Caspian Rychlik-Prince 46b29a63a4 *** empty log message *** 2003-03-03 22:12:21 +00:00
Brian Matzon 09caa36067 fix: possible NPE evaded 2003-03-03 21:58:17 +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 9cb8739687 fix: only output wgl if debug 2003-03-02 19:24:39 +00:00
Brian Matzon 947964e341 simple mouse test added 2003-03-02 18:57:50 +00:00
Brian Matzon db7b3a9cf5 fix: no longer fatal to not acquire input 2003-03-01 21:39:31 +00:00
Elias Naur 451f237085 Linux mouse buttons now match those on win32 (again) 2003-02-26 18:11:32 +00:00
Elias Naur 4d67446487 Linux mouse buttons now match those on win32 2003-02-26 17:49:09 +00:00
Elias Naur 470ea4a7dc linux scroller now match win32 behaviour more precisely - scrolling reversed and scaled 120 2003-02-24 19:46:52 +00:00
Elias Naur 4677a35556 Fixed a buffer overflow problem in d�z 2003-02-20 15:13:37 +00:00
Elias Naur 6196e6845b Fixed bug when a X display connection cannot be established (again) 2003-02-20 13:27:20 +00:00
Elias Naur 6113da5083 Fixed bug when a X display connection cannot be established 2003-02-20 13:20:54 +00:00
Caspian Rychlik-Prince 24ac909558 *** empty log message *** 2003-02-20 12:16:49 +00:00
Elias Naur c84ab8669d Added glMultiDrawArrays and glMultiDrawElements 2003-02-17 15:13:41 +00:00
Elias Naur 55ac8dd74c Don't fail create if grab doesn't succeed on the first try 2003-02-14 11:23:01 +00:00
Elias Naur eeef8c62ed replaced PeekMessage() -> handleMessages() 2003-02-13 15:32:15 +00:00
Elias Naur e3eeff94b0 Added preliminary alt-tab support on linux 2003-02-12 17:12:01 +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 7bff025626 formatting and better javadoc 2003-02-10 23:09:54 +00:00
Brian Matzon 3a28d769a7 fix: releasing device context for window, as per msdn docs 2003-02-10 22:13:46 +00:00
Caspian Rychlik-Prince f6aa685151 Fixed CHECK ERROR bug 2003-02-10 00:00:48 +00:00
Brian Matzon 94473210cd add: simple controller test that tests multiple creation 2003-02-09 19:59:04 +00:00
Brian Matzon 8281defa3f MouseTest renamed to MouseCreationTest 2003-02-09 19:58:28 +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 9c2f2d1083 add: simple mouse test that tests multiple creation 2003-02-09 19:17:39 +00:00
Brian Matzon b46242760d mod: changed closeRequested to follow isMinimized() 2003-02-09 17:55:30 +00:00
Elias Naur c022100cab Added closeRequested support to linux 2003-02-09 17:01:01 +00:00
Elias Naur 36d8f34e86 linux windows can't be resized now 2003-02-09 11:06:51 +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
Elias Naur 15b6e08872 Updated linux files to recent mouse and display changes 2003-02-08 20:36:31 +00:00
Elias Naur f2f829483b Added isMinimized to linux 2003-02-08 19:55:07 +00:00
Brian Matzon e96c1322eb fix: updated to reflect changes in new mouse 2003-02-08 19:37:09 +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
Elias Naur 30e1e4459d Added window title bars to linux 2003-02-06 20:40:41 +00:00
Caspian Rychlik-Prince 5ea14c3919 *** empty log message *** 2003-02-06 18:26:04 +00:00
Elias Naur 1f1d932687 Added missing linux keyboard mapping 2003-02-02 22:49:16 +00:00
Elias Naur 8343e2a0cc Added win32 alpha check 2003-01-31 19:04:45 +00:00
Tristan Campbell 36e785bc77 First draft of a altivec copy with cache prefetch 2003-01-31 01:17:19 +00:00
Gregory Pierce 529748c7b7 Added changes to support the selection of display modes on OSX in multiple monitor configurations. Currently defaults to only getting the display modes of display[0] - the primary display since lwjgl doesn't yet support clean multi monitor configuration programatically.
This code based off the Apple provided sample code at http://developer.apple.com/samplecode/Sample_Code/Graphics_2D/Mode.htm
2003-01-30 18:56:56 +00:00
Brian Matzon 0f223b7e65 cleaned up
removed some stuff (specifically buffered mouse mode)
2003-01-29 21:34:15 +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
Brian Matzon 5d71ae31d3 rem: not needed import 2003-01-12 22:22:12 +00:00
Elias Naur 86c4ce70dc Bug fix 2003-01-12 11:42:27 +00:00
Elias Naur 1b3d0278f9 Added keyboard translation to linux and win32 2003-01-11 23:09:38 +00:00
Elias Naur a6bd8e7fa4 Fixed linux compile 2003-01-11 21:03:22 +00:00
Brian Matzon 988f115218 Joystick replaced by Controller
GamePad no modelled as a controller
2003-01-03 18:47:42 +00:00
Brian Matzon 2935d85fa6 fix: better comments on create(filepath) 2003-01-03 01:14:29 +00:00
Brian Matzon 8e992f3257 mod: now using getResourceAsStream to load, since this enables us to load from ./ and from classpath 2003-01-03 01:11:42 +00:00
Gregory Pierce 0ce757265e Added in timer support 2003-01-02 18:19:30 +00:00
Gregory Pierce a2eb41850b Clean OSX release, changed the platform flag to TARGET_OS_MAC to match what's in OpenAL so everything builds smootly together. 2003-01-02 05:45:43 +00:00
Gregory Pierce 63eee14ddf Moved typedefs into extgl.h so that OpenGL symbols not multiply defined - removes 650 warnings. Removed all imports of agl.h and gl.h. Removed OpenGL.framework from the project 2003-01-01 23:05:26 +00:00
Gregory Pierce f48be98ee9 Changes to support dynamic loads on the mac and finish the initial build 2003-01-01 04:05:44 +00:00
Gregory Pierce 000e24eca7 Quick change for OSX support 2003-01-01 04:03:27 +00:00
Gregory Pierce e20873b847 no message 2003-01-01 03:58:44 +00:00
Gregory Pierce beebfb4484 Removed typo - sorry 2002-12-30 22:24:29 +00:00
Gregory Pierce ed5dc9487c Updated to include the dynamic loading of the OpenGL.framework and use function pointers so OpenGL functions can be called. 2002-12-30 22:06:28 +00:00
Elias Naur 951ed1bc07 Added -D_X11 to c flags in linux 2002-12-30 11:41:00 +00:00
Gregory Pierce 1e74408a5f Changes to bring in minimal functionality of the OSX port. Still needs virtual function definitions before GL functions can be called properly. 2002-12-30 07:09:35 +00:00
Gregory Pierce 64d68e7894 Changes to allow more than just Windows and UNIX build targets. Adds in the _X11 define for the Unix boys and will include the _OSX define to handle stuff for OSX. 2002-12-30 07:07:40 +00:00
Elias Naur e0ff212e5e Fixed embarrassing Display.destroy() bug 2002-12-28 10:41:17 +00:00
Gregory Pierce 19f32cd642 Started trimming the OSX keyboard interface to what OSX supports in Carbon. Won't use InputSprocket because there appears to be no support plan from Apple. 2002-12-23 21:50:49 +00:00
Caspian Rychlik-Prince f4165f634e Fixed? 2002-12-23 13:23:29 +00:00
Elias Naur 04909d4f55 Added more intelligent pixel format chooser in linux 2002-12-23 11:31:32 +00:00
Brian Matzon 86279b768f fix: selection of display mode made "better" 2002-12-22 22:42:13 +00:00
Brian Matzon e772198159 fix: more verbose when failing in creating oal 2002-12-22 21:44:49 +00:00
Brian Matzon eea45f95eb fix: using JNI_TRUE/FALSE 2002-12-22 21:44:18 +00:00
Brian Matzon e72a5e1545 fix: now using ding.wav 10 times, instead of 10 different wave files 2002-12-22 21:43:07 +00:00
Elias Naur 31f8dfd08a Updated linux to new display mode behavior 2002-12-22 20:58:25 +00:00
Brian Matzon 37d383963d fix: updated to new display creation 2002-12-22 20:49:18 +00:00
Elias Naur a5ab6c385b Fixed win32 display bug 2002-12-22 20:31:22 +00:00
Elias Naur 18e8950eb3 Added Sys.alert to linux 2002-12-22 20:19:50 +00:00
Caspian Rychlik-Prince 75faf07a54 Now throws an assertion error if you try to normalise a zero length vector 2002-12-22 19:53:41 +00:00
Caspian Rychlik-Prince 18f8302668 Alert code & new displaymode code 2002-12-22 19:52:44 +00:00
Caspian Rychlik-Prince d7e4f30547 Alert code 2002-12-22 19:52:31 +00:00
Caspian Rychlik-Prince ca4e05f75b New DisplayMode code 2002-12-22 19:52:15 +00:00
Luke Holden 76d8f52787 standard autoconf stuff... we dont need 2002-12-22 19:25:42 +00:00
Brian Matzon b6b3d6e1d0 die die DIE!!! 2002-12-21 23:01:31 +00:00
Elias Naur 5aa8eeba3f Cleaned up Grass.java 2002-12-21 12:49:17 +00:00
Brian Matzon f94c3cced2 beautification 2002-12-21 12:39:34 +00:00
Brian Matzon 951a036ae3 Lightweight actually spelled right! 2002-12-21 12:37:20 +00:00
Brian Matzon b97b37507b javadoc fixes 2002-12-21 12:07:15 +00:00
Brian Matzon 158bbaf47a die die DIE!!! 2002-12-21 11:36:22 +00:00
Gregory Pierce c886a36fc5 no message 2002-12-20 23:00:37 +00:00
Brian Matzon f92a041168 fix: package statment was fucked 2002-12-20 20:47:41 +00:00
Brian Matzon c847bef095 fix: new display creation 2002-12-20 20:44:54 +00:00
Brian Matzon a24b4a189e yet another test 2002-12-19 22:18:10 +00:00
Elias Naur 1f3f00aed1 Moved BaseGL constructor parameters to Display 2002-12-19 16:35:35 +00:00
Luke Holden f7521462ff Commented out the enableBuffer methods. Looks like these methods wont be
implemented in the JNI side, so they should not exist in the API.
2002-12-18 21:57:31 +00:00
Elias Naur 004ee911d2 Removed ALUT from automake 2002-12-18 20:32:12 +00:00
Brian Matzon df53df269e fix: removed alut related stuff 2002-12-18 17:09:09 +00:00
Brian Matzon 602a155986 mod: ALUT removed, caused waaay to many headaches 2002-12-18 16:54:50 +00:00
Brian Matzon 91df757aba add: simple stress test for oal 2002-12-18 16:51:28 +00:00
Brian Matzon 2e2f5039e9 add: new class for loading wave files, in preperation of removing ALUT 2002-12-18 16:51:02 +00:00
Elias Naur 040d03dca4 Fixed the RegisterClass call 2002-12-18 16:40:12 +00:00
Gregory Pierce ad03fe3b3b no message 2002-12-18 03:38:57 +00:00
Gregory Pierce 9f9884fce4 no message 2002-12-18 03:20:35 +00:00
Caspian Rychlik-Prince c63eae72d6 Changed quotes to angle brackets for alut.h inclusion 2002-12-17 19:08:16 +00:00
Brian Matzon 93ea8846f7 beautification 2002-12-15 22:24:48 +00:00
Caspian Rychlik-Prince 1bf98ef323 Added DEBUG constant 2002-12-15 22:12:46 +00:00
Brian Matzon 0746bf5084 fix: even more beautification! 2002-12-15 22:09:09 +00:00
Brian Matzon b1ebd6fa32 fix: small beautification 2002-12-15 22:05:10 +00:00
Brian Matzon 62ad5f3681 simple test for testing the number of available sources 2002-12-15 22:01:00 +00:00
Elias Naur 450ff067cf Added a standard system error output 2002-12-14 15:23:53 +00:00
Elias Naur 434497c7bd Even more linux oal fixes 2002-12-14 13:52:25 +00:00
Elias Naur 102757c802 More oal linux fixes 2002-12-14 13:44:55 +00:00
Elias Naur 3a8e2b59f1 Fixed oal dynamic loading on linux 2002-12-14 13:37:46 +00:00
Brian Matzon ddfc7f4919 removed dynamic loading, since alut is statically linked (doh!) 2002-12-14 12:54:25 +00:00
Brian Matzon 7083363a91 dynamic loading of openal 2002-12-14 12:49:16 +00:00
Brian Matzon f84e2b5346 fix: no more using alutInit or alutExit 2002-12-14 12:44:17 +00:00
Brian Matzon 926e1dd507 add: new alExit method alutExit, which has been removed 2002-12-14 12:43:45 +00:00
Brian Matzon aaa0bbab42 rem: alutInit and exit gone 2002-12-14 12:42:19 +00:00
Brian Matzon 8c0c280a12 no message 2002-12-14 12:38:39 +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 98398e4a7a Minor fix to Display.cpp 2002-12-11 07:26:49 +00:00