Commit Graph

416 Commits

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