Commit graph

90 commits

Author SHA1 Message Date
simon 3c26408a9f Dememoised get-neighbours, as the optimisation only works in deep
recursion which I'm no longer doing.
2015-04-21 07:56:22 +01:00
Simon Brooke 5f73b18d12 Tests now pass again. Oooops. 2015-04-18 21:53:09 +01:00
Simon Brooke f9591c4e8d Added new non-recursive river drainage algorithm. Sadly, it's slower -
twice as slow - but should get around the JVM stack problem. Still haven't
solved laking.
2015-04-18 19:21:04 +01:00
Simon Brooke f9c437d8d3 Unit tests for drainage functions. 2015-04-13 20:54:41 +01:00
Simon Brooke 337d1ae07e Further work on the Falls of Clyde problem, and on optimisation. 2015-04-13 20:36:24 +01:00
Simon Brooke 1c8d8c4219 Added merge-cell, and tests for it. Still trying to solve the Falls of Clyde
problem
2015-04-12 19:34:19 +01:00
Simon Brooke 6b3f8730a6 Merge branch 'master' of ssh://goldsmith.journeyman.cc/srv/git/mw-engine 2015-04-11 09:30:44 +01:00
simon bb379f7195 Merge branch 'master' of ssh://goldsmith.journeyman.cc/srv/git/mw-engine 2015-04-10 19:56:20 +01:00
simon 2dbc1cecc5 A possible - untested - solution to the local hollow problem. 2015-04-10 19:55:09 +01:00
Simon Brooke d52b563f92 Added link to Goldsmith in README. 2015-03-28 19:31:28 +00:00
Simon Brooke dce1b603a3 D'oh! Messed up the formatting of markdown links. 2015-03-28 17:27:47 +00:00
Simon Brooke b007807b29 Added more to README to make it easier for other people to build this. 2015-03-28 16:54:50 +00:00
Simon Brooke 260c1a78c2 Merge branch 'master' of https://github.com/simon-brooke/mw-engine
Conflicts:
	LICENSE
2015-03-28 16:52:41 +00:00
Simon Brooke ebbc9fcdbb Merge branch 'master' of ssh://goldsmith.journeyman.cc/srv/git/mw-engine 2015-03-28 16:45:41 +00:00
Simon Brooke ce6212a965 Modifications to README.md and buildall.sh to make this easier for other
people to build.
2015-03-28 16:43:11 +00:00
Simon Brooke 5c6fbb5b08 Initial commit 2015-03-28 16:24:24 +00:00
simon fd817f2582 Minor optimisation 2014-10-20 17:01:40 +01:00
Simon Brooke f06febd7c6 Work on improving efficiency of mapping over arrays. 2014-10-18 15:50:31 +01:00
Simon Brooke cd6b4ae10c Upversioned from 0.1.4 to 0.1.5-SNAPSHOT 2014-10-15 22:17:53 +01:00
Simon Brooke 901541b499 Upversioned from 0.1.4-SNAPSHOT to 0.1.4 for release 2014-10-15 22:17:29 +01:00
Simon Brooke 8dd4d11dc6 Upversioned from 0.1.4 to 0.1.4-SNAPSHOT 2014-10-15 22:10:41 +01:00
Simon Brooke 8cbdd9d1a7 Upversioned from 0.1.4-SNAPSHOT to 0.1.4 for release 2014-10-15 22:08:12 +01:00
Simon Brooke 9912f264fa Some tentative attempts at optimisation. This, actually, makes no
difference in itself - because the world is immutable, this change
won't work without a different mechanism for generating the world
itself.
2014-09-06 11:41:09 +01:00
simon 42e6cfac05 Working on getting drainage to actually work - which, inter alia, means
further work on efficiency.
2014-08-30 21:58:48 +01:00
simon dffa617a38 Upversioned from 0.1.3 to 0.1.4-SNAPSHOT 2014-08-30 14:58:41 +01:00
simon cd5fc76a55 Upversioned from 0.1.3-SNAPSHOT to 0.1.3 for release 2014-08-30 14:58:13 +01:00
simon 7943765686 Upversioned from 0.1.3 to 0.1.3-SNAPSHOT 2014-08-30 14:51:55 +01:00
simon 92e44d327f Upversioned from 0.1.3-SNAPSHOT to 0.1.3 for release 2014-08-30 14:51:25 +01:00
simon d320d90114 Increased memory limit, in attempt to process larger worlds - may be too much. 2014-08-30 14:33:13 +01:00
Simon Brooke c96142a973 More work on efficiency 2014-08-29 22:50:11 +01:00
Simon Brooke 1120cb42e8 Work on trying to improve performance. 2014-08-28 21:43:36 +01:00
simon 2bf9d34794 Found a serious fault in display.clj because marginalia picked it up.
Hadn't been picked up otherwise because

(1) I hadn't written any unit tests for it, and
(2) it isn't actually used by anything.

Should possibly be deleted.
2014-08-16 21:50:18 +01:00
simon 6fd8e4bb13 Added a 'pull' option to buildall, pull from remote Git origin. 2014-08-16 07:54:38 +01:00
Simon Brooke 1030ece3ff Kibitised, and improved test coverage. Cloverage currently failing, don't
know why.
2014-08-13 20:02:37 +01:00
simon 3b1d28d3cd Generalised hieghtmaps so that I can do, for example, rainfall maps,
or various geophysics maps.
2014-08-12 19:07:48 +01:00
simon 64ab0b9dd9 Moved some display stuff from ui to engine. Not certain this was the right
decision...
2014-08-10 18:31:31 +01:00
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 b3b7f8a475 Upversioned from 0.1.2 to 0.1.3-SNAPSHOT 2014-07-30 13:10:24 +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 c0d26f7cc7 Getting the right data into the manifest; sadly, not succeeding in getting
it out again.
2014-07-27 21:05:47 +01:00
Simon Brooke 829bc1780a Upversioned from 0.1.2 to 0.1.3-SNAPSHOT 2014-07-27 14:13:12 +01:00
Simon Brooke a32acb288b Upversioned from 0.1.2-SNAPSHOT to 0.1.2 for release 2014-07-27 14:12:35 +01:00
Simon Brooke 0e140a4666 Correctly getting the build signature properties into the MANIFEST.MF
on build, now testing I'm clearing them down again before commit.
2014-07-27 11:58:29 +01:00
Simon Brooke 5d3f79567b Still working on those damned build signature properties! 2014-07-27 11:29:05 +01:00
Simon Brooke b500d90719 Still working on getting the build signature properties into the manifest. 2014-07-27 11:20:20 +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