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.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@14582 3db68df2-c116-0410-a063-a993310a9797
http://gifrific.com/wp-content/uploads/2012/06/You-Didnt-See-Anything-Madagascar.gif

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@14583 3db68df2-c116-0410-a063-a993310a9797
instead of removing members from formations as in r14581, let the members stay in formation, but disable formation rearrangement in those cases. 
This fixes issues with queueing orders, and should also fix #2380

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@14584 3db68df2-c116-0410-a063-a993310a9797
Implement the number of gaia gatherers (it probably won't happen but it's safer that way).
Change UnitAI to call "leave" handlers on a conversion, like on a destruction, so a unit will safely go to idle state on resignation/conversions. Might fix some very weird bugs that probably haven't been reported yet.
Reported by AlThePhoenix.
Fixes #2383.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@14585 3db68df2-c116-0410-a063-a993310a9797
Fix unit tests

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@14586 3db68df2-c116-0410-a063-a993310a9797
Fix gaul fortress death variation. Fixes #2374

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@14587 3db68df2-c116-0410-a063-a993310a9797
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.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@14588 3db68df2-c116-0410-a063-a993310a9797
Shield tweaking for the Bronze Shield and Gold Shield pikemen.

Adjusted hero health.

Made champions use arrow selections, while citizen soldiers use circles.

A bunch of updated portraits.

Seleucids changes.

Map updates.

New techs.

Roman siege walls a little weaker.



git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@14589 3db68df2-c116-0410-a063-a993310a9797
Fixes some typoes in the bot README

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@14590 3db68df2-c116-0410-a063-a993310a9797
Fixes scoping for icons in GUI text, instead of using only the top page on the stack, which caused errors when dialog boxes popped up over text containing icons

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@14591 3db68df2-c116-0410-a063-a993310a9797
Fixes the problem that functions in globalscripts aren't available from GUI scripts anymore since r14496.
Refs #2241


git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@14592 3db68df2-c116-0410-a063-a993310a9797
Fixes a problem with the renderpath screen not being displayed.
Refs #2241


git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@14593 3db68df2-c116-0410-a063-a993310a9797
Merge 'remotes/trunk'
Automated build.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@14594 3db68df2-c116-0410-a063-a993310a9797
Move lobby encryption code to third_party/encryption and add tests. Fixes #2308

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@14595 3db68df2-c116-0410-a063-a993310a9797
Remove automatically generated test .cpp files.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@14596 3db68df2-c116-0410-a063-a993310a9797
Add third_party/encryption in premake as required for the lobby.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@14597 3db68df2-c116-0410-a063-a993310a9797
Do what my previous commit was supposed to do.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@14598 3db68df2-c116-0410-a063-a993310a9797
Add back a new minimap overlay, re-add and implement the original idle button, little whitespace cleanup, and delete some old unused ui images.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@14599 3db68df2-c116-0410-a063-a993310a9797
Updated names for female citizens.

Updated Seleucid rally banner (still not happy with it).

Fixed name of Nisean War Horses tech.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@14600 3db68df2-c116-0410-a063-a993310a9797