Commit Graph

8978 Commits

Author SHA1 Message Date
Enno Rehling f1a6203f3e Not yet ready to give up on the MIN/MAX macros 2017-12-29 19:26:20 +01:00
Enno Rehling 095148ab50 move va_copy macro closer to where it is used. 2017-12-29 17:00:16 +01:00
Enno Rehling c3a812123f fix use of static configuration in study_cost. 2017-12-29 16:07:48 +01:00
Enno Rehling c23e7bf9b9 add a unit test for academy_can_teach. 2017-12-29 13:37:17 +01:00
Enno Rehling 79b5464aab posix systems have PATH_MAX in limits.h 2017-12-29 11:58:39 +01:00
Enno Rehling 50173d5be3 PATH_MAX and MAX_PATH are crazy. 2017-12-29 11:44:14 +01:00
Enno Rehling f98eab56c4 platform.h is only for WIN32 now.
replace MIN and MAX macros, they are BAD.
2017-12-29 06:13:28 +01:00
Enno Rehling f82fe6e963 more frequent use util/macros.h instead of platform.h 2017-12-28 18:55:45 +01:00
Enno Rehling 5d45b0f99b move some platform defines to a macros header 2017-12-28 18:41:33 +01:00
Enno Rehling 5b1d27542a reduce dependence on platform.h.
gradually stop using MAX and MIN (mistakes were made).
2017-12-28 18:29:40 +01:00
Enno Rehling 3c16267246 prevent this mallorn problem for all future tests, too. 2017-12-28 00:10:05 +01:00
Enno Rehling 48b33d31dd prevent intermittent crash when region has mallorn: 2017-12-28 00:05:13 +01:00
Enno Rehling 4018850499 wtf is up with the travis build now? 2017-12-27 23:47:59 +01:00
Enno Rehling 5c790e024c The "Neue Spieler" statistics were never correct. 2017-12-27 22:59:50 +01:00
Enno Rehling 3c1addf2ba avoid using test_create_world. 2017-12-27 22:38:14 +01:00
Enno Rehling f6753261cd do not use test_create_world, please. 2017-12-27 22:30:07 +01:00
Enno Rehling bf86c4e043 backfill missing manacrystal test. 2017-12-27 22:26:50 +01:00
Enno Rehling 198f084f5d implement speedy ships, with unit tests and edge testing. 2017-12-27 21:54:09 +01:00
Enno Rehling c2167c963e add a (failing) acceptance test for speedy dragonships. fix the old ship tests. 2017-12-27 20:29:49 +01:00
Enno Rehling fbcebbd2ca we cannot check the non-existence of a report. 2017-12-27 20:29:05 +01:00
Enno Rehling cff4e12fbd celan up tests, rename test_cleanup -> test_teardown. 2017-12-27 19:58:39 +01:00
Enno Rehling 250faefff4 fix potion test, use only one 2017-12-27 07:11:21 +01:00
Enno Rehling 28252fda7b bug 2197: fix E3 potion text. 2017-12-26 16:09:15 +01:00
Enno Rehling 8e823c9403 Tests require regular trees, not mallorn. 2017-12-26 15:57:59 +01:00
Enno Rehling c78fe1ac0a move "do not accidentally terrafomr" logic to gmtool. 2017-12-26 13:29:19 +01:00
Enno Rehling f4388f4429 free equipments, fewer leaks. 2017-12-26 13:26:40 +01:00
Enno Rehling 4397c67d1c bug 2197: add acceptance test for Wasser des Lebens 2017-12-26 13:23:14 +01:00
Enno Rehling 3911217fb5 eliminate some TODO comments. 2017-12-26 07:25:42 +01:00
Enno Rehling a7b7162c56 add a safety check against accidentally drowning units in terraforming. 2017-12-26 07:04:12 +01:00
Enno Rehling f4e56d1512 bug 2238: respect the dragon speed multiplier. 2017-12-26 06:26:56 +01:00
Enno Rehling a7c45d31ad bug 2214: drifting ships in E3 should take no damage. 2017-12-25 23:22:58 +01:00
Enno Rehling e9508d6f8e bug 2218: make maelstrom curseinfo not be a dupe of spelllinfo. 2017-12-25 21:59:01 +01:00
Enno Rehling 54ae00bb7d bug 2156: fix volcano reporting, maybe. 2017-12-25 21:55:50 +01:00
Enno Rehling 6927eed52e bug 2387: create a ghost to hold on to magical notlost items. 2017-12-25 19:11:12 +01:00
Enno Rehling b954096f4d
Merge pull request #751 from ennorehling/develop
Bugs 2395 & 2396
2017-12-23 18:48:26 +01:00
Enno Rehling 01c808da66 Merge branch 'develop' of https://github.com/ennorehling/eressea.git 2017-12-23 18:33:38 +01:00
Enno Rehling 4752984e33 sqlite may set errno, reset it 2017-12-23 18:28:51 +01:00
Enno Rehling 5dabd19504 add tests for visible_unit, remove unused cansee_ex 2017-12-23 17:49:30 +01:00
Enno Rehling 1b13f6119b Merge branch 'develop' of https://github.com/ennorehling/eressea.git 2017-12-23 17:37:34 +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 abd2a398d1 check that newbie immunity prevents guarding 2017-12-22 20:12:05 +01:00
Enno Rehling 77cf7f6876 new factions cannot guard 2017-12-22 20:07:30 +01:00
Enno Rehling 73f49ec90a fix demon hunger in E3 and one intermittent test.
tests involving demons can disable skill changes.
2017-12-22 19:14:01 +01:00
Enno Rehling cba452786f BUG 2396: insect recruit messages fixed, and tests added. 2017-12-22 11:15:17 +01:00
Enno Rehling dab802031a
Merge pull request #750 from ennorehling/develop
bug 2389 part 2
2017-12-17 14:51:30 +01:00
Enno Rehling 683e3c566d addendum bug 2389: insects mail not sail a ship into a glacier, but can be passengers. 2017-12-17 14:50:11 +01:00
Enno Rehling 0c90d50d83
Merge pull request #749 from ennorehling/develop
BUG 2389, 2392
2017-12-17 14:35:29 +01:00
Enno Rehling 404691c5db delete unused define and code for insects. 2017-12-17 14:33:18 +01:00
Enno Rehling ed75f4d21a fix bug 2389 (sailing into glaciers).
reduce verbosity.
2017-12-17 14:28:15 +01:00
Enno Rehling efa7b16c87 be less verbose in the log 2017-12-17 14:23:50 +01:00