Commit Graph

444 Commits

Author SHA1 Message Date
root 5d9e5785a2 This commit was manufactured by cvs2svn to create tag 'lwjgl05'. 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 12ed458197 added mo content 2003-03-02 22:09:15 +00:00
Brian Matzon 7bbb349e5e mod: we're now at 0.5 2003-03-02 19:27:32 +00:00
Brian Matzon 684626a7db fix: let's include correct files 2003-03-02 19:27:07 +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 f6d77711ef add: javah target added 2003-02-09 21:14:17 +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 5bd5caa365 mod: now loads data files for examples from /res/ 2003-01-03 01:19:39 +00:00
Brian Matzon eb4635db51 files needed by ALTest - from openal source tree, thus lgpl 2003-01-03 01:17:40 +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
Brian Matzon 2cc94ffd75 moved to /res/data 2003-01-02 23:40:35 +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