1
0
forked from 0ad/0ad
0ad/source/simulation2/serialization
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
..
BinarySerializer.cpp Fixes broken PCH after wraitii commits (4f972bc623, 0f60bf3a97) and Itms (833c9f108c). 2021-05-15 14:50:24 +00:00
BinarySerializer.h Fix some warnings. 2021-05-02 15:45:40 +00:00
DebugSerializer.cpp Split off JSON-related function from ScriptInterface, clean up headers. 2021-05-14 10:18:03 +00:00
DebugSerializer.h Replace deprecated jsval with JS::Value. 2017-08-28 10:27:36 +00:00
HashSerializer.cpp Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00
HashSerializer.h Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00
IDeserializer.cpp Fix invalid count for entityMaps 2014-03-05 14:58:17 +00:00
IDeserializer.h Correctly serialize/deserialize user-defined JS objects. 2020-12-27 17:18:13 +00:00
ISerializer.cpp Exact stack rooting for ScriptInterface::ToString. 2014-08-03 17:29:49 +00:00
ISerializer.h Fix building without precompiled headers. 2020-11-18 11:35:36 +00:00
SerializedPathfinder.h Commit new files forgotten in 5b46ce0778 2020-12-19 09:48:11 +00:00
SerializedScriptTypes.h Fix atlas crash with RM capture the relic. 2021-06-07 18:48:16 +00:00
SerializedTypes.h Commit new files forgotten in 5b46ce0778 2020-12-19 09:48:11 +00:00
SerializeTemplates.h Use templates to replace explicit serialization helpers. 2020-12-19 09:10:37 +00:00
StdDeserializer.cpp Fixes broken PCH after wraitii commits (4f972bc623, 0f60bf3a97) and Itms (833c9f108c). 2021-05-15 14:50:24 +00:00
StdDeserializer.h Removes unused containers included in headers. 2021-03-03 23:01:08 +00:00
StdSerializer.cpp Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00
StdSerializer.h Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00