mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-07-29 07:32:16 -04:00
42 lines
887 B
C
42 lines
887 B
C
#include <ultra64.h>
|
|
#include "constants.h"
|
|
#include "game/data/data_000000.h"
|
|
#include "game/data/data_0083d0.h"
|
|
#include "game/data/data_00e460.h"
|
|
#include "game/data/data_0160b0.h"
|
|
#include "game/data/data_01a3a0.h"
|
|
#include "game/data/data_020df0.h"
|
|
#include "game/data/data_02da90.h"
|
|
#include "gvars/gvars.h"
|
|
#include "lib/lib_317f0.h"
|
|
#include "types.h"
|
|
|
|
void currentPlayerSetMoveModeCutscene(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 && func000337f0(hand->audiohandle)) {
|
|
audioStop(hand->audiohandle);
|
|
hand->audiohandle = NULL;
|
|
}
|
|
|
|
hand->unk063c = 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
void func0f0c37c0(void)
|
|
{
|
|
// empty
|
|
}
|