Commit Graph

247 Commits

Author SHA1 Message Date
Elias Naur e1656b862b Win32: Added missing throwException in Controller.cpp 2004-05-05 11:30:51 +00:00
Elias Naur 7bd59ed27d Split global DirectInput interface into 3 interfaces in Mouse, Keyboard and Controller 2004-05-05 09:53:53 +00:00
Elias Naur 8099826ab7 Throw exception when win32 can't create DirectInput for some reason 2004-05-04 18:58:09 +00:00
Elias Naur 054e1f9f29 Attempt fix for out of focus mouse bug in win32 2004-05-04 18:47:47 +00:00
Brian Matzon a9506354ee fixed mouse issues, setGrabbed & native cursor now works (afaik ;)) 2004-04-12 14:46:18 +00:00
Brian Matzon 84eae4c6f6 removed restriction about native cursors, and fixed mouse not showing on setNativeCursor(null); 2004-04-12 10:37:50 +00:00
Brian Matzon 86eb042b81 reworked animated native cursors, to use X animation when required
added initial setGrabbed(boolean) feature - Work in progress
both needs verification on linux
2004-04-12 00:33:01 +00:00
Elias Naur 8065870592 Removed Keyboard.initIDs 2004-04-07 07:48:37 +00:00
Elias Naur b3b2c4a145 win32 fixup 2004-04-06 14:40:36 +00:00
Elias Naur bf8cce9b59 Make poll deltas accumulative, and only reset on getD* 2004-04-06 14:23:19 +00:00
Elias Naur 40373ec422 Reverted the dirty flag change, because it might be used as a flag to check if the back buffer is corrupted when creating textures from the it. You can't just swap the back buffer in to clear the flag in that case. So we need the flag to be cleared also when isDirty is called 2004-04-04 14:09:12 +00:00
Caspian Rychlik-Prince bd0091b8d9 *** empty log message *** 2004-04-04 13:38:18 +00:00
Caspian Rychlik-Prince 85130ebd90 Rules with mighty fist. New API killed off before it even sees light of day. Some refactoring. 2004-04-04 12:53:45 +00:00
Elias Naur b0a9be7721 Fixed a possible buffer overflow bug in Mouse 2004-04-04 07:37:22 +00:00
Caspian Rychlik-Prince 37262e6727 New window sizing & undecorated code 2004-04-03 23:01:39 +00:00
Elias Naur 021e03eea5 Implemented version check to check for incompatible native libraries 2004-03-27 14:09:55 +00:00
Elias Naur 8a2d246060 Saved input events for win32 2004-03-26 21:49:10 +00:00
Elias Naur af6c61c241 Use the actual buffer size in nPoll 2004-03-23 07:47:39 +00:00
Brian Matzon bb51e3dc23 Cursor animation support regardless of platform features 2004-03-21 21:54:57 +00:00
Brian Matzon 3b875b1781 support for 'org.lwjgl.opengl.Window.allowSoftwareOpenGL'
added utility getBooleanProperty method
2004-03-11 21:30:48 +00:00
Elias Naur 22ef574871 *** empty log message *** 2004-03-11 19:50:42 +00:00
Brian Matzon 015ce9e37d don't forget 98+! 2004-03-10 16:52:31 +00:00
Brian Matzon 4746f40991 optimized mode detection 2004-03-10 16:47:04 +00:00
Ioannis Tsakpinis d49ce2bfc0 render-to-texture support 2004-03-02 01:59:32 +00:00
Brian Matzon e05e891e99 *puff* 2004-02-26 21:39:27 +00:00
Caspian Rychlik-Prince 6a58bc26e6 New context management code (incomplete) 2004-02-23 23:42:58 +00:00
Caspian Rychlik-Prince 5356e13feb New Context stuff 2004-02-18 17:48:26 +00:00
Brian Matzon 9b929c0cf3 make isFocused & isMinimized work as expected
cleaned up field usage
2004-02-17 16:57:23 +00:00
Elias Naur fd56dd232a Added WGL_ARB_multisample support 2004-02-15 19:24:03 +00:00
Elias Naur 5c3e17c8a3 Added GLX_ARB_multisample support to Pbuffers 2004-02-15 15:46:10 +00:00
Elias Naur e3a4f5f7f7 Added GLX_ARB_multisample support 2004-02-15 15:27:02 +00:00
Elias Naur 883149878b Added aldacron's ghost window fix, a ShowWindow(hwnd, SW_HIDE) before destroying the window 2004-02-10 08:31:38 +00:00
Elias Naur d756657a48 Changed GetDeviceCaps(dc, COLORRES) to use BITSPIXEL instead 2004-01-26 19:57:18 +00:00
Brian Matzon 8bcedbffe0 removed \n 2004-01-12 17:24:47 +00:00
Brian Matzon 6f44f03381 make controller work again! 2004-01-12 17:21:56 +00:00
Brian Matzon ea4fed18c4 assert that Window has been created 2004-01-12 17:15:41 +00:00
Brian Matzon 9dd52c6559 assert that Direct Input has been created 2004-01-12 16:28:51 +00:00
Elias Naur ad28763347 *** empty log message *** 2003-12-20 22:23:15 +00:00
Elias Naur 790b01a01b Reduced Sys.debug from bool -> int 2003-12-20 22:03:25 +00:00
Elias Naur fb8fd0a2d7 Implemented proper debug levels 2003-12-20 14:01:31 +00:00
Elias Naur 472b5337d4 Replaced debug libraries with runtime debug condition 2003-12-15 11:49:17 +00:00
Elias Naur 533fb6882f Native cursor fix in win32 2003-11-23 12:52:08 +00:00
Elias Naur 1f9f7365a0 Win32 window creation tweaks 2003-11-17 07:45:14 +00:00
Caspian Rychlik-Prince e640620e94 Removed some annoying debugging 2003-11-10 01:41:57 +00:00
Caspian Rychlik-Prince a4facc93f0 *** empty log message *** 2003-10-28 19:26:51 +00:00
Caspian Rychlik-Prince 754f917730 New Sys.openURL command added 2003-10-28 16:23:17 +00:00
Elias Naur 5f89be0e63 Fixed Mac OS X mouse button mapping 2003-10-25 21:27:54 +00:00
Elias Naur b00c24ef76 Fixed ARBFragmentProgram and ARB_vbo 2003-10-23 07:18:07 +00:00
Elias Naur 8cabcd523f *** empty log message *** 2003-10-22 18:34:42 +00:00
Elias Naur 0f1d70a6ec *** empty log message *** 2003-10-22 11:45:51 +00:00
Caspian Rychlik-Prince 2714842095 New vsync code 2003-10-20 14:17:47 +00:00
Elias Naur a6c56bd791 *** empty log message *** 2003-10-14 14:29:23 +00:00
Elias Naur 15dafb1c5a Don't return from UpdateMouseFields on failure to acquire - still need to set deltas to 0 2003-10-14 12:42:05 +00:00
Elias Naur 963605989f Implemented mouse button buffering 2003-10-11 16:29:40 +00:00
Elias Naur 0fa67c9680 Fixed mouse hot spot coordinate 2003-10-11 12:56:26 +00:00
Elias Naur 43b2d67a71 Moved native cursor origin to middle of the window 2003-10-11 11:03:06 +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 fc925baab4 *** empty log message *** 2003-10-08 07:49:43 +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 89b631746c *** empty log message *** 2003-10-06 08:34:03 +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
Caspian Rychlik-Prince 307755b07c New API for adapter queries 2003-09-28 06:55:01 +00:00
Caspian Rychlik-Prince 17b6a501e4 Changed from wglSwapBuffers back to SwapBuffers. 2003-09-26 16:26:10 +00:00
Elias Naur 42ad1026af Don't ignore lying drivers 2003-09-26 13:59:50 +00:00
Caspian Rychlik-Prince b28860eb71 Gamma back in 2003-09-16 15:42:25 +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
Elias Naur 9148cb7c90 Fixed display mode code paths 2003-09-10 22:35:06 +00:00
Caspian Rychlik-Prince ecb0045241 Fixed code in display enumeration. 2003-09-02 11:30:36 +00:00
Elias Naur ba3acc79b9 Committed spelling fixes 2003-08-29 08:00:44 +00:00
Brian Matzon f27e5a294c fix: isStateKeySet now returning int 2003-08-23 09:45:22 +00:00
Brian Matzon 61305f4107 added isStateKeySet for checking LOCK keys 2003-08-19 15:15:00 +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
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