mimo
01ff2fb0e0
petra: reset some collections only if needed
...
This was SVN commit r18531.
2016-07-19 17:26:03 +00:00
mimo
df55f73894
ai: remove a useless argument
...
This was SVN commit r18525.
2016-07-17 17:10:01 +00:00
mimo
bbe75c14f8
Implements the ai changes from s0600204 resource-agnostic patch, refs #3934
...
This was SVN commit r18478.
2016-07-03 10:26:34 +00:00
mimo
9c980173e3
petra cleanup
...
This was SVN commit r18429.
2016-06-23 18:25:27 +00:00
mimo
dd823dd572
ai cleanup
...
This was SVN commit r18352.
2016-06-09 19:25:40 +00:00
mimo
5be948019b
ai cleanup
...
This was SVN commit r18290.
2016-06-02 18:08:14 +00:00
mimo
07007f1963
some cleanup in ai
...
This was SVN commit r18230.
2016-05-25 18:43:48 +00:00
mimo
6171f66d06
AI: fix serialization of template changes, fixes #3993 , refs #3858
...
This was SVN commit r18219.
2016-05-22 20:25:41 +00:00
mimo
9c9796d8ad
Changes in AI: Decrease a bit the required number of champions in attacks because of the recent increase of their cost,
...
Make more use of corrals when no fields and Cleanups
This was SVN commit r18216.
2016-05-21 17:06:25 +00:00
mimo
a4cb84c8e0
ai cleanup, mainly trailing spaces
...
This was SVN commit r18163.
2016-05-12 17:38:58 +00:00
mimo
c955d74330
petra cleanup (thanks to leper's suggestion)
...
This was SVN commit r17687.
2016-01-22 18:45:28 +00:00
mimo
df7da846ad
some cleanup in ai api
...
This was SVN commit r17683.
2016-01-21 20:23:19 +00:00
mimo
d7b8e0fb79
do not assume a max number of players in the ai api
...
This was SVN commit r17141.
2015-10-17 17:04:28 +00:00
mimo
e42e02d4fe
bunch of cleanup (mainly missing semicolon) signaled by jshint
...
This was SVN commit r17044.
2015-09-19 12:41:21 +00:00
mimo
7ac4b53cb8
AI: start switch from the internal JS pathFinder to the c++ one, thanks to Itms implementation. Still wip
...
This was SVN commit r16809.
2015-06-22 17:19:24 +00:00
mimo
fae2caed1a
adapt AIs to changes in e6d1afe48b
...
This was SVN commit r16807.
2015-06-22 16:47:42 +00:00
mimo
eeee79e7f3
AI fix for building placement + some cleanings
...
This was SVN commit r16793.
2015-06-18 19:19:24 +00:00
mimo
1c29b21b69
adapt the AI to 1709353e2c, fixes #3295
...
This was SVN commit r16785.
2015-06-17 20:30:57 +00:00
mimo
ce19d55176
AIs: remove the hardcoded athen phases
...
This was SVN commit r16729.
2015-06-06 15:41:04 +00:00
mimo
a286091470
mostly some cleanings of AI code + a petra fix when a player is defeated
...
This was SVN commit r16710.
2015-06-02 20:52:12 +00:00
mimo
f200815de4
AI: avoid creating some unused maps and cleanings
...
This was SVN commit r16690.
2015-05-28 20:35:05 +00:00
mimo
03bc22510b
fix entities deserialization in AIInterface and remove duplicates entities and templates in sharedAI, refs #3060 and fixes #1089
...
This was SVN commit r16626.
2015-05-05 20:38:43 +00:00
mimo
b0f7c00622
petra: continuation on capture adaptation
...
This was SVN commit r16598.
2015-04-29 17:59:29 +00:00
mimo
1482a84875
replace some slow (foreach in) loops
...
This was SVN commit r16489.
2015-04-02 20:22:33 +00:00
mimo
e35970b700
Petra: rewrite of the dock placement. It should be more robust and compatible with the new pathfinder now
...
This was SVN commit r16457.
2015-03-22 22:00:59 +00:00
mimo
2b6bde800c
some changes to let Petra build structures with the new PathFinder branch
...
This was SVN commit r16432.
2015-03-15 18:25:03 +00:00
mimo
0dd6711afa
make Petra support passability and territory maps of different resolutions, addresses #2960
...
This was SVN commit r16072.
2014-12-27 15:23:20 +00:00
mimo
9684bcd360
add AI support of maps of different dimensions, see #2960
...
This was SVN commit r16062.
2014-12-23 14:17:52 +00:00
mimo
a22f30c9b0
Improve AI performances thanks to traceLogger diagnostics. The gain is about 10% of AI time. The patch includes also some code cleanings.
...
This was SVN commit r16042.
2014-12-12 17:41:10 +00:00
mimo
ae7c2f9586
ai: entitycollections switch to maps, see #2370
...
This was SVN commit r16030.
2014-12-09 19:55:37 +00:00
mimo
3e09cf4797
improve petra performances, see #2370
...
This was SVN commit r16027.
2014-12-07 16:36:56 +00:00
mimo
0df90c5c2b
ai common api : use maps for entitycollection lists + cleanings
...
This was SVN commit r16019.
2014-12-03 20:22:13 +00:00
mimo
edd9622050
wip petra support of saved games, still incomplete
...
This was SVN commit r15940.
2014-11-08 19:23:29 +00:00
Yves
a89d0190bd
Use ES6 Maps in the AI API for applying tech and aura modification to entity templates.
...
This should improve performance a bit (check the ticket for details).
Refs #2475
This was SVN commit r15781.
2014-09-21 21:02:15 +00:00
mimo
e2d893103b
make the AI aware of the game type and start interfacing with wonder victory condition + some fixes
...
This was SVN commit r15505.
2014-07-09 21:41:14 +00:00
mimo
fd4cd56224
fixed petra map management when not circular
...
This was SVN commit r14901.
2014-04-05 12:18:37 +00:00
wraitii
7d18fecbcd
Fix some errors reported by Gildas, Lion_Kanzen and Gameboy. Prepare for formation fighting in the attack plans by having a more generic "army" component.
...
This was SVN commit r14629.
2014-01-21 20:24:51 +00:00
wraitii
9330975d54
Fix Athens not researching civ phase. Make the AI adapt automatically to changing the max gatherers on fields.
...
Fix auto-researched technologies not being properly researched on init.
Fix the tests (amazing!).
GarrisonHolder sends which entities were added or removed (mostly for AI
purposes but could benefit other things).
Streamline AIInterface events.
This was SVN commit r14612.
2014-01-18 20:26:52 +00:00
wraitii
c1e86161b5
AIs now properly receive aura and technology updates. Fixes #2377 , Refs #1520 . Consequently reimplement repairing for AIs.
...
Fix a few style issues and a bug with the gatherer count.
Still need to fix the entity.js file to handle properly some things as
this uses raw templates values.
Cache the AIinterface in AIProxy.js, please report if this works
properly.
This was SVN commit r14588.
2014-01-16 20:32:44 +00:00
wraitii
d23b7deb98
Various improvements to AI's early game. Simplify some code and improve on other. Add a few different strategies (Rush/normal/boom, quite basic for now, refs #2344 ).
...
Aegis should mostly respect tech limitations so I'll ref #1964 .
I'm going to go with #2364 is fixed, the AI should be more efficient in
early-game, and late-game is a known problem.
Fixes #2274 and fixes #2379 .
Refs #2372 as it should fix several of those warnings for AIs.
Fixes #2256 with a new bartering system, in parts taken from mimo's
patch.
This was SVN commit r14582.
2014-01-14 19:54:31 +00:00
wraitii
bd22432fe8
Rename common-api-v3 to common-api.
...
Fix warnings with the new AI.
Fix an error with the per-player gatherer counts.
This was SVN commit r14559.
2014-01-10 17:46:48 +00:00