Enno Rehling
|
5dabd19504
|
add tests for visible_unit, remove unused cansee_ex
|
2017-12-23 17:49:30 +01:00 |
|
Enno Rehling
|
6bd4e543ba
|
BUG 2395: lighthouses were seeing units they should not.
DRY!
|
2017-12-23 17:37:24 +01:00 |
|
Enno Rehling
|
cba452786f
|
BUG 2396: insect recruit messages fixed, and tests added.
|
2017-12-22 11:15:17 +01:00 |
|
Enno Rehling
|
1b53128e1a
|
BUG 2366: Fix cansee for seen_spell regions.
|
2017-10-10 20:24:20 +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
|
0379a17350
|
make report_resource return an rtype, not a name.
|
2017-03-05 17:42:57 +01:00 |
|
Enno Rehling
|
e0085eac0c
|
write a test for get_addresses before modifying it.
|
2017-03-01 19:52:23 +01:00 |
|
Enno Rehling
|
ee88c13732
|
Korrekte Email-Subject und Adresse, auch im NR.
Eliminate crufty per-game strings.
|
2017-01-26 18:06:48 +01:00 |
|
Enno Rehling
|
7b25ed282d
|
more stbool.h includes, MSVC has no unlink
|
2017-01-26 18:05:26 +01:00 |
|
Enno Rehling
|
a4badc0a75
|
remove quicklist shim, use selist everywhere
|
2017-01-26 17:41:21 +01:00 |
|
Enno Rehling
|
cbb18edb8f
|
declutter config.h, use it sparingly.
|
2016-11-17 10:38:09 +01:00 |
|
Enno Rehling
|
c755c1d69e
|
for short lighthouse ranges, don't use lists.
|
2016-09-23 19:51:33 +02:00 |
|
Enno Rehling
|
a3ad9a0222
|
I am now calling get_race far too often. Fix this a bit.
|
2016-09-20 20:27:41 +02:00 |
|
Enno Rehling
|
0753ea0174
|
fix travelthru reporting (passes unit test)
|
2016-09-17 08:28:33 +02:00 |
|
Enno Rehling
|
d449ce4a8c
|
re-enable report writing, fix report.c to work without seen_region
|
2016-09-16 18:03:28 +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
|
71fa3600f7
|
recalculate [first,last) after lighthouses aand trvelthru
|
2016-09-13 09:09:35 +02:00 |
|
Enno Rehling
|
a67950433d
|
WIP: prepare_seen vs lastregion/firstregion.
lighthouses and travelthru are handled by both, should only be in prepare_seen?
|
2016-09-12 22:03:16 +02:00 |
|
Enno Rehling
|
dda845e2f4
|
free configuration data (valgrind calls it still-reachable leaks).
|
2016-09-07 20:46:41 +02:00 |
|
Enno Rehling
|
40d9ebfa94
|
reduce code duplication: itemcloak code was copied between NR and CR.
|
2016-08-29 19:37:47 +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 |
|
Enno Rehling
|
e3572ef14e
|
eliminate deprecated call
|
2015-10-27 12:40:04 +01:00 |
|
Enno Rehling
|
e23a7fc87d
|
deprecate report_kampfstatus and implement a replacement function.
|
2015-10-27 12:40:04 +01:00 |
|
Enno Rehling
|
3eabf082ac
|
refactor prepare_report to extract prepare_seen, because we assume the bug is in there.
add a failing test for it to prove that bug is in here.
|
2015-09-09 09:04:59 +02:00 |
|
Enno Rehling
|
1fbbba564b
|
add a unit test for the problem that fails (test_seen_interval_forward)
|
2015-09-08 16:28:47 +02:00 |
|
Enno Rehling
|
9312b44f8e
|
move seen_region logic to a separate seen.[hc] module for testing.
currently failing test:
1) Failure (tests.report.test_lighthouse):
./scripts/tests/common.lua:1051: true expected but was false
|
2015-09-08 09:56:56 +02:00 |
|
Enno Rehling
|
d64948f0fc
|
eliminate duplicate call to link_seen (and report_context.seen)
|
2015-09-07 19:48:53 +02:00 |
|
Enno Rehling
|
a9ecd1f55e
|
replace all at_travelunit code with travelthru_map calls.
welcome to callback hell.
this should stop the buffer for travelthru from running over.
tests for this should be hell, and I still owe writing them.
|
2015-08-19 14:37:51 +02:00 |
|
Enno Rehling
|
e9b1d6a0ae
|
fix gcc warning
|
2015-08-05 15:42:22 +02:00 |
|
Enno Rehling
|
8dc4e93e90
|
fix missing units from CR, add a test, partially convert from FILE* to stream
|
2015-08-05 14:45:46 +02:00 |
|
Enno Rehling
|
465dcf4e1c
|
bugfix sparagraph (github issue #199).
adding tests.
|
2015-05-20 18:05:25 +02:00 |
|
Enno Rehling
|
c5a6f5bd03
|
fix -Wconversion in reports.c, json.c
|
2015-05-15 11:19:26 +02:00 |
|
Enno Rehling
|
9664f2b191
|
Implement an optional JSON report writer. Currently writes readable maps for Tiled.
|
2015-03-29 14:03:56 +02:00 |
|
Enno Rehling
|
c54cbfd472
|
fix copyright notice
|
2015-01-30 22:10:29 +01:00 |
|
Enno Rehling
|
abca25d1d5
|
fix indentation in every file
fix copyright date
remove vi ts=2 code
remove a couple of superfluous extern declarations
|
2015-01-30 20:37:14 +01:00 |
|
Enno Rehling
|
1050daac19
|
remove strlist from config.c, move it to reports.c (where it is used primarily).
this is not the best data structure there is, should replace it some day.
|
2014-12-17 17:40:36 +01:00 |
|
Enno Rehling
|
1af315ebf2
|
move magic out of kernel, into src.
clean up/remove a ton of includes, especially of types.h (include in header if you need it, not in every .c file).
|
2014-11-01 12:57:01 +01:00 |
|
Enno Rehling
|
a9a0455207
|
reorganized directory structure.
flattening the directory structure, moving some modules to the src/ directory.
making stealth a separate file, under test.
more tests for some stuff.
|
2014-08-27 06:40:35 +02:00 |
|