Commit graph

29 commits

Author SHA1 Message Date
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
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
611fe8e2a1 adding a os module for os-specific functions (mkdir in this case). 2011-02-26 22:56:14 -08:00
Enno Rehling
b2d6203cec 1. spell_list was pretty much used everywhere in the code, and is now also a quicklist.
2. Cleaned up the bindings for quicklist to Lua.
2011-02-26 00:26:14 -08:00
Enno Rehling
14dff6cdfa seen_factions is a quicklist, and the faction_list struct is a thing of the past. 2011-02-25 07:27:44 -08:00
Enno Rehling
831de3dd55 the report's address list is now a quicklist. A bit faster perhaps, and less memory? One less reason to have the faction_list struct, at least. 2011-02-24 22:29:21 -08:00
Enno Rehling
d479075c53 Testing util is no longer such an include-weirdness. 2011-02-23 23:23:32 -08:00
Enno Rehling
f5b4b1ff99 Merged a bugfix for omniscient factions from stm. 2011-02-15 23:06:26 -08:00
Enno Rehling
e0d70b096a http://bugs.eressea.de/view.php?id=1825
giving command to empty units is a mistake.
2010-12-04 17:35:49 -08: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
33100abebb http://bugs.eressea.de/view.php?id=1585
prevent prospecting-exploit
2010-11-02 22:23:04 -07:00
Enno Rehling
279fa623d9 Make sure static data expires. 2010-10-31 19:32:24 -07:00
Enno Rehling
ed77af5261 http://bugs.eressea.de/view.php?id=1784
espionage should show the faction of the spied unit in the report.
2010-10-12 23:17:35 -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
6ce601828b this is probably correct with respect to http://bugs.eressea.de/view.php?id=1808 2010-10-05 22:10:44 -07:00
Enno Rehling
f934772a66 cleaning up a little, no change to logic 2010-09-02 23:29:33 -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
240aae8c58 bugfix, test crash 2010-08-08 12:04:08 +02: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