lp:~widelands-dev/widelands/ai_persistent_data
Created by
TiborB
and last modified
This is extension of player class - I just added som arrays of int32_t, uint32_t and uint16_t. The data are "anonymous" for game and AI manages them themselves. So not entire AI data are dumped there but only handfull of variables. These variables are ignored by human player.
Second part of branch (in spite of name) is rework of construct_
Branch merges
Propose for merging
No branches
dependent on this one.
- GunChleoc: Approve
- TiborB: Needs Resubmitting
-
Diff: 3712 lines (+1264/-792)50 files modifiedsrc/ai/ai_help_structs.h (+47/-11)
src/ai/ai_hints.cc (+1/-1)
src/ai/defaultai.cc (+1042/-705)
src/ai/defaultai.h (+35/-23)
src/game_io/game_player_info_packet.cc (+11/-1)
src/logic/player.cc (+40/-5)
src/logic/player.h (+22/-0)
tribes/atlanteans/blackroot_farm/conf (+1/-0)
tribes/atlanteans/farm/conf (+2/-2)
tribes/atlanteans/fish_breeders_house/conf (+2/-1)
tribes/atlanteans/foresters_house/conf (+1/-1)
tribes/atlanteans/hunters_house/conf (+1/-1)
tribes/atlanteans/labyrinth/conf (+1/-0)
tribes/atlanteans/planks/conf (+1/-1)
tribes/atlanteans/quarry/conf (+2/-1)
tribes/atlanteans/sawmill/conf (+2/-2)
tribes/atlanteans/smokery/conf (+1/-1)
tribes/atlanteans/spiderfarm/conf (+2/-2)
tribes/atlanteans/toolsmithy/conf (+1/-1)
tribes/atlanteans/weaving-mill/conf (+2/-2)
tribes/atlanteans/well/conf (+2/-2)
tribes/atlanteans/woodcutters_house/conf (+2/-1)
tribes/barbarians/bakery/conf (+1/-1)
tribes/barbarians/farm/conf (+1/-1)
tribes/barbarians/hardener/conf (+2/-1)
tribes/barbarians/hunters_hut/conf (+1/-1)
tribes/barbarians/lime_kiln/conf (+3/-0)
tribes/barbarians/lumberjacks_hut/conf (+2/-1)
tribes/barbarians/metalworks/conf (+2/-2)
tribes/barbarians/quarry/conf (+1/-1)
tribes/barbarians/rangers_hut/conf (+1/-0)
tribes/barbarians/reed_yard/conf (+2/-1)
tribes/barbarians/smelting_works/conf (+1/-1)
tribes/barbarians/trainingcamp/conf (+1/-0)
tribes/barbarians/well/conf (+2/-1)
tribes/empire/armorsmithy/conf (+2/-1)
tribes/empire/bakery/conf (+1/-0)
tribes/empire/bread/conf (+1/-1)
tribes/empire/flour/conf (+1/-1)
tribes/empire/foresters_house/conf (+1/-0)
tribes/empire/lumberjacks_house/conf (+2/-1)
tribes/empire/piggery/conf (+1/-1)
tribes/empire/quarry/conf (+2/-1)
tribes/empire/sawmill/conf (+2/-2)
tribes/empire/stonemasons_house/conf (+2/-2)
tribes/empire/toolsmithy/conf (+2/-2)
tribes/empire/vineyard/conf (+1/-1)
tribes/empire/well/conf (+2/-1)
tribes/empire/winery/conf (+2/-2)
tribes/empire/wood/conf (+1/-1)
Related bugs
Bug #1499619: atlantean AI still runs out of spidercloth at times | Medium | Fix Released | |
Bug #1499678: atlantean AI has no wells | Medium | Fix Released |
Related blueprints
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