summaryrefslogtreecommitdiff
path: root/include/fox_record.h
blob: 531b6c422615949215aee52db3fe9fbe51ef474f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/**
 * Used to reproduce recordings made from real N64 hardware
 * to accurately reproduce Cutscenes at the correct speed.
 * These recordings adjust gVisPerFrame during runtime to produce
 * the same behaviour as the original game.
 */
#ifndef N64_RECORD_H
#define N64_RECORD_H

#include "global.h"

typedef struct Record {
    u8 vis;
    u16 frame;
} Record;

extern Record gCarrierCutsceneRecord[13];

void UpdateVisPerFrameFromRecording(Record* record, s32 maxFrames);
void UpdateVisPerFrameFromRecording_Ending(Record* record, s32 maxFrames);

#endif