widelands-dev team mailing list archive
-
widelands-dev team
-
Mailing list archive
-
Message #15776
Re: [Merge] lp:~widelands-dev/widelands/bug-1810062-territorial-calculations into lp:widelands
Hi
I figured out a solution to check the caps of a field without taking immovables into account.
Basicly I just added a lua hook and a new field property "max_caps".
This solution speeds up the algorithm because we don't have to take immovable fields into account for the accesibility loops.
Question is shall I push another revision to this branch with my changes or shall I push a new branch?
--
https://code.launchpad.net/~widelands-dev/widelands/bug-1810062-territorial-calculations/+merge/361366
Your team Widelands Developers is requested to review the proposed merge of lp:~widelands-dev/widelands/bug-1810062-territorial-calculations into lp:widelands.
References