Commit graph

12 commits

Author SHA1 Message Date
simon 1300e8d103 Added a new file drainage.clj which attempts to model rivers; moved
some functions from heightmap into utils; added a -archive option to
buildall as first step towards auto-building a Debian package for
Raspberry Pi.
2014-07-31 23:43:02 +01:00
Simon Brooke 7c5e15ca35 Upversioned from 0.1.2-SNAPSHOT to 0.1.2 for release 2014-07-30 13:09:44 +01:00
Simon Brooke cd99f8fd0b Gone back (hopefully temporarily) to using collage load-image function
while I try to sort out the resources issue. This isn't very satisfactory,
as the collage distribution is compiled using Java 7, which is going to
break for some people, and because I'm bloating my code with two separate
image libraries.
2014-07-30 12:33:45 +01:00
Simon Brooke 0652a9ba61 Serious work on the buildall script (and project.clj) to capture a
build signature in the MANIFEST.MF file; also, getting rid of dependency
on collage.
2014-07-27 09:40:06 +01:00
Simon Brooke 75475ece29 Considerable refactoring based on the new map-world utility function. 2014-07-25 11:49:50 +01:00
Simon Brooke 4949e30f69 Spelling error :-( 2014-07-25 09:57:04 +01:00
Simon Brooke bdd707c4fa Oops! Last commit was premature... 2014-07-25 09:54:21 +01:00
Simon Brooke e48ad3f891 Added a function to add gradient properties to cells when applying a
heightmap, and, in doing so, added a potentially useful generalised function
for mapping onto two dimensional arrays. Needs testing!
2014-07-25 09:49:44 +01:00
Simon Brooke 6ac4f55ed5 Added functionality to heightmap to allow a word to be created the size of
the supplied heightmap - after all, that's what we will normally want.
2014-07-17 09:50:22 +01:00
Simon Brooke 57a86ca6c3 Mainly documentation tidy-up, a little code tidy-up. 2014-07-08 19:15:07 +01:00
Simon Brooke 1c0f6079d9 Fixed so that the dummy test passes. Obviously, it would have been better
to write real tests...
2014-07-07 19:35:46 +01:00
simon 8a00e5c0da A great deal of change, mainly tidy-up and documentation, but also
added reading heightmaps.
2014-07-03 20:17:24 +01:00