summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSonic Dreamcaster <alejandro.asenjo88@gmail.com>2025-05-06 10:31:07 -0300
committerSonic Dreamcaster <alejandro.asenjo88@gmail.com>2025-05-06 10:31:07 -0300
commitd02bae05950bedbb973cd35cfdc27636dbee9e74 (patch)
tree5784be7136287b5aaee924f2dab09408f1d789e0 /include
parent3a21c8c5d6c0d564a417130c07dfef620c0de4bf (diff)
N64 Recorded Cutscene Timings for Corneria, Meteo, Macbeth and Sector Y Bosses
Diffstat (limited to 'include')
-rw-r--r--include/fox_record.h22
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