comparison org/world.org @ 315:a48a75e5876c

starting upgrade to clojure 1.4
author Robert McIntyre <rlm@mit.edu>
date Tue, 28 Feb 2012 13:32:44 -0600
parents 7e7f8d6d9ec5
children bb3f8a4af87f
comparison
equal deleted inserted replaced
314:83dd76d9628e 315:a48a75e5876c
79 ** General Settings 79 ** General Settings
80 #+name: settings 80 #+name: settings
81 #+begin_src clojure 81 #+begin_src clojure
82 (in-ns 'cortex.world) 82 (in-ns 'cortex.world)
83 83
84 (defvar *app-settings* 84 (def ^:dynamic *app-settings*
85 "These settings control how the game is displayed on the screen for
86 debugging purposes. Use binding forms to change this if desired.
87 Full-screen mode does not work on some computers."
85 (doto (AppSettings. true) 88 (doto (AppSettings. true)
86 (.setFullscreen false) 89 (.setFullscreen false)
87 (.setTitle "Aurellem.") 90 (.setTitle "Aurellem.")
88 ;; The "Send" AudioRenderer supports simulated hearing. 91 ;; The "Send" AudioRenderer supports simulated hearing.
89 (.setAudioRenderer "Send")) 92 (.setAudioRenderer "Send")))
90 "These settings control how the game is displayed on the screen for
91 debugging purposes. Use binding forms to change this if desired.
92 Full-screen mode does not work on some computers.")
93 93
94 (defn asset-manager 94 (defn asset-manager
95 "returns a new, configured assetManager" [] 95 "returns a new, configured assetManager" []
96 (JmeSystem/newAssetManager 96 (JmeSystem/newAssetManager
97 (.getResource 97 (.getResource