Commit Graph

740 Commits

Author SHA1 Message Date
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
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
Elias Naur cac92f22c4 Input fixes 2002-11-21 15:05:51 +00:00
Elias Naur d7e9a66338 Fixed a bug that made extensions unavailable 2002-11-21 11:00:40 +00:00
Elias Naur d77551e685 Null joystick and gamepad files added 2002-11-20 16:11:39 +00:00
Elias Naur ededb55a85 Fixed a viewport placement bug 2002-11-20 13:54:58 +00:00
Elias Naur f188a1400b Improved pointer and keyboard handling under windowed mode 2002-11-20 10:33:37 +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 b3d37c9ca2 removed alGetSource3f 2002-11-19 15:48:38 +00:00
Brian Matzon 9e8d6d9af4 opengl->openal (doh!) 2002-11-19 15:47:31 +00:00
Elias Naur fb9126a85f Corrected author tags 2002-11-19 15:22:28 +00:00
Elias Naur 2809cb24e8 linux extal.h 2002-11-19 15:17:45 +00:00
Elias Naur 762df9ca12 Updated linux Makefile 2002-11-19 14:58:34 +00:00
Elias Naur f2b0cf2e6a Added linux specific checkALerror.h 2002-11-19 14:38:00 +00:00
Elias Naur 04dcec3686 Added EAX linux files 2002-11-19 14:33:49 +00:00
Elias Naur d01a456570 Fixed filenames in ALTest.java 2002-11-19 14:22:02 +00:00
Elias Naur ce668ad98b Initial OpenAL linux support 2002-11-19 14:08:21 +00:00
Elias Naur 95d720e927 Added MathTest.java 2002-11-19 09:07:58 +00:00
Elias Naur b9458afc52 Ported to C++. ported Math ops 2002-11-19 08:50:57 +00:00
Elias Naur 910f458521 Moved Game.java opengl test to java/org/lwjgl/opengl/test 2002-11-19 07:51:27 +00:00
Elias Naur f45bfa725b Updated extgl.h/c and checkGLerror.h 2002-11-19 07:42:55 +00:00
Elias Naur 8fd64c825b Added small GL extension test to Game.java 2002-11-18 20:29:48 +00:00
Elias Naur d761ef648d GL extensions fixes 2002-11-18 20:22:01 +00:00
Elias Naur c7eb254a5c Cleanup makefile 2002-11-18 20:07:00 +00:00
Elias Naur be1d7bb2a8 Added support for GL extensions 2002-11-18 20:02:17 +00:00
Brian Matzon d32ec087bc fix: made joystick static, according to specs 2002-11-18 17:50:21 +00:00
Brian Matzon 3d083b62d1 fix: made joystick static, according to specs 2002-11-18 16:42:30 +00:00
Brian Matzon 3fb900f2eb fix: formatting got fucked 2002-11-18 06:16:31 +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 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
Brian Matzon a9c614c2b2 first stab at the win32 joystick implementation 2002-11-17 18:13:46 +00:00
Brian Matzon 703e9645d4 new joystick header 2002-11-17 18:12:13 +00:00
Elias Naur 08e6af2ed0 Added debug support 2002-11-17 17:09:40 +00:00
Elias Naur e78027d295 Cursor z movement added 2002-11-17 16:49:16 +00:00
Elias Naur 1e828e6fc5 Cursor blanking added 2002-11-17 16:14:53 +00:00
Elias Naur 43698ade7c Added Sys setPriority support 2002-11-16 20:10:42 +00:00
Elias Naur 0b4f524ff9 Added Sys timer support 2002-11-16 19:46:18 +00:00
Elias Naur fa979f0f20 Corrected revision and id tags 2002-11-15 11:10:32 +00:00
Elias Naur 833bcb293c corrected id and revisions tags 2002-11-15 11:00:19 +00:00
Elias Naur 0436c62b0a corrected revision and id 2002-11-15 10:58:57 +00:00
Elias Naur a3624b0216 Added linux native src files 2002-11-15 10:40:55 +00:00
Tristan Campbell 8e31225b1c Fixed inversion error. 2002-10-28 20:01:26 +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
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
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
Caspian Rychlik-Prince b3d2deadd8 Added load method 2002-10-06 21:34:56 +00:00
Tristan Campbell fa665cce33 Optimised INVERT cases for Orthogonal Matricies (Rotations) 2002-09-28 16:53:13 +00:00
Caspian Rychlik-Prince 77e0186cb7 Fixed wglGetExtensionsStringARB problem 2002-09-20 17:00:30 +00:00
Caspian Rychlik-Prince 8b6afc4f42 Catching up 2002-09-20 16:57:13 +00:00
Brian Matzon 9564ff99eb fix: don't do the whole initializing thingy - just assume that OpenAL is initialized
fix:: wrong comment
fix: changed ifndef to ifdef DOH!
2002-09-12 01:42:49 +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
Tristan Campbell 0b758f82ef Cleaned up the code, all test cases I have sent at it work.
check current compatibility at:
http://www.happypedestrian.com/lwjgl/matrixop.html
2002-09-08 23:57:33 +00:00
Gregory Pierce a27f7dc6d0 RenderingContext - OpenGL context 2002-09-08 06:20:19 +00:00
Gregory Pierce ef84e6de85 Updated to use RenderingContext 2002-09-08 06:19:21 +00:00
Tristan Campbell 0078885178 Recent Testing: Mul and Inv work for 3x3 matrix, more testing coming
check www.happypedestrian.com/lwjgl/matrixop.html for current status
2002-09-07 19:52:01 +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 3a26ab9268 mod: adopted create/destroy architecture 2002-09-03 19:24:57 +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
Gregory Pierce 91a5bdf5ba Updated with GL setup functions 2002-09-03 05:53:05 +00:00
Gregory Pierce 539c1c1be9 Initial revision of the Mac version of the display class. Just testing CVS script. 2002-09-03 04:57:24 +00:00
Brian Matzon 82c97f79ac add: finished EAX support 2002-09-02 22:08:26 +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 d9226e4b33 mod: moving to eax subpackage 2002-09-02 13:22:09 +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
Tristan Campbell 3e701e274e Safe version now exists, some testing performed. 2002-08-29 21:40:44 +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 3822ca992e fix: don't check for errors after the exit! - will crash since no current context 2002-08-28 23:41:05 +00:00
Brian Matzon 62df26dc1c fix: now uses ByteBuffer address to load buffer when using alutLoadWAVMemory
fix: minor cleanup
2002-08-28 22:46:54 +00:00
Brian Matzon ede68fa461 fix: now uses ByteBuffer address to load buffer when using alutLoadWAVMemory 2002-08-28 22:45:46 +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
Tristan Campbell b5fab4fcc6 First draft of ANSIC++ Vector code. Needs to be tested. 2002-08-28 16:45:24 +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 32eccb5e58 fix: empty defines for !debug builds 2002-08-27 20:44:19 +00:00
Brian Matzon e33e715849 fix: made compile 2002-08-27 20:42:47 +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
Brian Matzon 8d51bb4b8e fix: support alcMakeContextCurrent - as recommended in specs! 2002-08-27 17:45:40 +00:00
Caspian Rychlik-Prince ec489c911d Fixed more stuff 2002-08-26 22:23:59 +00:00
Brian Matzon 1ea4bf10b4 fix: NULL check in getString
fix: wrong object being used when retrieving fields
2002-08-26 22:16:25 +00:00
Brian Matzon 21b1ea9862 fix: allow null to be passed to openDevice 2002-08-26 21:28:30 +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
Brian Matzon e98d612862 add: macro AL error checking 2002-08-26 18:23:11 +00:00
Brian Matzon efa5dc7f5d fix: dx version defined, so that compile errors are removed 2002-08-26 18:14:22 +00:00
Brian Matzon d84886e36c rem: don't include math file, which isn't there 2002-08-26 18:12:22 +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 0106d1ae4e fix: wrong header file being included (DOH!)
fix: using wrong object to retrieve field values from
2002-08-26 15:07:31 +00:00
Brian Matzon 3a05fc03bb fix: made java impl. behave like C counterpart, by returning NULL 2002-08-25 11:02:21 +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 918af28c2b New math code 2002-08-24 09:32:01 +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 1bcd10fbf3 basic al support complete 2002-08-19 13:54:34 +00:00
Brian Matzon 157e9daf9d add: rest of al methods 2002-08-19 12:02:52 +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 fecfd02abc Tweakage 2002-08-19 11:30:45 +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
Brian Matzon 68e100a6e9 fix: memory leak 2002-08-18 13:47:56 +00:00
Brian Matzon f6c9a484b3 add: loadWAVMemory implemented
fix: wrong comments on alutInit
2002-08-18 13:42:14 +00:00
Brian Matzon c56a1a70e1 loadWAVMemory implemented 2002-08-18 13:41:35 +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 a2d48f3ce0 change: old JNI Cimplementaion upgraded to C++ 2002-08-15 15:41:38 +00:00
Brian Matzon 3d0e916e03 add: copyright header 2002-08-15 15:14:42 +00:00
Brian Matzon 2cf8050e75 changed: now defines using dx7 2002-08-15 14:53:18 +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 801bed13f7 Added automatic error checking to debug build 2002-08-14 01:31:10 +00:00
Caspian Rychlik-Prince 74b1c5e43b Fixed a few things 2002-08-14 01:30:48 +00:00
Caspian Rychlik-Prince 28d5d8b429 GL error checking macro for debug builds 2002-08-14 01:27:46 +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
Brian Matzon b0c0b1143d initial import of OpenAL native implementation 2002-08-11 16:27:12 +00:00
Brian Matzon b1ed626ffb corrected Id keyword substitution 2002-08-11 15:59:08 +00:00
Brian Matzon e81da42a24 initial import of OpenAL native implementation 2002-08-11 15:56:00 +00:00
Caspian Rychlik-Prince 6b87bd6d20 Initial revision 2002-08-11 11:49:32 +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