Commit Graph

145 Commits

Author SHA1 Message Date
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