Commit Graph

7310 Commits

Author SHA1 Message Date
Enno Rehling e3b0dfedc9 race naming functions do more work than before. 2016-08-28 20:27:40 +01:00
Enno Rehling 514565d66b move race_name_func registrations into race.c 2016-08-28 20:02:45 +01:00
Enno Rehling 0f3de70ced refactor to push back the const-ness of generated names. 2016-08-28 19:06:14 +01:00
Enno Rehling d1b6629281 extract counting name particles. 2016-08-28 19:00:04 +01:00
Enno Rehling 0ac30c65a1 refactoring prior to removing static variable 2016-08-28 18:15:00 +01:00
Enno Rehling eb8db3bfb9 test undead name generation. 2016-08-28 18:08:52 +01:00
Enno Rehling 020ab942ec add tests for monster naming functions (existence only). 2016-08-28 17:37:08 +01:00
Enno Rehling 534708d83e add a test for DESTROY <limit> ROAD 2016-08-28 16:51:16 +01:00
Enno Rehling a451d61f23 simplify destroy_cmd parsing. 2016-08-28 16:48:06 +01:00
Enno Rehling 808d51429e test destroy_road message arguments. 2016-08-28 16:44:14 +01:00
Enno Rehling b0400a797d when not skilled enough to destroy a road, don't get a destroy_road message.
test destroy_road message.
2016-08-28 16:31:29 +01:00
Enno Rehling 1cdeab5e06 test destroy_road skill scaling and person scaling. 2016-08-28 16:13:26 +01:00
Enno Rehling 1e04e20671 testing destroy_road by way of destroy_cmd.
two simple cases only.
2016-08-28 14:31:25 +01:00
Enno Rehling cf96013e0b better volcano message testing. 2016-08-28 14:06:57 +01:00
Enno Rehling 3bc2221bfe finish testing the (current) volcano_dead message. 2016-08-28 10:08:41 +01:00
Enno Rehling 9400a05a87 test that two different volcano_dead messages are sent for units in different regions.
new test_find_messagetype_ex helper.
2016-08-28 10:05:34 +01:00
Enno Rehling b56c48d95c verify arguments for volcanooutbreak message. 2016-08-27 08:29:01 +01:00
Enno Rehling 6d5e295678 activate, fix and improve volcano test.
reduce number of terrain lookups.
2016-08-26 17:26:26 +01:00
Enno Rehling c3119e4c4a oh, I get it. reduceproduction signals that this volcano recently exploded.
added a test for outbreak and message
2016-08-23 07:53:29 +02:00
Enno Rehling 68f619cb90 test that message is sent when volcano stops smoking 2016-08-23 07:46:55 +02:00
Enno Rehling bdc9af9b69 fix intermittent test for dead code path, all new volcanos have reduceproduction attributes 2016-08-23 07:44:17 +02:00
Enno Rehling 61929ab2d2 test that smoking volcanoes stop smoking 2016-08-23 07:38:44 +02:00
Enno Rehling 4bdc9a5153 extract main volcano loop to volcano module, start adding tests 2016-08-22 21:27:24 +02:00
Enno Rehling 5e5882d674 extracting volcano code into a separate module (step one) 2016-08-21 21:21:56 +02:00
Enno Rehling a47b48cfbf Merge pull request #546 from ennorehling/refactor-maintenance
refactoring maintenance
2016-08-21 20:50:51 +02: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 d3e05c7ddf merge in and fix the economy tests 2016-08-21 20:04:51 +02:00
Enno Rehling 43090e1492 remove any reference to old two-stage maintenance.
getting rid of a lot of dead code.
2016-08-21 20:02:20 +02:00
Enno Rehling 901cf97cb2 refactoring the "nocostbuilding" curse.
- remove C_NOCOST constant and other baggage
- refactor maintenance a bit
2016-08-21 20:02:19 +02:00
Enno Rehling b2e79dc5e9 building maintenance unit tests.
backfilling some very basic test coverage.
2016-08-21 20:01:30 +02:00
Enno Rehling 2df881c6ed check the results of MAKE TEMP
new units have the UFL_ISNEW flag
2016-08-21 12:38:25 +02:00
Enno Rehling 348a8c24c0 Merge pull request #545 from ennorehling/bug-2230-give-dead
Bug 2230: do not allow GIVE to dead units
2016-08-21 12:01:57 +02:00
Enno Rehling a5c7d9b615 fix giving items to dead units, https://bugs.eressea.de/view.php?id=2230 2016-08-21 11:58:53 +02:00
Enno Rehling 6cfdc50fdf add unit tests for giving stuff to empty units.
should only be allowed to give things to a new unit, not a recently
deceased.
https://bugs.eressea.de/view.php?id=2230
2016-08-21 11:46:54 +02:00
Enno Rehling ad80c5a889 Merge remote-tracking branch 'upstream/develop' into develop 2016-08-21 07:00:00 +02:00
Enno Rehling b5ed9e96dd re-enable disabled test (it passes, so what gives?) 2016-08-21 06:59:43 +02:00
Enno Rehling 8902187a9a Merge pull request #544 from ennorehling/develop
issue #538: default terrain
2016-08-21 05:04:52 +02:00
Enno Rehling 6ca3f04b89 issue #538: default terrain
I think it's unnecessary, so delete it
2016-08-20 23:42:15 +02:00
Enno Rehling 17c88fa48d Merge pull request #543 from ennorehling/bug-2228-tunneling
Bug 2228: piracy between land regions
2016-08-20 19:33:04 +02:00
Enno Rehling 9a6d4a174a remove move_on_land argument from move_cmd 2016-08-20 19:25:44 +02:00
Enno Rehling 6c17cf9d17 remove move_on_land from sail() 2016-08-20 19:24:18 +02:00
Enno Rehling 860078cfc9 fix piracy_cmd_land_to_land 2016-08-20 19:10:53 +02:00
Enno Rehling c755de1cd5 fix the bug (move_on_land must die).
disable broken test (setup_pirate is incomprehensible gibberish).
2016-08-20 17:25:04 +02:00
Enno Rehling 1c4c0602f9 reactivate disabled piracy test, watch it fail 2016-08-20 11:06:46 +02:00
Enno Rehling 1ef8049668 adding Solthar's test to show that the bug exists 2016-08-19 18:22:38 +02:00
Enno Rehling 9e901b47b6 I'm getting reports of leaks for umlaut.c based structures and configuration?
This is not actually solving those, though.
clean up report directory, fix .bat file.
2016-08-18 20:07:16 +02:00
Enno Rehling 39a284b423 quick and dirty .bat file to run drmemory on the server. 2016-08-18 19:46:29 +02:00
Enno Rehling 5d44874807 Merge pull request #542 from ennorehling/feature/plane-enhancements
Some code cleanup for planes
2016-08-18 19:23:58 +02:00
Enno Rehling 3be627d6ef fix compilation 2016-08-18 19:13:31 +02:00
Enno Rehling ecffed0577 verify data after deleting planes, do not delete plane 50 (yet) 2016-08-18 19:11:26 +02:00