Minor change to render-world towards allowing heightmaps to be selected.
This commit is contained in:
parent
b666540ac9
commit
dc4581924f
4 changed files with 35 additions and 21 deletions
|
|
@ -41,8 +41,9 @@
|
|||
(let [world (or (session/get :world)
|
||||
(engine/transform-world
|
||||
(heightmap/apply-heightmap
|
||||
(world/make-world 20 20)
|
||||
"resources/public/img/20x20/hill.png")
|
||||
;;"resources/public/img/20x20/hill.png"
|
||||
"resources/public/img/heightmaps/great_britain_and_ireland_small.png"
|
||||
)
|
||||
rules/init-rules))
|
||||
rules (or (session/get :rules)
|
||||
(do (session/put! :rules (compiler/compile-file "resources/rulesets/basic.txt"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue