Commit graph

18 commits

Author SHA1 Message Date
Enno Rehling
b95f7ec139 more strictly define what it means to be the owner of the show, and when it is transferred.
mostly copied from building_owner.
test coverage is a wonderful thing.
2012-05-18 23:20:38 -07:00
Enno Rehling
0c2531f259 remove UFL_OWNER anywhere but in save.c 2012-05-18 22:34:04 -07:00
Enno Rehling
57fbc7809c more strictly define what it means to be the owner of the building, and when it is transferred.
test coverage is a winderful thing.
UFL_OWNER is probably entirely useless now, must fix
2012-05-18 21:26:41 -07:00
Enno Rehling
8cd99bf88c fallback for generating building/ship names in tests, when no translations are available 2012-05-18 09:19:46 -07:00
Enno Rehling
ff33af3c65 ship and building owners encapsulated in accessors
tests added
2012-05-17 15:23:15 -07:00
Enno Rehling
7789e0534e implement ship-ownership transfer as a function
test the reorder_units function
2012-05-17 12:23:25 -07:00
Enno Rehling
d12fe2dbed begin making shipowner use ship->owner.
fix a broken test caused by locale_string returning null.
2012-05-17 00:13:30 -07:00
Enno Rehling
116a1ee8ba remove tnode from anywhere, and use a void* instead, in preparation for a new findtoken implementation. this needs to have a good testing.
lots of warning fixes for high warning levels in visual studio also
2012-05-15 15:04:23 -07:00
Enno Rehling
28a1e8d3cc E3 rule for dwarf castles should not be default. 2011-04-24 11:42:19 -07: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
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
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
5497875c93 Funny. It turns out that building_list is totally not a thing and never was. 2011-02-25 07:41:51 -08:00
Enno Rehling
0adf7899dd cleaning up the lists functionality a bit. I have plans. 2011-02-21 22:00:03 -08: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