MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / ShowHint

Method ShowHint

engine/Poseidon/UI/InGame/InGameUIMenuSim.cpp:1746–1759  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1744 IWave* wave = GSoundScene->OpenAndPlayOnce2D(_hintSound.name, _hintSound.vol, _hintSound.freq, false);
1745 if (wave)
1746 {
1747 wave->SetKind(WaveMusic); // UI sounds considered music???
1748 GSoundScene->AddSound(wave);
1749 }
1750 }
1751}
1752
1753} // namespace Poseidon

Callers

nothing calls this directly

Calls 5

SetHintMethod · 0.80
OpenAndPlayOnce2DMethod · 0.80
AddSoundMethod · 0.80
GetLengthMethod · 0.45
SetKindMethod · 0.45

Tested by

no test coverage detected