summaryrefslogtreecommitdiff
path: root/include/fox_record.h
blob: 1fbfd3ffefd81d5d38613090e33d8f66b2838453 (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 u8 gCarrierCutsceneRecord[200];

void UpdateVisPerFrameFromRecording(u8* record, s32 maxFrames);
void UpdateVisPerFrameFromRecording2(Record* record, s32 maxFrames);

#endif