Partial support for WAV sound playback, which apparently will be needed for
IHNM support. I used the partial IHNM intro as my test case, and it seems to work that far at least. svn-id: r15827
This commit is contained in:
parent
7adc1f419f
commit
f80bdba62f
3 changed files with 77 additions and 0 deletions
|
@ -276,6 +276,14 @@ int Scene::IHNMHateProc(int param, SCENE_INFO *scene_info) {
|
|||
|
||||
q_event = _vm->_events->queue(&event);
|
||||
|
||||
event.type = ONESHOT_EVENT;
|
||||
event.code = VOICE_EVENT;
|
||||
event.op = EVENT_PLAY;
|
||||
event.param = 0;
|
||||
event.time = 0;
|
||||
|
||||
q_event = _vm->_events->queue(&event);
|
||||
|
||||
_vm->_anim->setFlag(0, ANIM_LOOP);
|
||||
_vm->_anim->play(0, 0);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue