MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / DataNotFound

Method DataNotFound

Source/Fodder.cpp:3602–3613  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3600}
3601
3602void cFodder::DataNotFound() {
3603 g_Debugger->Error("No game data could be found, including the demos, have you installed the data pack?");
3604
3605 g_Debugger->Error("We are looking for the 'Data' directory in: ");
3606 for (auto path : g_ResourceMan->getAllPaths()) {
3607 g_Debugger->Error(path);
3608 }
3609
3610 g_Debugger->Error("Press enter to quit");
3611 std::cin.get();
3612 exit(1);
3613}
3614
3615void cFodder::Prepare(std::shared_ptr<sFodderParameters> pParams) {
3616 mParams = std::make_shared<sFodderParameters>(*pParams);

Callers

nothing calls this directly

Calls 3

ErrorMethod · 0.80
getAllPathsMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected