MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / loadSounds

Method loadSounds

ogsr_engine/xr_3da/GameMtlLib.cpp:166–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164}
165
166void CGameMtlLibrary::loadSounds()
167{
168 CTimer timer;
169 timer.Start();
170
171#pragma todo("SIMP: новый код падает, вероятно не хватает мьютексов где-то")
172 for (auto* it : material_pairs)
173 {
174 //TTAPI->submit_detach([](SGameMtlPair* pair) { pair->CreateAllSounds(); }, it);
175 it->CreateAllSounds();
176 }
177
178 //TTAPI->wait_for_tasks();
179
180 Msg("* [%s]: sounds creating time: [%.3f s.]", __FUNCTION__, timer.GetElapsed_sec());
181}
182
183void CGameMtlLibrary::loadParticles()
184{

Callers

nothing calls this directly

Calls 3

MsgFunction · 0.85
CreateAllSoundsMethod · 0.80
StartMethod · 0.45

Tested by

no test coverage detected