record and replay checking journal
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
#include "view_dialogs.hpp"
|
||||
#include "tools/cursors.hpp"
|
||||
#include "utility.hpp"
|
||||
#include "replay.hpp"
|
||||
|
||||
short mage_spell_pos = 0,priest_spell_pos = 0,skill_pos = 0;
|
||||
|
||||
@@ -604,6 +605,9 @@ static void fill_journal(cDialog& me) {
|
||||
}
|
||||
|
||||
void journal() {
|
||||
if(recording){
|
||||
record_action("journal", "");
|
||||
}
|
||||
if(univ.party.journal.empty()) {
|
||||
ASB("Nothing in your events journal.");
|
||||
print_buf();
|
||||
|
@@ -348,8 +348,10 @@ static void replay_next_action() {
|
||||
handle_new_pc_graphic();
|
||||
}else if(t == "handle_rename_pc"){
|
||||
handle_rename_pc();
|
||||
}else if (t == "handle_new_pc"){
|
||||
}else if(t == "handle_new_pc"){
|
||||
handle_new_pc();
|
||||
}else if(t == "journal"){
|
||||
journal();
|
||||
}
|
||||
|
||||
// TODO some of these actions shouldn't call advance_time(). They should return
|
||||
@@ -695,7 +697,6 @@ void handle_menu_choice(eMenu item_hit) {
|
||||
break;
|
||||
|
||||
case eMenu::OPTIONS_JOURNAL:
|
||||
// TODO record and replay
|
||||
journal();
|
||||
break;
|
||||
case eMenu::OPTIONS_TALK_NOTES:
|
||||
|
Reference in New Issue
Block a user