lots of tweaks for versioning and extracting script.
This commit is contained in:
@@ -164,7 +164,7 @@
|
||||
{:run #(actions/respond entities % :ladder-guard "I am Took, son of Luke, son of Puke.")
|
||||
:choices actions/previous-choices}
|
||||
"Goodbye."
|
||||
{:run #(actions/respond entities % "Goodbye.")}]}))
|
||||
{:run #(actions/respond entities % :ladder-guard "Goodbye.")}]}))
|
||||
|
||||
(defn make [screen]
|
||||
(let [#_#_warriors-stand-sheet (texture! (utils/get-texture "inside-cafeteria/warriors-stand.png") :split 66 126)
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
[advent.screens.inventory :as inventory]
|
||||
[advent.screens.safe :as safe]
|
||||
[advent.screens.fade :as fade]
|
||||
[advent.version]
|
||||
)
|
||||
(:import [com.badlogic.gdx.graphics Pixmap Pixmap$Filter Texture Texture$TextureFilter]
|
||||
[com.badlogic.gdx.graphics.g2d TextureRegion]
|
||||
@@ -253,7 +254,7 @@
|
||||
:font font
|
||||
:music music
|
||||
:volume 1.0
|
||||
:copyright (make-label "DEMO - Copyright Bryce Covert - Not for distribution")
|
||||
:copyright (make-label (str "DEMO - Copyright Bryce Covert - Not for distribution - version " (advent.version/version)))
|
||||
:tweens {:fade-in (tween/tween :fade-in screen [:fade :opacity] 1.0 0.0 1.0
|
||||
:finish #(do
|
||||
|
||||
|
||||
5
desktop/src-common/advent/version.clj
Normal file
5
desktop/src-common/advent/version.clj
Normal file
@@ -0,0 +1,5 @@
|
||||
(ns advent.version
|
||||
(:gen-class))
|
||||
|
||||
(defn version []
|
||||
(-> (eval 'advent.version) .getPackage .getImplementationVersion))
|
||||
Reference in New Issue
Block a user