Commit Graph

2185 Commits

Author SHA1 Message Date
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 dd201b2f14 fix: load OpenAL based on java.library.path 2003-03-22 23:17:11 +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 be9286b6a0 Fixed some JNI errors. One remains. 2003-03-17 18:57:05 +00:00
Brian Matzon 7cfa29957e initial commit of OpenAL create/destroy test 2003-03-16 22:52:35 +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
Elias Naur c0bc4b1899 added glXAllocateMemoryNV/glXFreeMemoryNV 2003-03-06 20:54:05 +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 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
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
Brian Matzon 7bff025626 formatting and better javadoc 2003-02-10 23:09:54 +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 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
Brian Matzon 9a9406dc7e add: close button enabled 2003-02-08 23:01:58 +00:00
Brian Matzon e96c1322eb fix: updated to reflect changes in new mouse 2003-02-08 19:37:09 +00:00
Brian Matzon 956968e092 new Mouse implementation, rewritten to better fit Controller structure 2003-02-08 19:30:23 +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
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 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 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
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 86279b768f fix: selection of display mode made "better" 2002-12-22 22:42:13 +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
Brian Matzon 37d383963d fix: updated to new display creation 2002-12-22 20:49:18 +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 ca4e05f75b New DisplayMode code 2002-12-22 19:52:15 +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
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
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
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
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
Brian Matzon 1959a2e0ff fix: removed not needed imports (makes eclipse bitch less) 2002-11-27 22:34:29 +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
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 963237b3fc Removed PRINTSCREEN, PAGEUP and PAGEDOWN again - need to remap instead 2002-11-24 19:35:00 +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 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
Elias Naur 23fe6a9e8f Dont let Game.java use realtime priority 2002-11-22 11:24:12 +00:00
Brian Matzon e6eaaa96ae fix: removed unneeded import
fix: removed getSource3f reference
2002-11-21 22:38:07 +00:00
Brian Matzon 4323652076 fix: removed unneeded import 2002-11-21 22:36:36 +00:00
Elias Naur f0b887ffff Added shader demo Grass.java 2002-11-21 15:13:50 +00:00
Brian Matzon cd04bdf33b moved tests to org.lwjgl.test for easier seperation 2002-11-19 16:49:53 +00:00
Brian Matzon d9335b09cb mod: getSource3f removed, since it isn't in the specs 2002-11-19 16:39:57 +00:00
Elias Naur d01a456570 Fixed filenames in ALTest.java 2002-11-19 14:22:02 +00:00
Elias Naur 95d720e927 Added MathTest.java 2002-11-19 09:07:58 +00:00
Elias Naur 910f458521 Moved Game.java opengl test to java/org/lwjgl/opengl/test 2002-11-19 07:51:27 +00:00
Brian Matzon d32ec087bc fix: made joystick static, according to specs 2002-11-18 17:50:21 +00:00
Brian Matzon 5d596cd7c3 accompanying test for the joystick implementation 2002-11-17 18:15:01 +00:00
Brian Matzon 84e7d0fe98 first stab at the joystick implementation 2002-11-17 18:14:13 +00:00
Tristan Campbell 8e31225b1c Fixed inversion error. 2002-10-28 20:01:26 +00:00
Caspian Rychlik-Prince 3878b20ccd New extensions 2002-10-18 23:21:49 +00:00
Tristan Campbell 8b66ea95a5 added invert/determinant 2002-10-16 22:34:40 +00:00
Caspian Rychlik-Prince b3d2deadd8 Added load method 2002-10-06 21:34:56 +00:00
Caspian Rychlik-Prince 8b6afc4f42 Catching up 2002-09-20 16:57:13 +00:00
Brian Matzon 1e627059f2 fix: fixed overflow error 2002-09-12 01:31:20 +00:00
Brian Matzon 43719603d1 add: added finalizer 2002-09-12 01:26:27 +00:00
Brian Matzon 03cef5303a fix: create default device, instead of "" device (which creates a waveout device!) 2002-09-11 23:58:23 +00:00
Brian Matzon bb9a6f85b2 fix: EAX now requires OpenAL to be initialized PRIOR to calling create 2002-09-11 23:25:35 +00:00
Brian Matzon 5992359bc7 fix: now reading ints instead of longs - buffer overflow, since longs are 64 bit in java 2002-09-11 16:57:03 +00:00
Brian Matzon 36c39310bd fix: now reading ints instead of longs - buffer overflow, since longs are 64 bit in java 2002-09-11 16:46:26 +00:00
Caspian Rychlik-Prince 9e58e87ce9 Fixed various bugs 2002-09-06 23:58:33 +00:00
Brian Matzon c109f47de2 rem: getProcAddress removed, since it serves no purpose for Java programmers 2002-09-06 23:36:48 +00:00
Brian Matzon 5446340278 rem: removed some debug 2002-09-04 15:27:24 +00:00
Brian Matzon c08e72d615 mod: updated to create/destroy architecture 2002-09-03 18:54:40 +00:00
Brian Matzon 760cda8c47 fix: better keyboard handling 2002-09-03 18:08:52 +00:00
Brian Matzon 3cf6e728d0 add: rest of semiautomatic tests added 2002-09-03 16:07:43 +00:00
Brian Matzon b24b4943d2 mod: refactored some EAX constants to Buffer or Listerner Properties class 2002-09-03 11:17:42 +00:00
Brian Matzon 4ebe09b5d2 add: EAX support done - needs some cleaning, and possibly refactoring of constants... 2002-09-02 22:06:13 +00:00
Brian Matzon a7d1580aa3 mod: AL shouldn't have EAX constants 2002-09-02 18:01:31 +00:00
Brian Matzon 854bc9579d fix: updated to reflect moving of EAX stuff to eax subpackage 2002-09-02 13:09:20 +00:00
Brian Matzon 05b4611a4d mod: moved to eax subpackage 2002-09-02 13:07:48 +00:00
Brian Matzon 03dfdf5f70 add: small output line to tell that EAX is possible 2002-08-30 22:15:57 +00:00
Brian Matzon 7a2acd569d fix: actually set Listener & Buffer GUID's 2002-08-30 21:45:48 +00:00
Brian Matzon 9ecf595bd4 add: first stab at EAX support 2002-08-30 21:30:40 +00:00
Brian Matzon 443748072b fix: constants cleanup 2002-08-30 21:29:23 +00:00
Brian Matzon bc6775e314 mov: renamed to BaseEAXConstants.java 2002-08-29 14:06:44 +00:00
Brian Matzon c18e8bd28a fix: now using Int- & Float- Buffers
fix: to small iteration when unqueing buffers
fix: nulling of buffer
2002-08-29 12:44:32 +00:00
Brian Matzon 7bd04b6719 add: finished full automated tests 2002-08-29 02:00:49 +00:00
Brian Matzon cdf484cc11 add: added EnumerationValue test 2002-08-29 01:49:25 +00:00
Brian Matzon 1768d24a38 add: Queue test added 2002-08-29 01:45:44 +00:00
Brian Matzon f85aaf6b01 fix: now using ByteBuffer all the way 2002-08-29 01:11:46 +00:00
Brian Matzon dac8f79273 initial import 2002-08-29 01:11:25 +00:00
Brian Matzon de76b80c29 rem: not needed imports 2002-08-28 22:31:15 +00:00
Caspian Rychlik-Prince c6659f88a4 Stuff 2002-08-28 21:58:14 +00:00
Brian Matzon 5725ff9c66 add: more tests 2002-08-28 14:17:06 +00:00
Brian Matzon 63359ebf04 initial import 2002-08-28 12:56:55 +00:00
Brian Matzon 2fffb6b522 initial import of ALTest - conversion of altest.c - work in progress 2002-08-28 01:19:59 +00:00
Caspian Rychlik-Prince 0e07f02d50 Fixes 2002-08-28 00:05:45 +00:00
Brian Matzon 88def41eb8 initial import of ALUTTest - basically PlayTest, using ALUT for initialization and deinitialization 2002-08-27 23:30:21 +00:00
Brian Matzon f42fa6f750 add: mo javadoc 2002-08-27 23:28:52 +00:00
Brian Matzon 2d43fd17aa add: last test added. ALCTest complete sans some stuff that doesn't work on win32 - awaiting fix from OpenAL people 2002-08-27 23:21:03 +00:00
Brian Matzon 40a41090b2 first stab at ALC testing - Work In Progress 2002-08-27 17:49:53 +00:00
Brian Matzon cbd9de092d fix: update to spec recommendation (alcMakeContextCurrent before destroy) 2002-08-27 17:48:30 +00:00
Caspian Rychlik-Prince ec489c911d Fixed more stuff 2002-08-26 22:23:59 +00:00
Brian Matzon 6fba0353b0 add: new basic test class to make testing easier
mod: PlayTest now inherits from BasicTest
2002-08-26 21:10:08 +00:00
Brian Matzon 99635fc718 fix: removed double ; 2002-08-26 20:57:18 +00:00
Caspian Rychlik-Prince 8debb8fd10 This n that 2002-08-26 20:39:28 +00:00
Brian Matzon f7e8312672 add: javadoc comment on getError 2002-08-26 20:17:55 +00:00
Brian Matzon 7c74c35663 initial import of first basic test (wee) 2002-08-26 19:53:21 +00:00
Caspian Rychlik-Prince d4c92b2309 Fixes 2002-08-26 15:53:36 +00:00
Caspian Rychlik-Prince eea62c9e0f New base classes Vector and Matrix 2002-08-26 15:46:39 +00:00
Brian Matzon 71b1090163 rem: removed debug
fix: cleanup
2002-08-26 15:30:19 +00:00
Brian Matzon b7bfb49c7c add: ALC constants added 2002-08-26 15:28:01 +00:00
Brian Matzon f6456e9a4c removing from openal package 2002-08-25 08:41:02 +00:00
Caspian Rychlik-Prince 2cadec3bed Determinants 2002-08-24 21:35:20 +00:00
Caspian Rychlik-Prince fb16e0960b Load & store into FloatBuffers 2002-08-24 21:26:47 +00:00
Caspian Rychlik-Prince 6f3722d932 Checkpoint 2002-08-24 21:19:06 +00:00
Caspian Rychlik-Prince 78dc61358e Buffering added 2002-08-24 21:14:40 +00:00
Caspian Rychlik-Prince a60f255e82 Bunch of matrix and vector code added 2002-08-24 21:12:31 +00:00
Caspian Rychlik-Prince 0f2936e709 Mainly Javadoc fixes and Math stuff 2002-08-23 16:14:38 +00:00
Caspian Rychlik-Prince a5615938c9 Minor adjustments to Javadoc comments 2002-08-20 14:55:29 +00:00
Brian Matzon db9a312469 add: first stab at ALC 2002-08-20 14:46:04 +00:00
Caspian Rychlik-Prince 7756ee5acb Ready for native code 2002-08-20 09:29:50 +00:00
Caspian Rychlik-Prince c564bc582d Encapsulated LIBRARY_NAME (properly!) 2002-08-19 14:29:54 +00:00
Brian Matzon c3d2c45cb3 fix: now uses getLibraryName() for determening lib to load 2002-08-19 14:02:55 +00:00
Caspian Rychlik-Prince 72fedde744 Encapsulated LIBRARY_NAME 2002-08-19 14:01:23 +00:00
Brian Matzon c6c26e568d fix: wrong prototypes for some methods, while switching to ByteBuffer 2002-08-19 13:55:23 +00:00
Brian Matzon 345a3248d5 mod: now use ByteBuffer addresses instead of arrays - this way we reduce object creation 2002-08-19 11:59:31 +00:00
Caspian Rychlik-Prince 86e159a483 Matrix code started 2002-08-19 11:29:42 +00:00
Brian Matzon 7660e2fc45 add: last al methods added 2002-08-19 02:37:21 +00:00
Brian Matzon 94da74c812 add: more al methods (work in progress) 2002-08-19 01:10:00 +00:00
Brian Matzon 14ae13dd26 change: ALUTLoadWAVFile -> ALUTLoadWAVData 2002-08-18 13:57:28 +00:00
Caspian Rychlik-Prince 11ce7e3b5b Working 2002-08-17 14:13:12 +00:00
Caspian Rychlik-Prince 12be603c2f Removed StructBuffer 2002-08-16 21:53:02 +00:00
Caspian Rychlik-Prince 44053c96a8 Added licenses. 2002-08-16 21:52:26 +00:00
Caspian Rychlik-Prince f247ad4a13 Initial commit 2002-08-16 21:50:08 +00:00
Caspian Rychlik-Prince 5e264ca35f Removed audio class 2002-08-15 16:27:19 +00:00
Caspian Rychlik-Prince 9752430e66 Copyright added 2002-08-15 16:19:01 +00:00
Caspian Rychlik-Prince 2e43ecec70 Copyright added 2002-08-15 15:46:18 +00:00
Brian Matzon 3d0e916e03 add: copyright header 2002-08-15 15:14:42 +00:00
Brian Matzon 94de774d49 changed: AL_ and al prefix removed (this included lowercasing first letter in method) 2002-08-15 14:34:20 +00:00
Brian Matzon 05c2e5844b fixed: joystick javadoc changed to mouse 2002-08-15 14:08:14 +00:00
Caspian Rychlik-Prince 560e2dfbc0 Removed GL_ prefixes 2002-08-15 13:26:37 +00:00
Caspian Rychlik-Prince 31472c67c0 Removed GL_ prefixes 2002-08-15 13:20:09 +00:00
Caspian Rychlik-Prince 44dec85364 Removed gl prefixes 2002-08-15 13:19:49 +00:00
Caspian Rychlik-Prince cc63960e09 Renamed setDisplayMode to create for consistency with other classes 2002-08-14 14:32:46 +00:00
Caspian Rychlik-Prince 630362c462 Added GamePad and Joystick and some query methods 2002-08-14 14:31:09 +00:00
Brian Matzon d9ed524c54 CoreAL10 -> CoreAL 2002-08-14 10:55:41 +00:00
Caspian Rychlik-Prince ebeb7b4b04 Removed redundant class heirarchy 2002-08-14 01:08:57 +00:00
Brian Matzon a972863064 initial commit of OpenAL code 2002-08-13 23:13:28 +00:00
Brian Matzon e26f1ba417 initial commit of test class for OpenAL 2002-08-13 23:01:06 +00:00
Caspian Rychlik-Prince 6fe3e3188e StructBuffer added. Numerous changes to timing code in Sys. 2002-08-11 11:36:18 +00:00
Caspian Rychlik-Prince 04819cc981 Added GL constants and GLs 1.1, 1.2, 1.3 2002-08-09 19:42:20 +00:00
Caspian Rychlik-Prince 1b741fdfc5 Added GLU and GLUT, and core GL commands 2002-08-09 18:50:58 +00:00
Caspian Rychlik-Prince fec4678286 First code import. 2002-08-09 10:56:30 +00:00
Caspian Rychlik-Prince 6333c1dec1 Initial revision 2002-08-06 15:10:44 +00:00