diff options
Diffstat (limited to 'include/fox_record.h')
| -rw-r--r-- | include/fox_record.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/fox_record.h b/include/fox_record.h new file mode 100644 index 00000000..1fbfd3ff --- /dev/null +++ b/include/fox_record.h @@ -0,0 +1,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 |
