1
0
forked from 0ad/0ad
0ad/source/scriptinterface
wraitii f5f493681d Fix atlas crash with RM capture the relic.
As no default values got set, some game settings became NaN, which
triggered exceptions.
This sets sane default.

This also includes better debugging logic in case of exception, so it's
easier to know what happens.

Fixes #6200

Reported by: langbart
Differential Revision: https://code.wildfiregames.com/D4113
This was SVN commit r25736.
2021-06-07 18:48:16 +00:00
..
tests Fixes broken PCH after wraitii commits (4f972bc623, 0f60bf3a97) and Itms (833c9f108c). 2021-05-15 14:50:24 +00:00
FunctionWrapper.h Remove all external usage of CmptPrivate. Header cleanup. 2021-05-15 13:54:58 +00:00
JSON.cpp Split off JSON-related function from ScriptInterface, clean up headers. 2021-05-14 10:18:03 +00:00
JSON.h Split off JSON-related function from ScriptInterface, clean up headers. 2021-05-14 10:18:03 +00:00
Object.h Fix atlas crash with RM capture the relic. 2021-06-07 18:48:16 +00:00
ScriptContext.cpp Adds std namespace to shared_ptr usages in scriptinterface and simulation. 2021-05-22 19:30:18 +00:00
ScriptContext.h Adds std namespace to shared_ptr usages in scriptinterface and simulation. 2021-05-22 19:30:18 +00:00
ScriptConversions.cpp Split JS conversions from ScriptInterface. 2021-05-13 09:43:33 +00:00
ScriptConversions.h Fixes broken PCH after wraitii commits (4f972bc623, 0f60bf3a97) and Itms (833c9f108c). 2021-05-15 14:50:24 +00:00
ScriptEngine.h Address concerns in 5473393e30 (RL interface) 2021-01-15 16:30:05 +00:00
ScriptExceptions.cpp Split JS conversions from ScriptInterface. 2021-05-13 09:43:33 +00:00
ScriptExceptions.h [SM52 2/2] Update to Spidermonkey 52 APIs. 2020-11-18 14:39:04 +00:00
ScriptExtraHeaders.h Split off JSON-related function from ScriptInterface, clean up headers. 2021-05-14 10:18:03 +00:00
ScriptForward.h Split ScriptRequest in its own header. 2021-05-03 16:07:26 +00:00
ScriptInterface.cpp Adds std namespace to shared_ptr usages in scriptinterface and simulation. 2021-05-22 19:30:18 +00:00
ScriptInterface.h Adds std namespace to shared_ptr usages in scriptinterface and simulation. 2021-05-22 19:30:18 +00:00
ScriptRequest.h Remove all external usage of CmptPrivate. Header cleanup. 2021-05-15 13:54:58 +00:00
ScriptStats.cpp [SM78 2/2] Update to Spidermonkey 78 APIs 2020-12-06 14:03:02 +00:00
ScriptStats.h Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
ScriptTypes.h [SM78 1/2] Upgrade Spidermonkey build system and binaries to 78.6.0 2020-12-06 14:00:57 +00:00
StructuredClone.cpp Fix no-pch build. Potentially fixes bb49fbe793, 0198942a79, 34b1920e7b, 8b08f4ae7a 0dbf417171, 3af1fc64d2, 5fbdbaa3bc, 6fbf036ae4. 2021-05-12 13:48:55 +00:00
StructuredClone.h Split off StructuredClone from ScriptInterface 2021-05-10 11:51:32 +00:00