mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-08-11 03:03:27 -04:00
36 lines
650 B
C
36 lines
650 B
C
#include <ultra64.h>
|
|
#include "constants.h"
|
|
#include "bss.h"
|
|
#include "lib/lib_317f0.h"
|
|
#include "data.h"
|
|
#include "types.h"
|
|
|
|
void bcutsceneInit(void)
|
|
{
|
|
s32 i;
|
|
s32 j;
|
|
|
|
g_Vars.currentplayer->bondmovemode = MOVEMODE_CUTSCENE;
|
|
|
|
for (i = 0; i < PLAYERCOUNT(); i++) {
|
|
g_Vars.players[i]->joybutinhibit = 0xffffffff;
|
|
|
|
// @bug? Should this be < 2?
|
|
for (j = 0; j < 1; j++) {
|
|
struct hand *hand = &g_Vars.players[i]->hands[j];
|
|
|
|
if (hand->audiohandle && sndGetState(hand->audiohandle) != AL_STOPPED) {
|
|
audioStop(hand->audiohandle);
|
|
hand->audiohandle = NULL;
|
|
}
|
|
|
|
hand->firing = false;
|
|
}
|
|
}
|
|
}
|
|
|
|
void bcutsceneTick(void)
|
|
{
|
|
// empty
|
|
}
|