Fixes possible overflow in terrain position/normal calculation, based on patch by sanderd17. Fixes #1986

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@13499 3db68df2-c116-0410-a063-a993310a9797
Reverts interpolation changes from r13489, r13323, r13251, r13244, r13243, r13223. Refs #1846, #1858, #1865, #1906

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@13500 3db68df2-c116-0410-a063-a993310a9797
Let states execute their leave handlers on OnDestroy. Fixes #1999. Patch by mimo.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@13501 3db68df2-c116-0410-a063-a993310a9797
Fix inconsitency between AttackEntityInZone and ShouldAbandonChase for units in defensive stance. Patch by mimo. Fixes #1866.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@13502 3db68df2-c116-0410-a063-a993310a9797
Make attack type a property of the order.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@13503 3db68df2-c116-0410-a063-a993310a9797
Clarify usage of CheckPlacement. Check if the losRangeQuery exists before disabling it.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@13504 3db68df2-c116-0410-a063-a993310a9797
Small garrison code clean-up

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


git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@13506 3db68df2-c116-0410-a063-a993310a9797
Use floats for health. Fix #1633

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@13507 3db68df2-c116-0410-a063-a993310a9797
Replace decimal with nonNegativeDecimal. Refs #1633

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@13508 3db68df2-c116-0410-a063-a993310a9797
Carthaginians can now only build 1 embassy at a time.

Each embassy comes with new technology pairs. Metal Costs vs. Training Time.

Structure pierce armor adjusted upward.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@13509 3db68df2-c116-0410-a063-a993310a9797
Merge remote-tracking branch 'remotes/trunk'