Jeck - As prior, but for sounds and music as well. Use CommonRes->ssLoadMusic / CommonRes->ssLoadSample.

This commit is contained in:
wagic.jeck
2009-08-27 06:31:38 +00:00
parent 5e14efed3c
commit 807eea7ddb
10 changed files with 644 additions and 629 deletions

View File

@@ -103,7 +103,7 @@ void Credits::compute(Player * _p1, Player * _p2, GameApp * _app){
options.save();
}
if (unlocked){
JSample * sample = SampleCache::GetInstance()->getSample("sound/sfx/bonus.wav");
JSample * sample = SampleCache::GetInstance()->getSample("bonus.wav");
if (sample) JSoundSystem::GetInstance()->PlaySample(sample);
}
}