Commit graph

51 commits

Author SHA1 Message Date
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
c0d26f7cc7 Getting the right data into the manifest; sadly, not succeeding in getting
it out again.
2014-07-27 21:05:47 +01:00
829bc1780a Upversioned from 0.1.2 to 0.1.3-SNAPSHOT 2014-07-27 14:13:12 +01:00
a32acb288b Upversioned from 0.1.2-SNAPSHOT to 0.1.2 for release 2014-07-27 14:12:35 +01:00
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
5d3f79567b Still working on those damned build signature properties! 2014-07-27 11:29:05 +01:00
b500d90719 Still working on getting the build signature properties into the manifest. 2014-07-27 11:20:20 +01:00
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
75475ece29 Considerable refactoring based on the new map-world utility function. 2014-07-25 11:49:50 +01:00
4949e30f69 Spelling error :-( 2014-07-25 09:57:04 +01:00
bdd707c4fa Oops! Last commit was premature... 2014-07-25 09:54:21 +01:00
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
8e38dc5f87 Actually not sure at this moment what this change was, but tests pass... 2014-07-24 22:31:11 +01:00
fb14a8d3ea Upversioned from 0.1.1 to 0.1.2-SNAPSHOT 2014-07-24 22:24:17 +01:00
238924e059 Upversioned from 0.1.1-SNAPSHOT to 0.1.1 for release 2014-07-24 22:23:47 +01:00
1451be891e Upversioned from 0.1.0 to 0.1.1-SNAPSHOT 2014-07-24 22:17:48 +01:00
56a0f15aec Upversioned from 0.1.0 to 0.1.1-SNAPSHOT 2014-07-24 22:00:51 +01:00
cc3048a57d Still fighting with the build script; but for the first time it has
correctly up-versioned for the release.
2014-07-24 21:59:51 +01:00
015ef8b4f9 Still messing with the build/release script 2014-07-24 21:30:48 +01:00
f53c754ac8 Still getting the build/release script right! 2014-07-24 21:10:45 +01:00
31743f4117 Added the build script to the mw-engine project, just so it's saved. 2014-07-24 20:40:18 +01:00
2d7098458a Added a utility function to set just one property of just one cell (and
tests to prove it worked).
2014-07-24 18:39:48 +01:00
ba9f32ca56 Minor documentation changes 2014-07-24 08:01:43 +01:00
8a53adcd11 More optimisation 2014-07-22 02:40:17 +01:00
87198076bc Vectors instead of lists in the world representation results in a
remarkable performance increase!
2014-07-21 14:34:01 +01:00
06de5d923a Very minor tidy-up 2014-07-21 11:02:31 +01:00
3491784282 Rule engine now running very relaibly with no errors showing. 2014-07-20 15:14:10 +01:00
d23239a5c6 Improved debugging, and lots more tests. Ultimately I intend the
enhanced debugging to be optional, because it will have a performance hit
2014-07-19 13:22:38 +01:00
24d76dff2c Minor formatting change 2014-07-18 15:14:24 +01:00
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
601c7d74a6 Still some bugs in rules generated from rule-language source. However,
a great deal does work.
2014-07-14 23:21:09 +01:00
76ab08534c Almost working; rule editor doesn't save. 2014-07-13 23:55:18 +01:00
5bfddf2e28 Much hacking on rule language, getting it to support initial behaviour. 2014-07-13 20:25:48 +01:00
b640e2590a Changed license to GPL; some minor documentation changes. 2014-07-13 14:07:10 +01:00
57a86ca6c3 Mainly documentation tidy-up, a little code tidy-up. 2014-07-08 19:15:07 +01:00
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
1682050fbd Still hacking rules 2014-07-04 11:03:39 +01:00
9b52b7229b Minor hacks trying to understand why some rules aren't working as expected. 2014-07-04 11:01:08 +01:00
ac92181ab3 And another one introduced... and fixed. 2014-07-04 09:46:13 +01:00
8593289a7b Bug fixed! 2014-07-04 09:33:46 +01:00
6320b3e5b0 There's a null pointer exception that currently occurs when a rule maps
onto neighbours, e.g.:
	(map #(population % :deer) (get-neighbours world cell))
I've worked around it for now by commenting out the rules which do this,
but the bug is in get-neighbours and should be fixed there.
2014-07-04 09:10:58 +01:00
8a00e5c0da A great deal of change, mainly tidy-up and documentation, but also
added reading heightmaps.
2014-07-03 20:17:24 +01:00
580ebb0e8e Separated herbivore rule from predator rules so they can be added
separately.
2014-07-02 23:02:39 +01:00
19db0e0673 Worked out why the wolves weren't working... 2014-07-02 23:00:23 +01:00
9ad67ba0a4 Small changes necessitated by reference from mw-ui. 2014-07-02 17:58:34 +01:00
37fad409ba Separated the formatting of a cell out into a first class function. 2014-07-01 12:00:58 +01:00
b9bc270bdb Added a set of rules which attempt to model natural processes in the
environment.
2014-07-01 11:38:18 +01:00
0dc6aab59d Minor changes 2014-06-30 22:37:37 +01:00
977947d4b0 Now runs rather nicely, although output could be tidied up a bit! 2014-06-30 12:14:58 +01:00
7bfefe95ab World now building correctly, and a simple printout function allows
a world to be inspected.
2014-06-30 10:13:04 +01:00