mirror of
https://github.com/BanjoRecomp/BanjoRecomp
synced 2026-08-16 04:43:44 -04:00
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
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user