Merge lp:~widelands-dev/widelands/ai_blocked_fields_tweaks into lp:widelands
Proposed by
TiborB
Status: | Merged |
---|---|
Merged at revision: | 8633 |
Proposed branch: | lp:~widelands-dev/widelands/ai_blocked_fields_tweaks |
Merge into: | lp:widelands |
Diff against target: |
249 lines (+121/-23) 4 files modified
src/ai/ai_help_structs.cc (+54/-2) src/ai/ai_help_structs.h (+22/-1) src/ai/defaultai.cc (+44/-19) src/ai/defaultai.h (+1/-1) |
To merge this branch: | bzr merge lp:~widelands-dev/widelands/ai_blocked_fields_tweaks |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
GunChleoc | Approve | ||
Review via email: mp+341483@code.launchpad.net |
Commit message
AI tweak - better identification of unconnectable regions based on walking algorithm. Used to keep AI from wasting attempts to build there something.
Description of the change
This improves behavior related to blocked_fields (list of fields temporarily blocked for construction of new buildable fields). Now it better calculates the region that is temporarily unconnectable and consider these blocked fields more. However, visible difference is quite small.
To post a comment you must log in.
Continuous integration builds have changed state:
Travis build 3294. State: failed. Details: https:/ /travis- ci.org/ widelands/ widelands/ builds/ 354043229. /ci.appveyor. com/project/ widelands- dev/widelands/ build/_ widelands_ dev_widelands_ ai_blocked_ fields_ tweaks- 3102.
Appveyor build 3102. State: failed. Details: https:/