Update to libGDX 1.5.0

This commit is contained in:
oakes
2014-12-15 13:22:20 -05:00
parent 5b874400d4
commit bfaa4c9cc1
18 changed files with 25 additions and 25 deletions

View File

@@ -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.4.1"]
[com.badlogicgames.gdx/gdx-box2d "1.4.1"]
[com.badlogicgames.gdx/gdx-bullet "1.4.1"]
:dependencies [[com.badlogicgames.gdx/gdx "1.5.0"]
[com.badlogicgames.gdx/gdx-box2d "1.5.0"]
[com.badlogicgames.gdx/gdx-bullet "1.5.0"]
[org.clojure/clojure "1.6.0"]]
:repositories [["sonatype"
"https://oss.sonatype.org/content/repositories/releases/"]]

View File

@@ -478,7 +478,7 @@ with the tiled map file at `path` and `unit` scale.
(defmethod draw! BatchTiledMapRenderer
[{:keys [^BatchTiledMapRenderer renderer] :as screen} entities]
(let [^Batch batch (.getSpriteBatch renderer)]
(let [^Batch batch (.getBatch renderer)]
(.begin batch)
(doseq [entity entities]
(e/draw! entity screen batch))
@@ -608,7 +608,7 @@ to overlap correctly with the entities.
(when-not (get-in screen [:layers ln])
(update-fn! assoc-in [:layers ln] (split-layer screen ln))))
(when camera (.setView renderer camera))
(let [^Batch batch (.getSpriteBatch renderer)]
(let [^Batch batch (.getBatch renderer)]
(.begin batch)
(doseq [entity (->> (map #(get-in screen [:layers %]) layer-names)
(apply concat entities)

View File

@@ -1,8 +1,8 @@
(defproject play-clj/lein-template "0.4.2.1"
(defproject play-clj/lein-template "0.4.3-SNAPSHOT"
: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-beta3"]]
:dependencies [[lein-droid "0.3.0-beta4"]]
:resource-paths ["resources"]
:eval-in-leiningen true)

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1,13 +1,13 @@
(defproject {{app-name}} "0.0.1-SNAPSHOT"
:description "FIXME: write description"
:dependencies [[com.badlogicgames.gdx/gdx "1.4.1" :use-resources true]
[com.badlogicgames.gdx/gdx-backend-android "1.4.1"]
[com.badlogicgames.gdx/gdx-box2d "1.4.1"]
[com.badlogicgames.gdx/gdx-bullet "1.4.1"]
: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"]
[neko/neko "3.0.2"]
[org.clojure-android/clojure "1.6.0-RC1" :use-resources true]
[play-clj "0.4.2"]]
[play-clj "0.4.3-SNAPSHOT"]]
:profiles {:dev {:dependencies [[android/tools.nrepl "0.2.0-bigstack"]
[compliment "0.1.4"]]
:android {:aot :all-with-unused}}

View File

@@ -1,18 +1,18 @@
(defproject {{app-name}} "0.0.1-SNAPSHOT"
:description "FIXME: write description"
:dependencies [[com.badlogicgames.gdx/gdx "1.4.1"]
[com.badlogicgames.gdx/gdx-backend-lwjgl "1.4.1"]
[com.badlogicgames.gdx/gdx-box2d "1.4.1"]
[com.badlogicgames.gdx/gdx-box2d-platform "1.4.1"
: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"
:classifier "natives-desktop"]
[com.badlogicgames.gdx/gdx-bullet "1.4.1"]
[com.badlogicgames.gdx/gdx-bullet-platform "1.4.1"
[com.badlogicgames.gdx/gdx-bullet "1.5.0"]
[com.badlogicgames.gdx/gdx-bullet-platform "1.5.0"
:classifier "natives-desktop"]
[com.badlogicgames.gdx/gdx-platform "1.4.1"
[com.badlogicgames.gdx/gdx-platform "1.5.0"
:classifier "natives-desktop"]
[org.clojure/clojure "1.6.0"]
[play-clj "0.4.2"]]
[play-clj "0.4.3-SNAPSHOT"]]
:source-paths ["src" "src-common"]
:javac-options ["-target" "1.6" "-source" "1.6" "-Xlint:-options"]

View File

@@ -1,11 +1,11 @@
(defproject {{app-name}} "0.0.1-SNAPSHOT"
:description "FIXME: write description"
:dependencies [[com.badlogicgames.gdx/gdx "1.4.1"]
[com.badlogicgames.gdx/gdx-backend-robovm "1.4.1"]
[com.badlogicgames.gdx/gdx-box2d "1.4.1"]
[com.badlogicgames.gdx/gdx-bullet "1.4.1"]
: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"]
[org.clojure/clojure "1.6.0"]
[play-clj "0.4.2"]]
[play-clj "0.4.3-SNAPSHOT"]]
:source-paths ["src/clojure" "../desktop/src-common"]
:java-source-paths ["src/java"]
:javac-options ["-target" "1.7" "-source" "1.7" "-Xlint:-options"]