dan..om
5ac9953f62
Implemented the ability to change the mouse cursor.
...
The way to do this is by calling inputManager.setMouseCursor("path/to/cursor/in/assets/cursor.ani").
NOTE: Supported formats are "RIFF-wrapped" .ani, .cur and .ico. Those can be found everywhere on the web and are the majority of icons found. If the file format is unrecognized the loader will crash with an appropriate message (hopefully).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9484 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-11 21:18:52 +00:00
nor..67
ea0be5cf9f
- fix imports across engine
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9451 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-03 13:10:26 +00:00
Sha..rd
e18d1c261c
* Prevent ActionListener.onAction( ... , true ) from being called repeatedly when using AWT panels
...
* Formatting in AwtMouseInput
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9426 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-25 00:29:35 +00:00
sky..ok
a625e8ae2a
Javadoc fixes R PHUN
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9358 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-08 15:11:38 +00:00
PSp..om
8bfe663402
Fixed the video recorder app state to attach itself
...
to the last _enabled_ view instead of just the last
view.
Fixed the internal IsoTimer to report the proper
resolution. It was reporting picoseconds when it
is actually returning milliseconds. This manifested
itself as a stuck g_Time in my shaders because time
was creeping along so slowly (if at all... I'm not
sure float has enough resolution to measure
1 / 1000000000 resolution.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9357 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-08 06:13:12 +00:00
sky..ok
96e20aad8d
Javadoc fixes: Down from 260 to 221 warnings
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9347 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-07 17:03:25 +00:00
nor..67
904d835742
Add variable quality and video file frame count to VideoRecorderAppState, thanks to @entrusc
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9283 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-09 14:02:38 +00:00
Sha..rd
be7a22e3d5
* Remove most common usage of IntMap.iterator()
...
* Correct small typo in UniformBinding
* Make IntMap.iterator() make new iterator each time
* Prevent TangentBinormalGenerator from crashing when it encounters some mesh without texcoord/normal buffers
* AWTLoader now properly fails when AWT can't load the image instead of returning null
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9219 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-28 03:57:54 +00:00
Sha..rd
8c0e5ad541
* Removed useless null check in Plane
...
* Moved Natives class to desktop source package
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9150 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-15 02:00:56 +00:00
sky..om
8e721f5c93
Brought the number of Javadoc workings down to 322 from 391; Updated year to 2012 in license header of affected files
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8980 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-03 06:54:07 +00:00
sky..om
1801f1f336
Brought the number of Javadoc workings down to 391 from 410
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8979 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-03 04:59:16 +00:00
bre..ns
7d2d0bdc75
fixed arraycopy buffer overflow error for Shorts in AWTLoader
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8916 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-13 17:51:09 +00:00
nor..67
082f2fb633
- move NVCompress tool to SDK
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8874 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-06 19:45:56 +00:00
nor..67
e6fae36159
- remove Java 1.6-only call in AwtPanel
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8873 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-06 19:23:08 +00:00
nor..67
e441f95d5e
- use JmeSystem.getStorageFolder() for SaveGame util
...
- move SaveGame util to core plugins
- fix BinaryImporter accessing assetManager if null
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8871 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-06 19:18:59 +00:00
nor..67
3cdaf0e051
jme3:
...
- fix imports in all classes
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8843 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-03 14:06:48 +00:00
nor..67
c906508e62
- big refactoring of engine build and cleaning of sources, totally breaking SDK build for now
...
- separate jar files for engine components
- resolve dependencies between code parts
- remove Nifty dependency from Cinematics
- remove Physics dependency from TerrainGrid
- add public accessors to Natives Extraction
- remove RenderHint serialization from networking
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8839 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-03 01:22:42 +00:00
nor..67
1cc957e7e9
- big refactoring of engine build and cleaning of sources, totally breaking SDK build for now
...
- separate jar files for engine components
- resolve dependencies between code parts
- remove Nifty dependency from Cinematics
- remove Physics dependency from TerrainGrid
- add public accessors to Natives Extraction
- remove RenderHint serialization from networking
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8838 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-03 01:19:18 +00:00
nor..67
2c0fe5e938
- also do check for input stream in Natives extraction
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8825 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-27 13:54:32 +00:00
nor..67
9574f9dd64
- make sure Natives extraction closes stream
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8824 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-27 13:53:03 +00:00
nor..67
28ad6d72eb
- make UrlLocator not print warning when asset can not be found (FileNotFoundException)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8724 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-19 13:11:10 +00:00
nor..67
7927ad4bbf
- add SDK workaround for UrlLocator
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8722 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-19 09:38:09 +00:00
nor..67
fce5f6556b
- fix in VideoRecorderAppState cleanup
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8718 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-18 00:39:39 +00:00
nor..67
86956cf130
- make VideoRecorderAppState record post effects..
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8717 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-18 00:34:56 +00:00
nor..67
7f17c8d1f1
- javadoc update and better default file creation for VideoRecorderAppState
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8716 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-18 00:17:50 +00:00
nor..67
183f46ed3e
- add empty constructor to VideoRecorderAppState using user.home and currentTimeMillis
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8715 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-18 00:03:47 +00:00
nor..67
69e691872d
- simplify multithreading in VideoRecorderAppState
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8714 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-17 23:24:00 +00:00
nor..67
04e348f0fb
- improve multithreading in VideoRecorderAppState
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8713 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-17 21:17:54 +00:00
nor..67
47e393ba23
- add javadoc to VideoRecorderAppState
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8710 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-17 02:34:11 +00:00
nor..67
11b5a1395d
- make timer of VideoRecorderAppState actually throttle fps if actual fps is greater than target fps, threaded file writing
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8709 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-17 02:17:35 +00:00
nor..67
f6e3a3eab2
- set NanoTimer when detaching VideoRecorderAppState
...
- make File in VideoRecorderAppState accessible
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8708 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-17 01:23:54 +00:00
nor..67
0420b4121e
- cleanup VideoRecorderAppState
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8707 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-16 22:50:36 +00:00
nor..67
fa68e89e6c
- add fix for video recorders IsoTimer getTime()
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8706 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-16 22:38:50 +00:00
nor..67
e8ffefe0e4
- add VideoRecorderAppState with M-JPEG avi output using java only
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8705 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-16 22:22:03 +00:00
sha..rd
b2ea6e74d2
* Make AWT mouse wheel events consistent with LWJGL
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8666 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-13 23:10:56 +00:00
nor..67
23b4e2fcf0
- synchronized access to AssetManager ClassLoader list
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8606 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-08 23:36:45 +00:00
nor..67
c0695b0a3a
- make ClassLoader list in AssetManager a syncronized list
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8605 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-08 23:33:11 +00:00
nor..67
9f16b989fe
- add a way to add a classpath for loading in-asset classes to AssetManager, use in BinaryImporter
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8600 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-08 21:18:53 +00:00
sha..rd
511c417fe7
* AssetEventListener now has an additional callback that can be used to detect when a dependent asset has failed to load.
...
Since dependent assets that were not located have no exception thrown, detection of this event could be needed by some tools e.g. jMonkeyPlatform to indicate to the user that the asset may have not been loaded correctly.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8597 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-08 04:56:15 +00:00
sha..rd
177c88d645
* Rewrote handling of URL based locators to use a shared UrlAssetInfo.
...
* The AssetInfo.openStream() must create a new stream each time (required by javadoc/spec)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8592 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-08 03:04:10 +00:00
sha..rd
d1e81fc8c9
* Specify library path for JInput as well as LWJGL in case the user's home directory is used for natives
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8545 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-29 20:29:49 +00:00
nor..67
2c0775e3f3
- remove size check from natives extraction (write test needed for windows anyway)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8521 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-23 21:34:46 +00:00
nor..67
45af20de0c
- add write test to natives extraction
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8518 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-23 19:27:15 +00:00
nor..67
65cbed47c6
- change natives extraction to check for space *and* writability
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8515 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-23 14:26:38 +00:00
nor..67
33fb670771
- change natives extraction to use getUsableSpace(), which checks for user permissions etc. too.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8509 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-22 17:32:26 +00:00
sha..rd
164dec188a
* Native extraction will place natives in working directory unless its non-writable, in that case it will place them in <home dir>/.jme3/natives_<apphash>
...
* Hopefully fixed NPE in computing extraction hash
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8486 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-22 00:01:07 +00:00
sha..rd
ffce10b8da
* Added AwtPanel.attachTo() argument that allows attaching panel to main framebuffer instead of replacing it on the viewports
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8481 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-21 23:01:34 +00:00
sha..rd
97145d7d4d
* Natives are now extracted to user.home based on hash of classpath and last modified of jMonkeyEngine3.jar
...
* Fixed crash in BloomFilter when screen size is 1x1
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8471 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-21 03:45:28 +00:00
sky..ok
f9bd837a7d
Fixed typo in UrlLocator
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8444 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-18 19:47:12 +00:00
sha..rd
5feebef7c5
* AwtMouseInput event queue is now synchronized like it should be
...
* TangentBinormalGenerator no longer writes binormal buffers. Instead it writes the W coordinate of the tangent based on the binormal's sign. Should fix "normal map seams" type problems
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8385 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-11 01:07:15 +00:00