0ad/source/ps/GameSetup
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
..
tests Remove custom span and use std::span 2025-08-24 11:09:57 +02:00
Atlas.cpp Fix some includes in source/ps 2025-07-28 16:59:04 +02:00
Atlas.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
CmdLineArgs.cpp Remove custom span and use std::span 2025-08-24 11:09:57 +02:00
CmdLineArgs.h Remove custom span and use std::span 2025-08-24 11:09:57 +02:00
Config.cpp Fix includes in source/ps 2025-08-03 15:57:56 +02:00
Config.h Fix includes in source/ps 2025-08-05 07:21:22 +02:00
GameSetup.cpp Throw error when simulation script can't be loaded 2025-11-20 19:38:36 +01:00
GameSetup.h Don't use std::shared_ptr to store m_ScriptContext and m_ScriptInterface in the CGUIManager 2024-06-27 19:09:30 +00:00
HWDetect.cpp Adds ARM Neon to report 2025-10-13 19:57:52 +02:00
HWDetect.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
Paths.cpp Fix some includes in source/ps 2025-07-28 16:59:04 +02:00
Paths.h Fix includes in source/ps 2025-08-05 07:21:22 +02:00