0ad/source/simulation2
Yves e818b08344 Better support for SpiderMonkey rooted types in the ScriptInterface.
* Adds additional overloads/specializations which are required when
passing JS::Handle<T>/JS::MutableHandle<T> types to different functions.
* Replaces GetPropertyJS with a GetProperty specialization.
* Allows us to avoid the implementation of ToJSVal specializations for
JS::Value and JS::HandleValue. Such conversions should only happen if
there's no way around it and if you are aware of it.
* Adds test to make sure that all potentially required specializations
with custom implementations are instantiated. This should help prevent
introducing bugs in temporarily unused code.

Refs #2415

This was SVN commit r15567.
2014-07-26 20:31:29 +00:00
..
components Some changes on the VisibilityUpdate message system, aimed at correcting recent OOS problems. 2014-07-26 16:02:18 +00:00
docs Updates example component documentation 2013-02-26 19:58:51 +00:00
helpers fix compiling problem caused by 8226d75715 2014-01-07 14:37:02 +00:00
scripting Changes ToJSVal to take JS::MutableHandleValue instead of JS::Value&. 2014-07-14 19:52:35 +00:00
serialization Second (main) commit for the SpiderMonkey upgrade. 2014-03-28 20:26:32 +00:00
system Better support for SpiderMonkey rooted types in the ScriptInterface. 2014-07-26 20:31:29 +00:00
tests Changes ToJSVal to take JS::MutableHandleValue instead of JS::Value&. 2014-07-14 19:52:35 +00:00
MessageTypes.h Add a VisibilityChanged message sent by the range manager whenever an entity changes visibility for any player. 2014-07-10 20:51:39 +00:00
Simulation2.cpp Fixes compartment mismatch introduced in a5ebd8dafd. 2014-07-26 10:58:24 +00:00
Simulation2.h Removes g_ScriptingHost and implements global to compartment 1 to 1 relation. 2014-01-04 10:14:53 +00:00
TypeList.h Add a VisibilityChanged message sent by the range manager whenever an entity changes visibility for any player. 2014-07-10 20:51:39 +00:00