0ad/source/simulation2
phosit 9a526bcae1
Throw error when simulation script can't be loaded
When a script in "simulation/helpers/" contained an error. Files in
"simulation/components" aren't loaded. The return value of
`LoadDefaultScripts` indicated an error but was ignored. The simulation
still tried to start.

Now instead of returning a ignoreable error code the error is thrown. In
the common path the error is implicitly rethrown to the JS-function
which tried to start the game.

fixes: #8133
2025-11-20 19:38:36 +01:00
..
components Fix -Wunnecessary-virtual-specifier warnings 2025-11-11 21:35:01 +01:00
docs Remove UNUSED 2025-06-26 17:25:05 +02:00
helpers Remove ScriptTypes and ScriptExtraHeaders headers 2025-09-14 13:17:18 +02:00
scripting Fix includes in source/simulation2 2025-08-07 20:00:49 +02:00
serialization Remove ScriptTypes and ScriptExtraHeaders headers 2025-09-14 13:17:18 +02:00
system Fix EntityMap::iterator 2025-11-11 21:35:01 +01:00
tests Throw error when simulation script can't be loaded 2025-11-20 19:38:36 +01:00
MessageTypes.h Fix includes in source/simulation2 2025-08-08 07:10:11 +02:00
Simulation2.cpp Throw error when simulation script can't be loaded 2025-11-20 19:38:36 +01:00
Simulation2.h Throw error when simulation script can't be loaded 2025-11-20 19:38:36 +01:00
TypeList.h Store whether a player is activ in C++ 2025-01-05 19:57:12 +01:00