few additions to sounds
This commit is contained in:
@@ -74,9 +74,6 @@ void CFunnyGameBridge::Init()
|
||||
g_pKotUI = (IKotUIManager*)fnEngineFactory(KOT_UI_INTEFACE_VERSION, NULL);
|
||||
g_pAudioManager = (IAudioManager*)fnEngineFactory(AUDIO_MANAGER_INTERFACE_VERSION, NULL);
|
||||
g_pAudioManager->Init();
|
||||
IAudio *pAudio = g_pAudioManager->CreateAudio("game/core/sounds/bonk.wav");
|
||||
IAudioPlayer *pAudioPlayer = pAudio->SpawnPlayer();
|
||||
pAudioPlayer->StartAt(0.35);
|
||||
|
||||
g_pKotUI->ConnectInterface(g_pRenderContext, RENDER_CONTEXT_INTERFACE_VERSION);
|
||||
g_pKotUI->Init();
|
||||
|
||||
Reference in New Issue
Block a user