Commit Graph

3797 Commits

Author SHA1 Message Date
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 f6d77711ef add: javah target added 2003-02-09 21:14:17 +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 5bd5caa365 mod: now loads data files for examples from /res/ 2003-01-03 01:19:39 +00:00
Brian Matzon eb4635db51 files needed by ALTest - from openal source tree, thus lgpl 2003-01-03 01:17:40 +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 2cc94ffd75 moved to /res/data 2003-01-02 23:40:35 +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
Brian Matzon f7f4c2902b add: explanation about running demos 2002-12-24 09:42:27 +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 ea1281887e add: cvs build target 2002-12-22 00:54:00 +00:00
Elias Naur 08b93da34a Fixed .so file entries in build.xml 2002-12-21 23:25:54 +00:00
Brian Matzon b6b3d6e1d0 die die DIE!!! 2002-12-21 23:01:31 +00:00
Brian Matzon c044b30998 initial stab at ant build script 2002-12-21 22:52:34 +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 96a0f9beb3 up to date version 2002-12-21 12:10:05 +00:00
Brian Matzon 00edb7fcb2 credit due, where credit is due 2002-12-21 12:09:02 +00:00
Brian Matzon b2114c85e8 Lightweight actually spelled right! 2002-12-21 12:08:27 +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