lp:~widelands-dev/widelands/ai_blocked_fields_tweaks
Created by
TiborB
and last modified
Few changes in regard to blocked_fields list - it contains fields that are temporarily blocked for construction of new buildings, usually due to space consumer nearby or impossibility to connect a region to road network with warehouse.
Changes are:
- AI is more accurate to calculate fields that are not accessible, it uses find_reachable_
- When calculating available spots it deducts blocked fields, this can make a difference especially if AI is in shortage of buildable fields
Branch merges
Propose for merging
No branches
dependent on this one.
- GunChleoc: Approve
-
Diff: 249 lines (+121/-23)4 files modifiedsrc/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)
Branch information
Recent revisions
This branch has not been scanned yet.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:widelands