Commit Graph

23 Commits

Author SHA1 Message Date
Enno Rehling c39bbed2b5 lighthouses protect from drifting
do not check for maintenance in update_lighthouse, but when the lighthouse is used.
2020-12-06 15:47:47 +01:00
Enno Rehling 35c6f30511 umlaut substitutions 2019-02-08 11:37:32 +01:00
Enno Rehling af91459fb1 add some variety to familiar selection.
effskill: use NULL, not 0 for pointer arguments.
2019-02-02 20:38:02 +01:00
Enno Rehling a373807189 move attrib and event modules to kernel 2018-09-29 11:37:17 +02:00
Enno Rehling 2282160916 separate lighthouse_view_distance from lighthouse_range. 2018-07-18 20:49:17 +02:00
Enno Rehling 7b7d3cb759 test: lighhouse size reduction reduces effectiveness 2018-07-17 21:34:22 +02:00
Enno Rehling fc80e4b83e BUG 2462: Leuchtturm meldet keine Landregionen, beschützt Schiffe erst ab Größe 10. 2018-07-17 20:53:34 +02:00
Enno Rehling e4859e68c9 do not use MIN and MAX. 2018-01-01 08:23:52 +01: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 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