Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
185 commits
Select commit Hold shift + click to select a range
07c0df7
OrientedBoxProbeArea copy constructor fixed
Toboi Nov 13, 2018
f19ad06
Update android bullet native, mk files and gradle adding header gener…
Nov 14, 2018
2b1c3d2
Update android bullet native libraries
Nov 14, 2018
c2fe803
Added a nicer toString() to DirectionalLight.
pspeed42 Nov 20, 2018
d5bfe1e
Modified the J3M loader to be a little less like a 1980s text adventure.
pspeed42 Nov 20, 2018
c29a4bb
fix for JME issue #887 (debug mesh ignores scaling)
stephengold Nov 16, 2018
68ea05e
test and fix for JME issue #954 (null bounding volume)
stephengold Nov 21, 2018
53c788c
Merge pull request #955 from stephengold/master
pspeed42 Nov 21, 2018
c707785
test and fix for JME issue #957
stephengold Nov 21, 2018
3d63433
Fixes #961 - Remove unused + deprecated Exception
MeFisto94 Nov 27, 2018
d3e7d20
upgrade native Bullet to v2.87, which should fix issue #877
stephengold Nov 29, 2018
7da493d
AppVeyor: invalidate cached ZIP file if gradle.properties has changed
stephengold Nov 29, 2018
772af5a
edit gradle.properties to trigger a rebuild
stephengold Dec 1, 2018
e9069a0
PhysicsSpace.cpp: whitespace changes to trigger an AppVeyor build (#…
stephengold Dec 2, 2018
a66cb55
[ci skip] bullet: update windows natives
Dec 2, 2018
a95cf89
[ci skip] bullet: update osx natives
Dec 2, 2018
2ffebcf
[ci skip] bullet: update linux natives
Dec 2, 2018
938c28f
trigger AppVeyor build for additional changes
stephengold Dec 2, 2018
d36deaf
[ci skip] bullet: update windows natives
Dec 2, 2018
c0823bb
Added a getState() method that will optionally fail on state misses.
Ali-RS Dec 3, 2018
a61813e
Added AppStateManager.getState(class, failOnMiss)
Ali-RS Dec 3, 2018
f44fdb3
Merge pull request #965 from Ali-RS/Ali-RS-patch-1
pspeed42 Dec 4, 2018
cf33c3c
implement setContactResponse(boolean) for PhysicsRigidBody (issue #96…
stephengold Dec 8, 2018
347191f
[ci skip] bullet: update windows natives
Dec 8, 2018
3d1dec7
[ci skip] bullet: update osx natives
Dec 8, 2018
cde3c39
[ci skip] bullet: update linux natives
Dec 8, 2018
d8acd30
implement setContactResponse(boolean) for PhysicsCharacter (issue #96…
stephengold Dec 12, 2018
a47b4a4
Added a (hacky) fix for a Java Swing/AWT + GLFW interaction issue… (#…
Ali-RS Dec 14, 2018
53d7052
test and fix for issue #970 (#973)
stephengold Dec 15, 2018
cf7725a
fix issue #240 (TestBlenderObjectAnim fails with NPE)
stephengold Dec 16, 2018
c4e1e7f
test and fix issue #358 (Centered BitmapText is rendered blurry)
stephengold Dec 16, 2018
c2337e8
fix part A of issue #632
stephengold Dec 16, 2018
552f4a0
fix part B of issue #632
stephengold Dec 16, 2018
0178002
Revert "test and fix issue #358 (Centered BitmapText is rendered blur…
stephengold Dec 17, 2018
b525d6c
correct branch name, no longer need CI for v3.1
stephengold Dec 20, 2018
2d621ce
enable AppVeyor CI for v3.2 branch
stephengold Dec 20, 2018
c22fac2
[ci skip] bullet: update windows natives
Dec 20, 2018
8a10738
Merge pull request #1 from jMonkeyEngine/master
mitm001 Dec 22, 2018
627f472
README.md: latest stable version is 3.2.1
stephengold Dec 22, 2018
06d9194
Update .travis.yml
stephengold Dec 23, 2018
d785caa
Merge pull request #2 from jMonkeyEngine/master
mitm001 Dec 27, 2018
416b866
Fixed a problem with mergeFrom() where a key that was explicitly mapp…
mitm001 Dec 27, 2018
f73d10b
Merge pull request #979 from mitm001/master
pspeed42 Dec 27, 2018
467af4f
Fixed call to onJoyButtonEvent()
fba-rio Dec 28, 2018
a88fdf9
More XBOX controller remappings
grizeldi Dec 30, 2018
1f02567
Merge pull request #987 from grizeldi/patch-2
pspeed42 Dec 30, 2018
44801da
fix for issue #988 (assertion failure in jme3test.games.CubeField)
stephengold Dec 31, 2018
1bb388d
fix for issue #989 (RollingTheMonkey works with JBullet but not native)
stephengold Dec 31, 2018
55d5cd7
Updated Nifty to 1.4.3 and cleaned up the build
tonihele Dec 30, 2018
2a90403
fix for issue #992 (HelloCollision throws an AssetLoadException)
stephengold Dec 31, 2018
bbf1f73
fix for issue #983 (TestMusicStreaming crashes due to missing asset)
stephengold Dec 31, 2018
64d0e00
LwjglContext: correct a typo in a log message
stephengold Dec 31, 2018
3c3e3f4
fixes for issue #994 (wildhouse.zip not found)
stephengold Dec 31, 2018
8cd5894
TerrainTestTile: T key had to be pressed 2x before effect (see PR #827)
stephengold Dec 31, 2018
7c6d828
README.md: latest stable version is 3.2.2
stephengold Dec 31, 2018
0e9ff83
fix for issue #998: add ZIP file, remove "Jumps" and HttpZipLocator
stephengold Jan 6, 2019
e5fb5bf
fix for issue #985: use a MaterialKey in TestAssetLinkNode
stephengold Jan 7, 2019
000ac95
fix for issue #982: add town.zip file to repo, load different HTTP image
stephengold Jan 7, 2019
fceee58
fix issue #997 (cloning UpdateControl throws IllegalArgumentException)
stephengold Jan 6, 2019
b9ea661
fix for issue #993 (TestGltfLoading throws AssetNotFoundException)
stephengold Jan 8, 2019
13d00e0
fix for issue #972 (TestModelExportingCloning fails)
stephengold Jan 8, 2019
c6158bb
Added getter and setter for LegacyApplication's speed (#986)
8Keep Jan 10, 2019
51b12e1
test&fix for issue #1004 (RagdollUtils can't handle 16-bit bone indices)
stephengold Jan 9, 2019
d17376e
PhysicsTestHelper: fix JavaDoc warnings (comments only)
stephengold Jan 11, 2019
34b32bf
fix for issue #1003 (Loading multiple GLB files with animations fails)
stephengold Jan 10, 2019
9d6d31d
GuiEvent: add JavaDoc (comments only)
stephengold Jan 14, 2019
7b346d2
Bump LWJGL3 version to '3.2.1'
Ali-RS Dec 14, 2018
c7f6aa9
fixed billboard shader bug on android where int is used instead of float
boonto Jan 22, 2019
d415cbb
Merge pull request #1010 from boonto/bugfix-float
pspeed42 Jan 22, 2019
7b0471c
Merge pull request #980 from fba-rio/patch-2
pspeed42 Jan 27, 2019
304550a
Fix #324. Blender importer now respects the lightNode pos in the graph
NemesisMate Nov 7, 2018
0f9cf09
Fixes depth-first-traversal order in Node.
FennelFetish Feb 1, 2019
254a583
Added tests for traversal order when using SceneGraphVisitor.
FennelFetish Feb 2, 2019
637162e
Added AnimComposer.hasAction() method
Ali-RS Feb 4, 2019
7363662
Added isSimilar() to Quaternion, Vector2f, Vector3f and Vector4f (#1015)
Ali-RS Feb 7, 2019
835fbd7
Jme3 vr (#828)
jseinturier Feb 8, 2019
626af31
Add double short and byte support to UserData (#946)
riccardobl Feb 8, 2019
9ded31c
Added TestUserData. (#1017)
Ali-RS Feb 8, 2019
6679873
Added removeAction(), removeLayer() and removeCurrentAction() to Anim…
Ali-RS Feb 11, 2019
dae85e1
Removed unused imports. (#1020)
Ali-RS Feb 12, 2019
6ab7c0d
fix for issue #910: PhysicsCharacter incompatibilities
stephengold Feb 21, 2019
512b096
fix for issue #1026: TestPhysicsCharacter spins Sinbad too fast
stephengold Feb 21, 2019
2c25d77
avoid extraneous newlines to stderr during glTF import
stephengold Feb 25, 2019
ce730e5
jme3-android JavaDoc corrections (comments only)
stephengold Feb 26, 2019
8ecddf4
jme3-blender JavaDoc corrections (comments only)
stephengold Feb 26, 2019
c11fbe4
jme3-core JavaDoc corrections (comments only)
stephengold Feb 26, 2019
7ad9165
jme3-desktop/jme3-effects JavaDoc corrections (comments only)
stephengold Feb 26, 2019
b2381e8
jme3-vr JavaDoc corrections (comments only)
stephengold Feb 26, 2019
5bf619c
jme3-terrain JavaDoc corrections (comments only)
stephengold Feb 26, 2019
8d6900a
jme3-jbullet JavaDoc corrections (comments only)
stephengold Feb 26, 2019
c7c2038
jme3-networking/jme3-plugins JavaDoc corrections (comments only)
stephengold Feb 26, 2019
4581b6c
jme3-examples/jme3-lwjgl3 JavaDoc corrections (comments only)
stephengold Feb 26, 2019
15f9f69
fix for issue #1027 - result of rayTest()
stephengold Feb 27, 2019
72bed74
complete the fix for issue #1027
stephengold Feb 27, 2019
f33252f
spelling corrections in diagnostic messages
stephengold Mar 3, 2019
7e6fa03
added a test for issue #1029
stephengold Mar 4, 2019
2bbf784
fix issue #1029, integrate PR #1031
riccardobl Mar 4, 2019
f1d9eb3
[ci skip] bullet: update windows natives
Mar 4, 2019
d60aec4
[ci skip] bullet: update osx natives
Mar 4, 2019
ff5124b
[ci skip] bullet: update linux natives
Mar 4, 2019
784106e
Revert "fix for issue #989 (RollingTheMonkey works with JBullet but n…
stephengold Mar 4, 2019
3851c35
Add blend mode that sums alphas and does alpha blending for colors
riccardobl Mar 8, 2019
2356320
more comment-only correction
stephengold Mar 9, 2019
7511220
more corrections in diagnostic messages
stephengold Mar 9, 2019
ffa58be
remove more unused imports
stephengold Mar 9, 2019
6dd737d
Added AnimComposer.getAction() and AnimComposer.addAction() and improved
Mar 8, 2019
eba9ef6
Add tests for com.jme3.math.FastMath
Mar 12, 2019
fe03a9b
Add tests for com.jme3.math.Vector3f
Mar 15, 2019
7e929aa
FbxLoader: comment out some debug spam to System.out - see issue #1025
stephengold Mar 17, 2019
b9c13a2
JavaDoc correction to AnimComposer (comments only)
stephengold Mar 17, 2019
2124e3e
TestGltfLoading: comment
stephengold Mar 18, 2019
76049c7
Add getSpatial to GhostControl, RigidBodyControl, AbstractPhysicsCont…
quazi-irfan Mar 19, 2019
a03f1fe
gradle.properties: ready for 3.3.0-alpha1 build
stephengold Mar 21, 2019
31574f1
[ci skip] bullet: update windows natives
Mar 21, 2019
9d9132d
.travis.yml: work around Travis's tag blindness using a regexp
stephengold Mar 21, 2019
a6622d4
trivial commit with tag
stephengold Mar 21, 2019
dc99bc0
post-release fixup
stephengold Mar 21, 2019
9f9b443
[ci skip] bullet: update windows natives
Mar 21, 2019
c43eafc
Modified JmeDesktopSystem.writeImageFile() to export transparency for…
Ali-RS Mar 22, 2019
9a6032a
Merge pull request #1054 from Ali-RS/export-transparent-png
pspeed42 Mar 22, 2019
f60ff58
Add bullet extraction directory, bin and vscode config to gitignore
riccardobl Mar 21, 2019
7c2a401
Add tests for com.jme3/scene.mesh.VirtualIndexBuffer
Mar 22, 2019
1ad324a
fix issue #901 (collision margins initialized to 0) (#1053)
stephengold Mar 23, 2019
cf7b15b
j3md Fix for default textures (#1052)
riccardobl Mar 27, 2019
51cadb2
Merge pull request #1050 from Diffblue-benchmarks/virtual-buffer-tests
riccardobl Mar 29, 2019
a2df09b
add Spoxel to the list of games in the README.md
stephengold Mar 29, 2019
f0d28a9
changed Mythruna link to use http instead of https
stephengold Mar 29, 2019
27bd169
Armature.java: correct a typo in the javadoc
stephengold Mar 30, 2019
ac60a13
Updated the axis event processing to pay attention to dead zones.
pspeed42 Mar 31, 2019
5bc6480
Fix printing if stencil is enable or disable
quazi-irfan Mar 31, 2019
5901a95
Added new JoystickAxis.LEFT_TRIGGER/RIGHT_TRIGGER.
pspeed42 Apr 1, 2019
54b812c
Standardized the XBox controller mappings to one XBOX set of entries
pspeed42 Apr 1, 2019
59af265
Updated the joystick test to indicate when the new LEFT_TRIGGER/RIGHT…
pspeed42 Apr 1, 2019
235b9db
publicize Joint.applyBindPose(), add DynamicAnimControl & related stuff
stephengold Mar 30, 2019
d55776d
revise TestBoneRagdoll & TestRagdollCharacter to use DynamicAnimControl
stephengold Mar 30, 2019
cd90be1
Revert "Modified JmeDesktopSystem.writeImageFile() to export transpar…
Ali-RS Apr 6, 2019
7c6e12e
Merge pull request #1062 from jMonkeyEngine/revert-1054-export-transp…
pspeed42 Apr 6, 2019
3b24067
Add RGTC format
riccardobl Mar 19, 2019
88a9069
Adds option to disable VR mouse cursor and thus enable the cursor on …
FennelFetish Apr 8, 2019
1a13489
Merge pull request #1064 from FennelFetish/jme3-vr_mouse-fix
neph1 Apr 8, 2019
9a80f01
fixed wrong reference check
rvandoosselaer Apr 9, 2019
657c584
Merge pull request #1066 from rvandoosselaer/fix-classcastexception-#…
pspeed42 Apr 9, 2019
8a4e5e1
fix issue #1060: bt32BitAxisSweep3 not implemented
stephengold Apr 12, 2019
73c055c
[ci skip] bullet: update windows natives
Apr 12, 2019
18cc152
[ci skip] bullet: update osx natives
Apr 12, 2019
3696074
[ci skip] bullet: update linux natives
Apr 12, 2019
ba340cf
add a test case for issue #99 (blendMode="multiply" in NiftyGUI)
stephengold Apr 13, 2019
9e53200
fix for issue #1037 (TestHoveringTank hull-shape performance issue)
stephengold Apr 13, 2019
28cba18
[ci skip] bullet: update windows natives
Apr 13, 2019
4bd8cfb
[ci skip] bullet: update osx natives
Apr 13, 2019
35b9d9d
[ci skip] bullet: update linux natives
Apr 13, 2019
9885379
calculate the total line height before aligning the letters, calculat…
rvandoosselaer Apr 10, 2019
74588d9
adapt the caption of the string
rvandoosselaer Apr 11, 2019
ad2ba95
Jdk 11 Build Support
tlf30 Apr 15, 2019
41f88cd
[ci skip] bullet: update windows natives
Apr 15, 2019
9c1452b
Fixed classes location while building natives (JDK11 Support) (#1073)
tlf30 Apr 20, 2019
ffa1df2
returns unmodifiable sets (#1071)
rvandoosselaer Apr 22, 2019
0bc060d
Added an easy way to add sub steps to the profiler (#1067)
Jeddic Apr 22, 2019
0bf931b
revert integration of PR #1071 which wasn't ready
stephengold Apr 22, 2019
8d3980b
Refactor collection to set in anim composer (#1076)
rvandoosselaer Apr 24, 2019
234bd47
implement contact-response for jme3-jbullet's PhysicsRigidBody
stephengold Apr 26, 2019
432085c
TestBoneRagdoll: reduce jumpiness during "toggle" actions
stephengold Apr 26, 2019
40be1b4
DynamicAnimControl: remove all mention of attachments incl. isReleased()
stephengold Apr 26, 2019
36ddb5b
Added ambient light support in PBR shader (#1077)
Ali-RS Apr 27, 2019
fff16c2
TestIssue99: specify panel widths, clarify interpretation of results
stephengold Apr 27, 2019
50aed6f
Travis: use "xenial" Linux dist to solve TLS issue (#1081)
stephengold Apr 29, 2019
c4d2de1
AnimComposer: updated to save globalSpeed on export and fixed issue w…
Ali-RS Apr 30, 2019
318d6d0
Add support for listening to joystick connection/disconnection.
jayfella May 11, 2019
80adca6
Translate JoystickState directly from LWJGL context.
jayfella May 11, 2019
682d8c9
Use RawInputListener for InputManager instead of creating another field.
jayfella May 11, 2019
76fcc2c
Remove magic number translations and remove uppercase names.
jayfella May 11, 2019
d3be2f3
Use enum constants instead of integer ID's
jayfella May 11, 2019
2f6185b
Remove JoystickState enum and replace with boolean value.
jayfella May 12, 2019
b9b4a2d
Reference the joystick that changed state instead of the ID.
jayfella May 13, 2019
ac01203
gradle.properties: ready for 3.3.0-alpha2 build
stephengold May 22, 2019
6a71a1c
trivial commit with tag
stephengold May 22, 2019
33ade6b
Merge pull request #1087 from jayfella/master
pspeed42 May 22, 2019
3f1f2e8
trivial commit with tag for v3.3.0-alpha2
stephengold May 22, 2019
5451e3e
post-release fixup
stephengold May 22, 2019
a43ad8e
[ci skip] bullet: update windows natives
May 22, 2019
4f47e56
Add support for fog in materials.
jayfella May 23, 2019
7e11a6c
Use UTF-8 in gradle builds
lifeinwild May 26, 2019
a68d8b5
Add support for opengl versions > 3.2 in lwjgl2 renderer
riccardobl May 27, 2019
1116df3
Add fog to Single-Pass lighting.
jayfella May 30, 2019
a8f5ac0
Merge pull request #1094 from jayfella/master
jayfella May 30, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
**/.classpath
**/.settings
**/.project
**/.vscode
**/out/
/.gradle/
/.nb-gradle/
Expand All @@ -18,12 +19,15 @@
*.jnilib
*.dylib
*.iml
*.class
*.jtxt
.gradletasknamecache
.DS_Store
/jme3-core/src/main/resources/com/jme3/system/version.properties
/jme3-*/build/
/jme3-*/bin/
/jme3-bullet-native/bullet3.zip
/jme3-bullet-native/bullet3-2.86.1/
/jme3-bullet-native/bullet3-*/
/jme3-bullet-native/src/native/cpp/com_jme3_bullet_*.h
/jme3-android-native/openal-soft/
/jme3-android-native/OpenALSoft.zip
Expand All @@ -38,9 +42,11 @@
!/jme3-bullet-native/libs/native/osx/x86_64/libbulletjme.dylib
!/jme3-bullet-native/libs/native/linux/x86/libbulletjme.so
!/jme3-bullet-native/libs/native/linux/x86_64/libbulletjme.so
/jme3-examples/private/
!/jme3-vr/src/main/resources/**/*.dylib
!/jme3-vr/src/main/resources/**/*.so
!/jme3-vr/src/main/resources/**/*.so.dbg
!/jme3-vr/src/main/resources/**/*.dll
!/jme3-vr/src/main/resources/**/*.pdb
/buildMaven.bat

14 changes: 6 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,18 @@ sudo: true
branches:
only:
- master
- v3.1
- /^v3.2.0-.*$/
- /^v3.3.*$/
- v3.2
- /^v3.2.*$/

matrix:
include:
- os: linux
jdk: oraclejdk8
env: UPLOAD=true UPLOAD_NATIVE=true
- os: linux
jdk: openjdk7
dist: precise
jdk: openjdk11
dist: xenial
- os: osx
osx_image: xcode9.3
env: UPLOAD_NATIVE=true
Expand Down Expand Up @@ -73,7 +74,6 @@ deploy:
repo: jMonkeyEngine/jmonkeyengine
tags: true


# before_install:
# required libs for android build tools
# sudo apt-get update
Expand All @@ -82,6 +82,4 @@ deploy:
# newest Android NDK
# wget http://dl.google.com/android/ndk/android-ndk-r10c-linux-x86_64.bin -O ndk.bin
# 7z x ndk.bin -y > /dev/null
# export ANDROID_NDK=`pwd`/android-ndk-r10c


# export ANDROID_NDK=`pwd`/android-ndk-r10c
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ jMonkeyEngine

[![Build Status](https://travis-ci.org/jMonkeyEngine/jmonkeyengine.svg?branch=master)](https://travis-ci.org/jMonkeyEngine/jmonkeyengine)

jMonkeyEngine is a 3D game engine for adventurous Java developers. It’s open-source, cross-platform, and cutting-edge. 3.2.0 is the latest stable version of the jMonkeyEngine 3 SDK, a complete game development suite. We'll release 3.2.x updates until the major 3.3 release arrives.
jMonkeyEngine is a 3D game engine for adventurous Java developers. It’s open-source, cross-platform, and cutting-edge. 3.2.2 is the latest stable version of the jMonkeyEngine 3 SDK, a complete game development suite. We'll release 3.2.x updates until the major 3.3 release arrives.

The engine is used by several commercial game studios and computer-science courses. Here's a taste:

Expand All @@ -15,12 +15,13 @@ The engine is used by several commercial game studios and computer-science cours
- [Copod](http://herebeben.com/copod)
- [Attack of the Gelatinous Blob](http://attackofthegelatinousblob.com/)
- [Chaos](http://4realms.net/)
- [Mythruna](https://mythruna.com/)
- [Mythruna](http://mythruna.com/)
- [PirateHell](http://www.desura.com/games/piratehell)
- [3089 (on steam)](http://store.steampowered.com/app/263360/)
- [3079 (on steam)](http://store.steampowered.com/app/259620/)
- [Lightspeed Frontier](http://www.lightspeedfrontier.com/)
- [Skullstone](http://www.skullstonegame.com/)
- [Spoxel](https://store.steampowered.com/app/746880/Spoxel/)

## Getting started

Expand Down
5 changes: 4 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,13 @@ version: 1.0.{build}.{branch}
branches:
only:
- master
- v3.2

only_commits:
files:
- jme3-bullet-native/
- appveyor.yml
- gradle.properties

skip_tags: true

Expand Down Expand Up @@ -34,7 +37,7 @@ build_script:
cache:
- C:\Users\appveyor\.gradle\caches
- C:\Users\appveyor\.gradle\wrapper
- jme3-bullet-native\bullet3.zip
- jme3-bullet-native\bullet3.zip -> gradle.properties

test: off
deploy: off
Expand Down
6 changes: 4 additions & 2 deletions common.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ apply plugin: 'maven'
group = 'org.jmonkeyengine'
version = jmePomVersion

sourceCompatibility = '1.7'
sourceCompatibility = '1.8'
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'

repositories {
Expand All @@ -24,7 +24,7 @@ repositories {
dependencies {
// Adding dependencies here will add the dependencies to each subproject.
testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile group: 'org.mockito', name: 'mockito-core', version: '2.0.28-beta'
testCompile group: 'org.mockito', name: 'mockito-core', version: '1.10.19'
testCompile group: 'org.easytesting', name: 'fest-assert-core', version: '2.0M10'
}

Expand All @@ -43,6 +43,8 @@ javadoc {
options.header = "<b>jMonkeyEngine ${jmeMainVersion} ${project.name}</b>"
options.author = "true"
options.use = "true"
options.charSet = "UTF-8"
options.encoding = "UTF-8"
//disable doclint for JDK8, more quiet output
if (JavaVersion.current().isJava8Compatible()){
options.addStringOption('Xdoclint:none', '-quiet')
Expand Down
9 changes: 5 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jmeMainVersion = 3.3
# Version addition pre-alpha-svn, Stable, Beta
jmeVersionTag = SNAPSHOT
# Increment this each time jmeVersionTag changes but jmeVersion stays the same
jmeVersionTagID = 0
jmeVersionTagID = 2

# specify if JavaDoc should be built
buildJavaDoc = true
Expand All @@ -16,11 +16,11 @@ buildAndroidExamples = false

# Path to android NDK for building native libraries
#ndkPath=/Users/normenhansen/Documents/Code-Import/android-ndk-r7
ndkPath = /opt/android-ndk-r10c
ndkPath = /opt/android-ndk-r16b

# Path for downloading native Bullet
bulletUrl = https://github.com/bulletphysics/bullet3/archive/2.86.1.zip
bulletFolder = bullet3-2.86.1
bulletUrl = https://github.com/bulletphysics/bullet3/archive/2.87.zip
bulletFolder = bullet3-2.87
bulletZipFile = bullet3.zip

# POM settings
Expand All @@ -38,3 +38,4 @@ POM_INCEPTION_YEAR=2009
# Bintray settings to override in $HOME/.gradle/gradle.properties or ENV or commandline
bintray_user=
bintray_api_key=

Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
package jme3test.android;

import com.jme3.app.SimpleApplication;
import com.jme3.light.AmbientLight;
import com.jme3.light.PointLight;
import com.jme3.material.Material;
import com.jme3.math.ColorRGBA;
import com.jme3.math.Vector3f;
import com.jme3.scene.Geometry;
import com.jme3.scene.shape.Box;
import com.jme3.scene.shape.Sphere;
import com.jme3.util.TangentBinormalGenerator;

/**
* Test case to look for images stored in the Android drawable and mipmap directories. Image files are
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
package org.jmonkeyengine.jme3androidexamples;

import android.os.Bundle;
import android.util.Log;
import com.jme3.app.AndroidHarnessFragment;

import java.util.logging.Level;
import java.util.logging.LogManager;

import static org.jmonkeyengine.jme3androidexamples.MainActivity.*;

/**
* A placeholder fragment containing a the jME GLSurfaceView.
* A placeholder fragment containing a jME GLSurfaceView.
*/
public class JmeFragment extends AndroidHarnessFragment {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package org.jmonkeyengine.jme3androidexamples;

import android.app.Activity;
import android.content.Intent;
import android.content.pm.ApplicationInfo;
import android.os.Bundle;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
package org.jmonkeyengine.jme3androidexamples;

import android.app.FragmentTransaction;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.support.v7.app.AppCompatActivity;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
Expand Down
20 changes: 14 additions & 6 deletions jme3-android-native/decode.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ String stbiUrl = 'https://raw.githubusercontent.com/nothings/stb/master/stb_imag

// Working directories for the ndk build.
String decodeBuildDir = "${buildDir}" + File.separator + 'decode'
String decodeClassesBuildDir = "${buildDir}" + File.separator + 'decode_classes'
String decodeBuildJniDir = decodeBuildDir + File.separator + 'jni'
String decodeBuildLibsDir = decodeBuildDir + File.separator + 'libs'

Expand Down Expand Up @@ -44,13 +45,20 @@ task copyTremorFiles(type: Copy) {
into outputDir
}

// Generate headers via javah
// Generate headers via javac -h
task generateJavahHeaders(type: Exec) {
executable org.gradle.internal.jvm.Jvm.current().getExecutable('javah')
args '-d', decodeSourceDir
args '-classpath', project.projectClassPath
args "com.jme3.audio.plugins.NativeVorbisFile"
args "com.jme3.texture.plugins.AndroidNativeImageLoader"
def files0 = fileTree("src/main/java/").filter { it.isFile() && it.getName().endsWith(".java") }.files
def files1 = fileTree("src/common/java/").filter { it.isFile() && it.getName().endsWith(".java") }.files
def files2 = fileTree("../jme3-core/src/main/java/").filter { it.isFile() && it.getName().endsWith(".java") }.files
def files3 = fileTree("../jme3-core/src/plugins/java/").filter { it.isFile() && it.getName().endsWith(".java") }.files
def files4 = fileTree("../jme3-core/src/tools/java/").filter { it.isFile() && it.getName().endsWith(".java") }.files
def files5 = fileTree("../jme3-terrain/src/main/java/").filter { it.isFile() && it.getName().endsWith(".java") }.files
def filesList = "\"" + files0.join("\"\n\"") + "\"\n\"" + files1.join("\"\n\"") + "\"\n\"" + files2.join("\"\n\"") + "\"\n\"" + files3.join("\"\n\"") + "\"\n\"" + files4.join("\"\n\"") + "\"\n\"" + files5.join("\"\n\"") + "\""
new File("$projectDir/java_classes.jtxt").text = filesList.replaceAll(java.util.regex.Pattern.quote("\\"), java.util.regex.Matcher.quoteReplacement("/"))
executable org.gradle.internal.jvm.Jvm.current().getExecutable('javac')
args '-h', decodeSourceDir
args "@$projectDir/java_classes.jtxt"
args '-d', decodeClassesBuildDir
}

// Copy jME Android native files to jni directory
Expand Down
19 changes: 13 additions & 6 deletions jme3-android-native/openalsoft.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ String openALSoftFolder = 'openal-soft-e5016f8'

//Working directories for the ndk build.
String openalsoftBuildDir = "${buildDir}" + File.separator + 'openalsoft'
String openalsoftClassesBuildDir = "${buildDir}" + File.separator + 'openalsoft_classes'
String openalsoftBuildJniDir = openalsoftBuildDir + File.separator + 'jni'
String openalsoftBuildLibsDir = openalsoftBuildDir + File.separator + 'libs'

Expand Down Expand Up @@ -73,12 +74,18 @@ task copyJmeOpenALSoft(type: Copy, dependsOn:copyOpenALSoft) {
}

task generateOpenAlSoftHeaders(type:Exec, dependsOn: copyJmeOpenALSoft) {
executable org.gradle.internal.jvm.Jvm.current().getExecutable('javah')
args '-d', openalsoftJmeAndroidPath
args '-classpath', project.projectClassPath
args "com.jme3.audio.android.AndroidAL"
args "com.jme3.audio.android.AndroidALC"
args "com.jme3.audio.android.AndroidEFX"
def files0 = fileTree("src/main/java/").filter { it.isFile() && it.getName().endsWith(".java") }.files
def files1 = fileTree("src/common/java/").filter { it.isFile() && it.getName().endsWith(".java") }.files
def files2 = fileTree("../jme3-core/src/main/java/").filter { it.isFile() && it.getName().endsWith(".java") }.files
def files3 = fileTree("../jme3-core/src/plugins/java/").filter { it.isFile() && it.getName().endsWith(".java") }.files
def files4 = fileTree("../jme3-core/src/tools/java/").filter { it.isFile() && it.getName().endsWith(".java") }.files
def files5 = fileTree("../jme3-terrain/src/main/java/").filter { it.isFile() && it.getName().endsWith(".java") }.files
def filesList = "\"" + files0.join("\"\n\"") + "\"\n\"" + files1.join("\"\n\"") + "\"\n\"" + files2.join("\"\n\"") + "\"\n\"" + files3.join("\"\n\"") + "\"\n\"" + files4.join("\"\n\"") + "\"\n\"" + files5.join("\"\n\"") + "\""
new File("$projectDir/java_classes.jtxt").text = filesList.replaceAll(java.util.regex.Pattern.quote("\\"), java.util.regex.Matcher.quoteReplacement("/"))
executable org.gradle.internal.jvm.Jvm.current().getExecutable('javac')
args '-h', openalsoftJmeAndroidPath
args "@$projectDir/java_classes.jtxt"
args '-d', openalsoftClassesBuildDir
}

task buildOpenAlSoftNativeLib(type: Exec, dependsOn: generateOpenAlSoftHeaders) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import android.app.Activity;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.pm.ActivityInfo;
import android.graphics.drawable.Drawable;
import android.graphics.drawable.NinePatchDrawable;
import android.opengl.GLSurfaceView;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2015 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -125,7 +125,7 @@ public class AndroidHarnessFragment extends Fragment implements
/**
* Set the maximum resolution for the surfaceview in either the
* width or height screen direction depending on the screen size.
* If the surfaceview is retangular, the longest side (width or height)
* If the surfaceview is rectangular, the longest side (width or height)
* will have the resolution set to a maximum of maxResolutionDimension.
* The other direction will be set to a value that maintains the aspect
* ratio of the surfaceview. </br>
Expand Down Expand Up @@ -276,17 +276,17 @@ public void onCreate(Bundle savedInstanceState) {
}

/**
* Called by the system to create the View hierchy associated with this
* Called by the system to create the View hierarchy associated with this
* Fragment. For jME, this is a FrameLayout that contains the GLSurfaceView
* and an overlaying SplashScreen Image (if used). The View that is returned
* will be placed on the screen within the boundries of the View borders defined
* will be placed on the screen within the boundaries of the View borders defined
* by the Activity's layout parameters for this Fragment. For jME, we also
* update the application reference to the new view.
*
* @param inflater
* @param container
* @param savedInstanceState
* @return
* @return the new view
*/
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,11 @@ public void appStep(AppStep appStep) {
}
}

@Override
public void appSubStep(String... additionalInfo) {

}

public void vpStep(VpStep vpStep, ViewPort vp, RenderQueue.Bucket bucket) {
if (androidApiLevel >= 18) {
switch (vpStep) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2012 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -123,7 +123,6 @@ public VideoRecorderAppState(File file) {
* This constructor allows you to specify the output file of the video as well as the quality
* @param file the video file
* @param quality the quality of the jpegs in the video stream (0.0 smallest file - 1.0 largest file)
* @param framerate the frame rate of the resulting video, the application will be locked to this framerate
*/
public VideoRecorderAppState(File file, float quality) {
this.file = file;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import com.jme3.system.android.JmeAndroidSystem;
import java.io.IOException;
import java.io.InputStream;
import java.util.logging.Level;
import java.util.logging.Logger;

public class AndroidLocator implements AssetLocator {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
import android.view.MotionEvent;
import android.view.ScaleGestureDetector;
import com.jme3.input.event.TouchEvent;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
import com.jme3.input.JoyInput;
import com.jme3.input.TouchInput;
import com.jme3.system.AppSettings;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
Expand Down
Loading