Metaprogramming r15576.

Change something on water shaders to see if it works better on ATI cards.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15594 3db68df2-c116-0410-a063-a993310a9797
Temporary reversion for a graphic problems with some ATI cards when disabling water reflections.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15595 3db68df2-c116-0410-a063-a993310a9797
some cleaning of petra code

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15596 3db68df2-c116-0410-a063-a993310a9797
Exact stack rooting for structured cloning functions.

Refs #2415
Refs #2462


git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15597 3db68df2-c116-0410-a063-a993310a9797
Actually fix bugs on ATI cards. Switch reflection and refractions to use POT textures in an attempt to improve compatibility.

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

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15599 3db68df2-c116-0410-a063-a993310a9797
Removes an unused codepath for AI deserialization and related ScriptInterface code.

It might actually be needed again in the future, but I think even then it would be easier to rewrite it than having to update the code in the meantime.

Refs #2462


git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15600 3db68df2-c116-0410-a063-a993310a9797
Exact rooting for CallConstructor.

Refs #2415
Refs #2462


git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15601 3db68df2-c116-0410-a063-a993310a9797
(semi-auto) update scenarios and skirmishes water settings (type and waviness). Probably errs on the "not enough" side.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15602 3db68df2-c116-0410-a063-a993310a9797
Exact stack rooting for JSON related ScriptInterface functions.

Refs #2415
Refs #2462


git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15603 3db68df2-c116-0410-a063-a993310a9797
Batch-change RM map water type and waviness settings. Again, this errs on the "not enough" side.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15604 3db68df2-c116-0410-a063-a993310a9797
Exact stack rooting for ScriptInterface::ToString.

I had to change a few other functions to take JS::MutableHandleValue because JS::Stringify takes a JS::MutableHandleValue as input parameter. That seems a bit strange because it should not change that value.
I assume it has historical reasons.

Refs #2415
Refs #2462


git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15605 3db68df2-c116-0410-a063-a993310a9797
Exact stack rooting for GetClass and GetPrivate.

Refs #2415


git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15606 3db68df2-c116-0410-a063-a993310a9797
Exact stack rooting for WriteStructuredClone and functions that use it.

Refs #2415


git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15607 3db68df2-c116-0410-a063-a993310a9797
Merge 'remotes/trunk'
Merge branch 'master' into fogging