MCPcopy Create free account
hub / github.com/crashfort/SourceDemoRender / Load

Method Load

Projects/Library/Interface/LibraryInterface.cpp:114–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114void SDR::Library::Load()
115{
116 auto localdata = std::make_unique<LoadFuncData>();
117
118 try
119 {
120 localdata->Create(SDR::LauncherCLI::StageType::Load);
121
122 SDR::Setup();
123 SDR::Log::Message("{dark}SDR: {green}Source Demo Render loaded\n");
124
125 /*
126 Give all output to the game console now.
127 */
128 Console::Load();
129
130 localdata->Failure = false;
131 }
132
133 catch (const SDR::Error::Exception& error)
134 {
135 return;
136 }
137}
138
139const char* SDR::Library::GetGamePath()
140{

Callers

nothing calls this directly

Calls 3

MessageFunction · 0.85
LoadFunction · 0.50
CreateMethod · 0.45

Tested by

no test coverage detected