diff --git a/project.clj b/project.clj index 3a465d4..6302ced 100644 --- a/project.clj +++ b/project.clj @@ -3,9 +3,9 @@ :url "https://github.com/oakes/play-clj" :license {:name "Public Domain" :url "http://unlicense.org/UNLICENSE"} - :dependencies [[com.badlogicgames.gdx/gdx "1.5.0"] - [com.badlogicgames.gdx/gdx-box2d "1.5.0"] - [com.badlogicgames.gdx/gdx-bullet "1.5.0"] + :dependencies [[com.badlogicgames.gdx/gdx "1.5.3"] + [com.badlogicgames.gdx/gdx-box2d "1.5.3"] + [com.badlogicgames.gdx/gdx-bullet "1.5.3"] [org.clojure/clojure "1.6.0"]] :repositories [["sonatype" "https://oss.sonatype.org/content/repositories/releases/"]] diff --git a/src/play_clj/utils.clj b/src/play_clj/utils.clj index a8d506a..a6a3281 100644 --- a/src/play_clj/utils.clj +++ b/src/play_clj/utils.clj @@ -153,7 +153,7 @@ new object to be created each time a field is set). (defn gdx-array* [clj-arr] - (Array. true (into-array clj-arr) 1 (count clj-arr))) + (Array. true (into-array clj-arr) 0 (count clj-arr))) (defmacro gdx-array "Returns an [Array](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/utils/Array.html). diff --git a/template/project.clj b/template/project.clj index 836c067..d13cef3 100644 --- a/template/project.clj +++ b/template/project.clj @@ -1,8 +1,8 @@ -(defproject play-clj/lein-template "0.4.3" +(defproject play-clj/lein-template "0.4.4" :description "A template for making play-clj projects" :url "https://github.com/oakes/play-clj" :license {:name "Public Domain" :url "http://unlicense.org/UNLICENSE"} - :dependencies [[lein-droid "0.3.0-beta4"]] + :dependencies [[lein-droid "0.3.1"]] :resource-paths ["resources"] :eval-in-leiningen true) diff --git a/template/resources/armeabi-v7a/libgdx-bullet.so b/template/resources/armeabi-v7a/libgdx-bullet.so index 9a5fce6..b567acb 100644 Binary files a/template/resources/armeabi-v7a/libgdx-bullet.so and b/template/resources/armeabi-v7a/libgdx-bullet.so differ diff --git a/template/resources/armeabi-v7a/libgdx.so b/template/resources/armeabi-v7a/libgdx.so index 7022bbd..b224b0c 100644 Binary files a/template/resources/armeabi-v7a/libgdx.so and b/template/resources/armeabi-v7a/libgdx.so differ diff --git a/template/resources/armeabi/libgdx-bullet.so b/template/resources/armeabi/libgdx-bullet.so index ecd5047..f29d666 100644 Binary files a/template/resources/armeabi/libgdx-bullet.so and b/template/resources/armeabi/libgdx-bullet.so differ diff --git a/template/resources/armeabi/libgdx.so b/template/resources/armeabi/libgdx.so index cc8d11f..c6cdb9a 100644 Binary files a/template/resources/armeabi/libgdx.so and b/template/resources/armeabi/libgdx.so differ diff --git a/template/resources/ios/libObjectAL.a b/template/resources/ios/libObjectAL.a index 95969cb..64a843e 100644 Binary files a/template/resources/ios/libObjectAL.a and b/template/resources/ios/libObjectAL.a differ diff --git a/template/resources/ios/libgdx-box2d.a b/template/resources/ios/libgdx-box2d.a index 64a34ee..d32d665 100644 Binary files a/template/resources/ios/libgdx-box2d.a and b/template/resources/ios/libgdx-box2d.a differ diff --git a/template/resources/ios/libgdx-bullet.a b/template/resources/ios/libgdx-bullet.a index 77582a6..9ff9bcd 100644 Binary files a/template/resources/ios/libgdx-bullet.a and b/template/resources/ios/libgdx-bullet.a differ diff --git a/template/resources/ios/libgdx.a b/template/resources/ios/libgdx.a index fce9da8..371d37b 100644 Binary files a/template/resources/ios/libgdx.a and b/template/resources/ios/libgdx.a differ diff --git a/template/resources/x86/libgdx-bullet.so b/template/resources/x86/libgdx-bullet.so index efaf0a3..9d27915 100644 Binary files a/template/resources/x86/libgdx-bullet.so and b/template/resources/x86/libgdx-bullet.so differ diff --git a/template/resources/x86/libgdx.so b/template/resources/x86/libgdx.so index 7083b4e..de5b800 100644 Binary files a/template/resources/x86/libgdx.so and b/template/resources/x86/libgdx.so differ diff --git a/template/src/leiningen/new/play_clj/android-project.clj b/template/src/leiningen/new/play_clj/android-project.clj index 502799a..83f9539 100644 --- a/template/src/leiningen/new/play_clj/android-project.clj +++ b/template/src/leiningen/new/play_clj/android-project.clj @@ -1,13 +1,13 @@ (defproject {{app-name}} "0.0.1-SNAPSHOT" :description "FIXME: write description" - :dependencies [[com.badlogicgames.gdx/gdx "1.5.0" :use-resources true] - [com.badlogicgames.gdx/gdx-backend-android "1.5.0"] - [com.badlogicgames.gdx/gdx-box2d "1.5.0"] - [com.badlogicgames.gdx/gdx-bullet "1.5.0"] + :dependencies [[com.badlogicgames.gdx/gdx "1.5.3" :use-resources true] + [com.badlogicgames.gdx/gdx-backend-android "1.5.3"] + [com.badlogicgames.gdx/gdx-box2d "1.5.3"] + [com.badlogicgames.gdx/gdx-bullet "1.5.3"] [neko/neko "3.0.2"] [org.clojure-android/clojure "1.6.0-RC1" :use-resources true] - [play-clj "0.4.3"]] + [play-clj "0.4.4"]] :profiles {:dev {:dependencies [[android/tools.nrepl "0.2.0-bigstack"] [compliment "0.1.4"]] :android {:aot :all-with-unused}} diff --git a/template/src/leiningen/new/play_clj/desktop-project.clj b/template/src/leiningen/new/play_clj/desktop-project.clj index 2ff70ad..8fb6e1c 100644 --- a/template/src/leiningen/new/play_clj/desktop-project.clj +++ b/template/src/leiningen/new/play_clj/desktop-project.clj @@ -1,18 +1,18 @@ (defproject {{app-name}} "0.0.1-SNAPSHOT" :description "FIXME: write description" - :dependencies [[com.badlogicgames.gdx/gdx "1.5.0"] - [com.badlogicgames.gdx/gdx-backend-lwjgl "1.5.0"] - [com.badlogicgames.gdx/gdx-box2d "1.5.0"] - [com.badlogicgames.gdx/gdx-box2d-platform "1.5.0" + :dependencies [[com.badlogicgames.gdx/gdx "1.5.3"] + [com.badlogicgames.gdx/gdx-backend-lwjgl "1.5.3"] + [com.badlogicgames.gdx/gdx-box2d "1.5.3"] + [com.badlogicgames.gdx/gdx-box2d-platform "1.5.3" :classifier "natives-desktop"] - [com.badlogicgames.gdx/gdx-bullet "1.5.0"] - [com.badlogicgames.gdx/gdx-bullet-platform "1.5.0" + [com.badlogicgames.gdx/gdx-bullet "1.5.3"] + [com.badlogicgames.gdx/gdx-bullet-platform "1.5.3" :classifier "natives-desktop"] - [com.badlogicgames.gdx/gdx-platform "1.5.0" + [com.badlogicgames.gdx/gdx-platform "1.5.3" :classifier "natives-desktop"] [org.clojure/clojure "1.6.0"] - [play-clj "0.4.3"]] + [play-clj "0.4.4"]] :source-paths ["src" "src-common"] :javac-options ["-target" "1.6" "-source" "1.6" "-Xlint:-options"] diff --git a/template/src/leiningen/new/play_clj/ios-project.clj b/template/src/leiningen/new/play_clj/ios-project.clj index a1d7718..3b16acb 100644 --- a/template/src/leiningen/new/play_clj/ios-project.clj +++ b/template/src/leiningen/new/play_clj/ios-project.clj @@ -1,11 +1,11 @@ (defproject {{app-name}} "0.0.1-SNAPSHOT" :description "FIXME: write description" - :dependencies [[com.badlogicgames.gdx/gdx "1.5.0"] - [com.badlogicgames.gdx/gdx-backend-robovm "1.5.0"] - [com.badlogicgames.gdx/gdx-box2d "1.5.0"] - [com.badlogicgames.gdx/gdx-bullet "1.5.0"] + :dependencies [[com.badlogicgames.gdx/gdx "1.5.3"] + [com.badlogicgames.gdx/gdx-backend-robovm "1.5.3"] + [com.badlogicgames.gdx/gdx-box2d "1.5.3"] + [com.badlogicgames.gdx/gdx-bullet "1.5.3"] [org.clojure/clojure "1.6.0"] - [play-clj "0.4.3"]] + [play-clj "0.4.4"]] :source-paths ["src/clojure" "../desktop/src-common"] :java-source-paths ["src/java"] :javac-options ["-target" "1.7" "-source" "1.7" "-Xlint:-options"]