Commit Graph

687 Commits

Author SHA1 Message Date
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
Elias Naur 8202b0e14c Switched to dynamic loading of gl functions and libs 2002-12-11 07:16:31 +00:00
Elias Naur 24e25533ab Fixed a GL context creation bug 2002-12-04 15:17:49 +00:00
Elias Naur 08faa001ba Removed Makefile.elias_naur 2002-11-30 21:43:06 +00:00
Luke Holden 48b003e13a ac*.m4 files are no longer in cvs 2002-11-30 21:36:12 +00:00
Luke Holden 249b34b437 Files are automatically generated 2002-11-30 21:35:19 +00:00
Elias Naur 4641d82e43 Added the XWarpointer call again - this time centering the pointer 2002-11-30 21:25:00 +00:00
Luke Holden 60e0ee6c01 added GLUQuadricCallbacks::clear(); to quadricDelete 2002-11-30 03:40:47 +00:00
Luke Holden 9c07799b93 moved everything to header 2002-11-30 03:34:19 +00:00
Luke Holden 1dbb58ef61 *** empty log message *** 2002-11-30 03:32:50 +00:00
Luke Holden 1ade683e2d GLU: added quadricCallback(...) methods
GLUQuadricCallbacks: Should now be fully implemented

removed files:
See the README.txt file for more information.
2002-11-30 03:28:30 +00:00
Luke Holden b4adb68d25 the callback classes now compile and link with the library. However it still
is not usable =/
2002-11-30 00:19:59 +00:00
Elias Naur 9055e992e9 Reverted Luke's XWarpPointer change 2002-11-29 11:51:10 +00:00
Luke Holden f856619f1f added an example on how to use the callback from java 2002-11-29 09:19:39 +00:00
Luke Holden 9010e33568 *** empty log message *** 2002-11-29 08:53:08 +00:00
Luke Holden b296573f91 added a cast to the example 2002-11-29 08:51:08 +00:00
Luke Holden 36a0db6b02 *** empty log message *** 2002-11-29 08:49:29 +00:00
Luke Holden 7334bcfb0e fixed the grammer a little, along with a small bug =) 2002-11-29 08:48:32 +00:00
Luke Holden 49a6b4276f *** empty log message *** 2002-11-29 08:33:36 +00:00
Luke Holden 0aa1f0d701 BaseWindow: We are now grabbing the mouse. Doing this because on linux,
you need to grab and move the pointer or else you can scroll away from
your full screen program.

org_lwjgl_input_Mouse.cpp: When in full screen, the pointer should warp
to the corner of the display. This fixes a few issues.

Also added a stub for nEnableBuffer, with a fixme message. This function
does not seem to be implemented in either the linux or win32 source...
but exists in the java Mouse class. The stub keeps programs from crashing.

ltmain.sh: Fixed a bug in libtool, where it uses gcc vs c++ for linking
librarys built in c++. This fixes a missing symbol issue.

configure.in: Made a few small changes.
2002-11-29 08:29:53 +00:00
Luke Holden fe7692179d callbacks: The start of my callback implementation.
Makefile.am: small fix for the CPPFLAGS variable
2002-11-29 06:06:16 +00:00
Luke Holden 92538f7674 small update for the X11 path 2002-11-28 22:44:39 +00:00
Luke Holden ebfdcb7ef9 initial autoconf/automake support =) 2002-11-28 22:40:06 +00:00
Luke Holden a98cfffb0d Renamed... prepping for autoconf =) 2002-11-28 22:35:29 +00:00
Brian Matzon 2d64bddd63 fix: make OpenAL compile, by not including extal.h in files - somekind of circular dependency ? 2002-11-28 22:06:37 +00:00
Elias Naur 77e86f580c Added pointer warping to keep pointer in center of the display 2002-11-28 21:49:11 +00:00
Brian Matzon af4368f427 fix: make OpenAL compile, by not including extal.h in files, but CoreEAX - somekind of circular dependency ? 2002-11-28 20:25:10 +00:00
Luke Holden a510ec189c *** empty log message *** 2002-11-28 19:36:09 +00:00
Luke Holden 00ddd2e14f try, try, try again =) 2002-11-28 19:35:04 +00:00
Luke Holden e2c554a36a second try on getting things working proper on win32 2002-11-28 19:17:55 +00:00
Luke Holden 8bb25a01e1 trying to fix problem with compiling on windows 2002-11-28 16:45:27 +00:00
Elias Naur 383ceb7c25 Mouse.cpp fix 2002-11-28 09:29:40 +00:00
Brian Matzon 1959a2e0ff fix: removed not needed imports (makes eclipse bitch less) 2002-11-27 22:34:29 +00:00
Luke Holden c8ff3680f4 generated from the java source =) 2002-11-27 06:28:02 +00:00
Luke Holden 2c19c071ad GLU: Added full quadrics support (except gluQuadricCallback)
Quadrics.java: port of NeHe lesson18: Quadrics
2002-11-27 05:54:27 +00:00
Luke Holden 6a727e5d44 Modified so openal compiles on linux again 2002-11-27 03:01:23 +00:00
Luke Holden 6e962dcc68 fixed missing newline 2002-11-27 02:34:58 +00:00
Luke Holden f43ae9b628 fixed lack of newline 2002-11-27 02:34:24 +00:00
Caspian Rychlik-Prince 8d47a65539 Fixed include error 2002-11-26 23:31:14 +00:00
Elias Naur 341f75dae4 Increased poll buffer size 2002-11-26 20:07:49 +00:00
Elias Naur be5dcc1768 Added poll() logic so behavior looks like DX 2002-11-26 20:07:06 +00:00
Caspian Rychlik-Prince 565dd6b6e0 *** keyword substitution change *** 2002-11-26 17:34:26 +00:00
Elias Naur 7c031a8486 Reverted the Keyboard.poll() change 2002-11-26 08:15:17 +00:00
Luke Holden c0c4e60d29 Removed the native time readout from queryTime().
I think elias_naur was trying to annoy me to death with time updates
every 0.001 seconds =)
2002-11-26 04:58:29 +00:00
Luke Holden f02005efd9 Added a fix for when GLX_ALPHA_SIZE cant be set (I think this happens
when display depth is below 24.)

There might be a better way to handle this... but this lets lwjgl work
for me. =)
2002-11-26 03:30:41 +00:00
Elias Naur 2b814af9f7 Made Keyboard.poll behave like win32 version 2002-11-25 22:10:07 +00:00
Brian Matzon 80760d350f fix: <al.h> -> <AL/al.h> 2002-11-25 21:50:41 +00:00
Elias Naur c106ae87c1 Dump extension info with debug library 2002-11-25 20:35:01 +00:00
Elias Naur 139e7b4cfb Added releaseContext to BaseGL.java (and native for linux) 2002-11-25 17:04:56 +00:00
Elias Naur c13797bae2 Added keycode mapping for enter and tab in Keyboard.java 2002-11-25 15:32:13 +00:00
Elias Naur f57fc75b7b Remapped some keys 2002-11-25 14:57:13 +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 190e401409 Moved org_lwjgl_opengl_GL.cpp to common (again) 2002-11-25 13:33:12 +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
Elias Naur c8139a4ea2 Synced math operations with win32 2002-11-25 00:09:47 +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
Elias Naur 963237b3fc Removed PRINTSCREEN, PAGEUP and PAGEDOWN again - need to remap instead 2002-11-24 19:35:00 +00:00
Elias Naur a0925cca05 Added more missing native GL functions 2002-11-24 19:14:36 +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
Caspian Rychlik-Prince bc652fa65f Fixed extension finding code 2002-11-24 17:08:34 +00:00
Elias Naur 5c896d3b7d Added Keyboard.KEY_PRINTSCREEN 2002-11-24 14:35:56 +00:00
Elias Naur 33fab5d9d2 Added linux support for additional GL functions 2002-11-24 14:27:14 +00:00
Elias Naur b04e5d8b58 Created new jni header for CoreGL 2002-11-24 13:21:01 +00:00
Elias Naur 3236808be9 Added missing GL constants and functions 2002-11-24 13:17:53 +00:00
Elias Naur 72a598e943 Added Keyboard.KEY_PAGEUP Keyboard.KEY_PAGEDOWN 2002-11-24 12:01:24 +00:00
Brian Matzon 7aa51ff1f6 fix: now copies buttoncount buttons, instead of 4 (doh!) 2002-11-22 21:49:20 +00:00
Elias Naur 8c446aa6ce Using linux soft realtime priority for Sys.REALTIME_PRIORITY 2002-11-22 11:35:03 +00:00
Elias Naur 23fe6a9e8f Dont let Game.java use realtime priority 2002-11-22 11:24:12 +00:00
Elias Naur 5c927942b5 The Makefile now strips the release library to make it smaller 2002-11-22 09:40:18 +00:00
Elias Naur 1019ebb695 make g++ compile with -O3 2002-11-22 09:34:10 +00:00
Brian Matzon e6eaaa96ae fix: removed unneeded import
fix: removed getSource3f reference
2002-11-21 22:38:07 +00:00