record and replay adventure notes

This commit is contained in:
2024-08-24 14:25:56 -05:00
committed by Celtic Minstrel
parent 4e03166bb4
commit 9abd80b87d
2 changed files with 5 additions and 1 deletions

View File

@@ -494,6 +494,9 @@ static bool adventure_notes_event_filter(cDialog& me, std::string item_hit, eKey
}
void adventure_notes() {
if(recording){
record_action("adventure_notes", "");
}
store_num_i = 0;
store_num_i = univ.party.special_notes.size();
store_page_on = 0;

View File

@@ -354,6 +354,8 @@ static void replay_next_action() {
journal();
}else if(t == "talk_notes"){
talk_notes();
}else if(t == "adventure_notes"){
adventure_notes();
}
// TODO some of these actions shouldn't call advance_time(). They should return
@@ -705,7 +707,6 @@ void handle_menu_choice(eMenu item_hit) {
talk_notes();
break;
case eMenu::OPTIONS_ENCOUNTER_NOTES:
// TODO record and replay
adventure_notes();
break;
case eMenu::OPTIONS_STATS: