Commit Graph

14 Commits

Author SHA1 Message Date
Enno Rehling 8b7dae6977 kill autoconf.h, replace platform.h for C99 compatibility work 2017-01-10 16:31:05 +01:00
Enno Rehling ddc7707cde add a failing test for bug 2266 2016-12-16 17:16:10 +01:00
Enno Rehling 531da88b2a squash some static analysis warnings. 2016-11-19 15:19:23 +01:00
Enno Rehling fb470b7af1 re-organize lighthouse reporting. 2016-10-05 20:36:01 +02:00
Enno Rehling ac8332c896 re-enable report tests.
RF_LIGHTHOUSE also flags for lighthouses with size 0.
2016-09-18 10:24:08 +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 adfafd51a6 test lighthouses 2016-09-17 12:34:02 +02:00
Enno Rehling 5dc9ccb03e do not call log10(0) for new lighthouses.
some tests for LEARN MAGIC.
2016-09-11 11:02:04 +02:00
Enno Rehling d9e541843b further reduce number of bt_find calls. 2016-08-30 09:36:09 +01:00
Enno Rehling 5bb9a10a46 is_building_type should be a quicker way to test for a building type than bt_find. 2016-08-30 09:13:59 +01:00
Enno Rehling a42bd9c3bf remove the BLD_WORKING flag.
it's all about BLD_MAINTAINED now.
fix region.blocked (Lua property).
2016-08-21 20:12:28 +02:00
Enno Rehling de808bf146 change effskill signature to take a region, change eff_skill to work on a skill * to avoid multiple lookups. 2015-08-27 16:16:55 +02:00
Enno Rehling 23b8f2bc8a call init_locales after parse_json from Lua, downgrade missing string warnings during that to DEBUG (because it's quite common not to have them).
also, these int to bool conversion warnings made a good point, even if I could not reproduce them.
2015-01-08 20:55:29 +01:00
Enno Rehling 8971f59ecc move more things out of config.c.
- lighthouses into their own module.
- lastregion/firstregion into reports.c.
2014-12-17 17:22:26 +01:00