Commit Graph

345 Commits

Author SHA1 Message Date
Enno Rehling 3abcbb4717 eliminated region_list use from wormholes
fixed a small memory leak
2011-04-26 21:31:41 -07:00
Enno Rehling f00f537336 eliminated region_list use from get_island_info 2011-04-26 21:25:47 -07:00
Enno Rehling 6798c497f8 eliminated region_list use from get_island 2011-04-26 21:22:30 -07:00
Enno Rehling c4cc06a80f get_regions_distance converted to quicklist 2011-04-25 22:30:54 -07:00
Enno Rehling dbd338c284 eliminate region_list usage from the monster pathfinder 2011-04-25 22:20:01 -07:00
Enno Rehling 9802eecd79 code prettyfication 2011-04-24 16:18:01 -07:00
Enno Rehling ec9e7bf833 new lighthouse behavior as described in http://bugs.eressea.de/view.php?id=1847 2011-04-24 12:19:34 -07:00
Enno Rehling 28a1e8d3cc E3 rule for dwarf castles should not be default. 2011-04-24 11:42:19 -07:00
Enno Rehling e7ab2b46ad do not assert on rich units, warn instead 2011-03-27 21:05:22 +02:00
Enno Rehling 813d75f820 fixing spy messages (wrong arguments cause crash). 2011-03-19 11:06:03 -07:00
Enno Rehling 36b58cca6e test that fighters get created properly.
better test initialization code.
2011-03-15 21:04:38 -07:00
Enno Rehling 8d497e4b50 change the way the market tests are included. 2011-03-15 20:00:54 -07:00
Enno Rehling 3493c651f7 test that attackers do not get a building bonus 2011-03-12 17:54:57 -08:00
Enno Rehling 89b3b3161f Add a test for the effect of buildings in battles, and a file to test pieces of the combat code from C in the future.
Add some testing support for terrains and buildings.
2011-03-12 17:01:20 -08:00
Enno Rehling 31edf06d05 just a bit of typecasting 2011-03-12 17:00:16 -08:00
Enno Rehling 5afb83c193 Let tests clean up after/before themselves, so terrains can be created by each. 2011-03-12 16:59:32 -08:00
Enno Rehling 315066309a create races with a minimum of hitpoints so tests don't break. 2011-03-12 16:58:45 -08:00
Enno Rehling 8fca34e824 SUITE_ADD_TEST is a macro and doesn't want this syntax 2011-03-12 16:58:12 -08:00
Enno Rehling 3d98275d58 we never checked if building maintenance was paid (see also #1740) 2011-03-09 21:00:29 +01:00
Enno Rehling 2c02c38803 insects trying to land in glaciers should not damage ships (cf. #1729) 2011-03-09 21:00:26 +01:00
Enno Rehling f0039bc58f added spy to spy messages (see #1604) 2011-03-09 21:00:19 +01:00
Enno Rehling cf4e081179 nobody ever profited from castle bonuses 2011-03-09 14:49:50 +01:00
Enno Rehling ff51fe6493 added meropis buildings
also fixed a bug that prevented tests with ATTACKs to be executed properly (NewbieImmunity)
2011-03-09 14:49:43 +01:00
Enno Rehling fa69da6de2 added missing move_test.c 2011-03-09 11:01:40 +01:00
Enno Rehling 5bf42bd8e9 make laws_tests more stand-alone 2011-03-08 21:18:35 -08:00
Enno Rehling e01c6bb8b1 make merge request sing with Eressea
added a missing file (move_test.c)
changing the way tests are included
making some lua code prettier (too many parens)
2011-03-08 21:06:38 -08:00
Enno Rehling 8714957a61 fixed two bugs: harbours were not unique and multiple instances of unique buildings could still be built 2011-03-09 00:28:37 +01:00
Enno Rehling d65d03db9c fixed oops with __cplusplus 2011-03-09 00:28:37 +01:00
Enno Rehling 54d05f8544 MSVC warns about unreachable code. 2011-03-07 23:46:56 -08:00
Enno Rehling b4c5607747 compiling with -pedantic on linux 2011-03-08 08:44:20 +01:00
Enno Rehling 04b3d7ff45 use enums, fix typecasts 2011-03-07 22:31:06 -08:00
Enno Rehling 496aa22e65 fixes for -ansi -pedantic 2011-03-07 17:29:19 +01:00
Enno Rehling 78b7dcd727 more indentation cleanup 2011-03-06 23:40:55 -08:00
Enno Rehling 791e4cd673 fix CRLF massacre 2011-03-07 08:35:23 +01:00
Enno Rehling 610c6799ea fix CRLF massacre 2011-03-07 08:31:59 +01:00
Enno Rehling 9c8779b303 indentation rules, slightly updated 2011-03-07 08:24:52 +01:00
Enno Rehling 9f539b8c12 CRLF confusion? 2011-03-06 23:07:04 -08:00
Enno Rehling fb7a642d47 indentation rules, strictly applied 2011-03-07 08:02:35 +01:00
Enno Rehling 7a983c80cf * there are no boats
* skill should only use 4 bytes
2011-03-06 22:06:30 -08:00
Enno Rehling 1be42e9d50 Make all tests for Eressea pass again, using the config module. 2011-03-06 21:49:01 -08:00
Enno Rehling fb94908014 export resources and shiptypes as part of configuration. 2011-03-06 21:12:55 -08:00
Enno Rehling 36e53069e0 use quicklist to store ship types. 2011-03-06 21:11:17 -08:00
Enno Rehling 3677e899af Do not assert on unknown skills, but log them as an error. 2011-03-06 19:56:20 -08:00
Enno Rehling d75ee1a057 Make the code compile on Visual Studio again, fixing type conversion warnings and C99-isms.
Signed-off-by: Enno Rehling <enno@eressea.de>
2011-03-06 19:29:20 -08:00
Enno Rehling d672510f06 two little remarks 2011-03-06 12:43:39 +01:00
Enno Rehling 623c0dce84 empty ships sink 2011-03-06 12:43:18 +01:00
Enno Rehling cb4f7a03c6 configurable ship damage 2011-03-06 12:43:18 +01:00
Enno Rehling 8c42643528 added Atlantis ship types 2011-03-06 12:43:18 +01:00
Enno Rehling 8c129f1576 skill.id had wrong type 2011-03-05 19:39:02 +01:00
Enno Rehling 53aec0d438 do not silently fail on unknown skill 2011-03-05 19:39:02 +01:00