MCPcopy Create free account
hub / github.com/Siv3D/OpenSiv3D / CheckEngine

Function CheckEngine

Siv3D/src/Siv3D/Script/SivScript.cpp:23–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21 namespace detail
22 {
23 static void CheckEngine()
24 {
25 if (not Siv3DEngine::isActive())
26 {
27 Troubleshooting::Show(Troubleshooting::Error::AssetInitializationBeforeEngineStartup, U"Script");
28 std::exit(EXIT_FAILURE);
29 }
30 }
31 }
32
33 template <>

Callers 2

AssetIDWrapperMethod · 0.70
ScriptMethod · 0.70

Calls 2

isActiveFunction · 0.85
ShowFunction · 0.50

Tested by

no test coverage detected