Commit Graph

79 Commits

Author SHA1 Message Date
Enno Rehling aa2c13cffa gcc ist pingelig 2017-07-17 17:22:01 +02:00
Enno Rehling 233ea9dce4 BUG 2337: lighthouse capacity is # of units, not people. 2017-07-17 17:08:27 +02:00
Enno Rehling 30cfe2c0c0 convert RC_SPELL to at_observer during readgame. 2017-05-24 08:18:55 +02:00
Enno Rehling 1bb022ef58 Merge branch 'feature/refactor-rcspell' of https://github.com/ennorehling/eressea.git 2017-05-22 21:16:34 +02:00
Enno Rehling 17ed46e6a8 fix test 2017-05-22 19:50:18 +02:00
Enno Rehling 0755830754 fix compilation, test still fails 2017-05-21 23:47:54 +02:00
Enno Rehling abb7c9fb17 Merge branch 'kill-rcspell' into feature/refactor-rcspell
Conflicts:
	src/kernel/config.h
	src/main.c
	src/report.c
	src/reports.c
	src/reports.test.c
	src/spells.c
2017-05-21 21:33:29 +02:00
Enno Rehling c49786d713 fix some memory leaks 2017-03-30 23:13:55 +02:00
Enno Rehling 783bba0467 Merge pull request #672 from ennorehling/lighthouse-speedup
lighthouses speedup
2017-03-11 16:17:37 +01:00
Enno Rehling 3f562e7fc9 Merge branch 'develop' into lighthouse-speedup
Conflicts:
	src/reports.c
	src/reports.test.c
2017-03-11 16:08:14 +01:00
Enno Rehling cdf13c9fec stop using test_create_world, use test_setup. 2017-03-11 14:22:21 +01:00
Enno Rehling f54165d4f1 BUG 2309: show true faction to allies.
https://bugs.eressea.de/view.php?id=2309
2017-03-08 20:30:32 +01:00
Enno Rehling 77abd703bd backfill test that demonstrates bug 2305. 2017-03-08 20:16:01 +01:00
Enno Rehling 517da2dff1 breaking test for bug 2309 2017-03-08 18:15:31 +01:00
Enno Rehling 7f03417c37 bug 2286: fix missing addresses.
was using cansee_unit wrong, mixed up traveler (ut) and target (u).
2017-03-01 21:10:50 +01:00
Enno Rehling 98447668ca fix bad tests, upgrade clibs. 2017-03-01 20:37:49 +01:00
Enno Rehling 83a862d557 add a failing test for bug 2286 2017-03-01 19:54:52 +01:00
Enno Rehling e0085eac0c write a test for get_addresses before modifying it. 2017-03-01 19:52:23 +01:00
Enno Rehling 98be6bb8ae eliminate duplicate password message 2017-01-26 18:06:48 +01:00
Enno Rehling 48ae12b629 emit a password message for newbie factions 2017-01-26 18:06:16 +01:00
Enno Rehling a4badc0a75 remove quicklist shim, use selist everywhere 2017-01-26 17:41:21 +01:00
Enno Rehling e52cf75c59 remove autoconf.h from platform.h, fix lots of includes 2016-11-25 20:15:11 +01:00
Enno Rehling fb470b7af1 re-organize lighthouse reporting. 2016-10-05 20:36:01 +02:00
Enno Rehling 15702daf99 Add a new attribute and RF_OBSERVER flag. 2016-09-25 13:01:51 +02:00
Enno Rehling 4353773c3b far_vision test uses watch_region, checkes faction.interval 2016-09-24 21:09:15 +02:00
Enno Rehling 87873702ca eliminate RS_FARVISION enum, there is no other kind of RC_SPELL. 2016-09-24 20:31:31 +02:00
Enno Rehling 9eb376e0e5 clumsy repair of duplicate regions for range >= 2 (RF_MARK) 2016-09-24 11:20:33 +02:00
Enno Rehling c755c1d69e for short lighthouse ranges, don't use lists. 2016-09-23 19:51:33 +02:00
Enno Rehling 69b420ae2f separate interval generation from seen-markup a bit more. 2016-09-20 15:53:55 +02:00
Enno Rehling ec9d8eab1c fix marking seen_neighbour regions.
fix reports-tests that didn't think about them.
2016-09-18 13:27:25 +02:00
Enno Rehling 63a97d6bc0 check that regions are flagged with seen_neighbour where needed. 2016-09-18 13:13:07 +02:00
Enno Rehling b41f041d52 Merge branch 'develop' into kill-seen-region
Conflicts:
	src/reports.c
	src/reports.test.c
2016-09-17 15:56:32 +02:00
Enno Rehling c4dbb69681 previous test was bad and did not actually exercise prepare_lighthouse.
made a slighlty better test, which is failing for the right reasons.
2016-09-17 15:29:28 +02:00
Enno Rehling 1ca67a57d2 add a new test for lighthouse capacity.
https://bugs.eressea.de/view.php?id=2237
2016-09-17 14:54:39 +02:00
Enno Rehling 7349ec0aa9 improve lighthouse tests.
you must be inside lighthouse to get a report from it.
2016-09-17 13:20:02 +02:00
Enno Rehling a2125fbb9a managed to reproduce the travelthru bug in a unit test.
travel from other factions inside the [first, last) interval will poison the report.
2016-09-16 21:26:17 +02:00
Enno Rehling a86e30d014 re-enable report testing, find out that it fails. 2016-09-16 21:17:54 +02:00
Enno Rehling 007f4d8b0d test that travelthru notifications will make it into the report. 2016-09-16 17:25:40 +02:00
Enno Rehling 42bfc43e4f test lighthouse preparation 2016-09-15 13:01:08 +02:00
Enno Rehling 2b9e5ffff9 check seen_neighbour 2016-09-15 10:02:49 +02:00
Enno Rehling dfbc520203 add a simple test for prepare_report.
TODO: it is _too_ simple.
2016-09-14 21:46:57 +02:00
Enno Rehling 482e619969 disable reports entirely. 2016-09-13 20:17:59 +02:00
Enno Rehling 4e4b4e482e split off report.test from reports.test
move some tests around
2016-09-13 20:13:26 +02:00
Enno Rehling 648857f52c disable report.c temporarily 2016-09-13 18:52:35 +02:00
Enno Rehling acfb06392a Everything except report.c compiles.
Not that I'm not claiming that it works.
2016-09-13 17:02:51 +02:00
Enno Rehling 20578da0e9 delete the old seen.* files
remove includes for seen.h
remove unused functions
2016-09-13 16:58:48 +02:00
Enno Rehling a281ace21b always create test units inside a region (so they can get destroyed in free_gamedata) 2016-09-08 09:11:17 +02:00
Enno Rehling 4bc8817056 remove a TODO that was ill-advised. The reason that "resources" is a list is that it's built incrementally. 2016-08-29 18:15:20 +01:00
Enno Rehling ef44a4534e add a test for copying resources message arguments.
my plan is to add a new argument type for arrays of resources with fewer allocations.
2016-08-29 17:31:09 +01:00
Enno Rehling 2c5063095d fixed: tests that try to create duplicate spells do not spam stderr. 2016-08-29 14:49:31 +01:00