Files
BanjoRecomp/patches/note_saving.h
Wiseguy e7185d889e Note saving (#30)
* WIP note saving implementation

* Fix note saving affecting other files

* Prevent note collection in demo playback for safety

* Cache note saving enabled while in the lair or file select to prevent it changing in levels with notes

* Prevent "Grunty's magic" note dialog from being shown if note saving is enabled

* Implement dynamically spawned note saving

* Properly clear loaded save extension data when score status is cleared

* Hook up menu for note saving
2025-12-30 21:41:30 -05:00

18 lines
506 B
C

#ifndef __NOTE_SAVING_H__
#define __NOTE_SAVING_H__
#include "prop.h"
void init_note_saving();
void calculate_map_start_note_indices();
// Notes are always saved, but this function controls whether to use the saved data to prevent notes from spawning and adjust the note score.
bool note_saving_enabled();
void note_saving_on_map_load();
void note_saving_update();
void note_saving_handle_static_note(Cube *c, Prop *p);
void note_saving_handle_dynamic_note(Actor *actor, ActorMarker *marker);
#endif