0ad/source/gui/scripting
Yves 2ae74221c7 Fixes saving/loading problems introduced in 28bdd8540f.
* CGameLoader created a new JS::Value when assigning to m_Metadata.
This means it didn't actually update metadata in SavedGames::Load. The
new approach solves this problem and should work well if
CScriptValRooted gets replaced in the future.
 * The cloning in ScriptFunctions.cpp was required. Removing it caused
compartment mismatches.
 * Now CGameLoader loads the metadata unconditinally because we didn't
actually use the option to not load load it.

Ref #2415

This was SVN commit r15589.
2014-07-31 14:44:51 +00:00
..
GuiScriptConversions.cpp Changes ToJSVal to take JS::MutableHandleValue instead of JS::Value&. 2014-07-14 19:52:35 +00:00
JSInterface_GUITypes.cpp Makes custom JS objects compatible with SpiderMonkey ESR31. 2014-07-13 15:31:48 +00:00
JSInterface_GUITypes.h Second (main) commit for the SpiderMonkey upgrade. 2014-03-28 20:26:32 +00:00
JSInterface_IGUIObject.cpp Quite a lot of stack rooting related changes. 2014-07-26 22:33:16 +00:00
JSInterface_IGUIObject.h Second (main) commit for the SpiderMonkey upgrade. 2014-03-28 20:26:32 +00:00
ScriptFunctions.cpp Fixes saving/loading problems introduced in 28bdd8540f. 2014-07-31 14:44:51 +00:00
ScriptFunctions.h # Rewrite of the game's simulation system 2010-01-09 19:20:14 +00:00