Automated build.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15536 3db68df2-c116-0410-a063-a993310a9797
Petra: fix a rare bug where the AI would never attack + some attack tunings

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15537 3db68df2-c116-0410-a063-a993310a9797
Recompute the number of LoS tiles whenever these tiles are reset (especially when loading serialized data).
Also add a verification about LoS tiles in the tests.

Fixes #2678
Refs #599

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15538 3db68df2-c116-0410-a063-a993310a9797
let the AI know when a building is decaying

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15539 3db68df2-c116-0410-a063-a993310a9797
Merge 'remotes/trunk'
Petra: small fixes + reformat debug outputs

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15540 3db68df2-c116-0410-a063-a993310a9797
Merge 'remotes/trunk'
Implements CallFunction with JS::MutableHandle<T> return type.

Changes the CallFunction implementation to use macros because otherwise we'd have to write twice as many functions manually.
Adapts GetSavedGameData to use the new function template. Additional callers will be changed in future commits.

Refs #2415
Refs #2462 


git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15541 3db68df2-c116-0410-a063-a993310a9797
Adds support for passing JS::HandleValue to SetProperty and CallFunctionVoid without using ugly casing.

Also includes one little "demo-usecase", but additional code will be changed to use that in future commits.

Refs #2415
Refs #2462 


git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15542 3db68df2-c116-0410-a063-a993310a9797
Merge 'remotes/trunk'
fixes petra javascript warnings

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15543 3db68df2-c116-0410-a063-a993310a9797
Merge 'remotes/trunk'
Don't cache (and serialise) all technology templates multiple times. It's still cached once in the TechnologyTemplateManager.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15545 3db68df2-c116-0410-a063-a993310a9797
fix a rare JS warning

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15546 3db68df2-c116-0410-a063-a993310a9797
Add serialization test support for replays.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15547 3db68df2-c116-0410-a063-a993310a9797
Merge 'remotes/trunk'
fix #2603

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15548 3db68df2-c116-0410-a063-a993310a9797
Load trigger scripts in serialization test mode.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15549 3db68df2-c116-0410-a063-a993310a9797
Fix an oversight in CcmpPosition from the turret changes. Reported on IRC by Falsevision.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15550 3db68df2-c116-0410-a063-a993310a9797
give war ships at dock for carthage, for better balance of naval maps

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