Commit graph

18 commits

Author SHA1 Message Date
Enno Rehling
5bf42bd8e9 make laws_tests more stand-alone 2011-03-08 21:18:35 -08: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
496aa22e65 fixes for -ansi -pedantic 2011-03-07 17:29:19 +01:00
Enno Rehling
9c8779b303 indentation rules, slightly updated 2011-03-07 08:24:52 +01:00
Enno Rehling
fb7a642d47 indentation rules, strictly applied 2011-03-07 08:02:35 +01: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
cb4f7a03c6 configurable ship damage 2011-03-06 12:43:18 +01:00
Enno Rehling
d3a7d22253 http://bugs.eressea.de/view.php?id=1679
Applying a patch provided by Solthar: Server will give error when unit is given more than one long order.
I just added a test to this.
2010-11-11 20:11:19 -08:00
Enno Rehling
279fa623d9 Make sure static data expires. 2010-10-31 19:32:24 -07:00
Enno Rehling
f1f46782f7 * fix some rules to not use static variables across multiple runs
* add tests for upkeep
* add a config setting to disable upkeep in tests
* add a config setting to disable random factor in studying
2010-10-08 23:39:16 -07:00
Enno Rehling
db8f2f7d0c do not damage ships with no owner while still in production 2010-09-02 23:25:25 -07:00
Enno Rehling
366035510c fixing building renaming
http://bugs.eressea.de/view.php?id=1798
foreign/owned was swapped
2010-08-17 22:32:36 -07:00
Enno Rehling
3d5f7a92b8 http://bugs.eressea.de/view.php?id=1788
renaming buildings should finally work again.
2010-08-10 23:33:38 -07:00
Enno Rehling
beec74e0c6 Clearing every mage's spell-list before each turn is counter-productive. It destroys tests, and it doesn't let us have special spells added per-unit. 2010-08-08 23:39:21 -07:00
Enno Rehling
a5e712580f undo more CRLF screwups. 2010-08-08 01:14:01 -07:00
Enno Rehling
14b3ed309f use external folder for all libraries (VS2010)
new repository structure
2010-08-07 23:05:54 -07:00
Enno Rehling
72505ab8f3 moving to a new repository layout.
step 1: shared folder.
2010-08-07 22:07:17 -07:00