Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Record advance time #457

Merged
merged 34 commits into from
Nov 10, 2024
Merged
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
a9887ba
remove duplicate include
NQNStudios Sep 23, 2024
c705775
record and replay cancelling item target mode
NQNStudios Sep 23, 2024
670ef92
record and validate advance_time() calls with --advance-time
NQNStudios Sep 23, 2024
cbc559b
fix some advance_time cases
NQNStudios Sep 24, 2024
730a7bb
missing advance_time print last command
NQNStudios Sep 24, 2024
3e2b3ea
after advance_time with wrong args, print last action type
NQNStudios Sep 25, 2024
8954ce2
fix an advance_time case
NQNStudios Sep 25, 2024
fc67811
fix replay behavior of item stats window buttons
NQNStudios Sep 25, 2024
fd8058e
fix advancee_time behavior of more actions
NQNStudios Sep 25, 2024
c63dce5
discard control_click when tracking last_action_type
NQNStudios Sep 25, 2024
8725288
fix more advance_time cases
NQNStudios Sep 25, 2024
a8102da
fix more advance_time calls
NQNStudios Sep 25, 2024
11ed073
fix more advance_time calls
NQNStudios Sep 25, 2024
96e3935
fix parsing display_spells and display_skills actions
NQNStudios Sep 25, 2024
c877eed
fix more advance_time
NQNStudios Sep 25, 2024
091fd87
TODO comment on adj_town_look()
NQNStudios Sep 25, 2024
efa5893
change --advance-time to --verbose, w/ better replay behavior
NQNStudios Sep 25, 2024
762feec
fix an advance_time case
NQNStudios Sep 25, 2024
382dfaf
fix more advance_time cases
NQNStudios Sep 25, 2024
ab2cabe
consistent advance_time behavior for display_map key vs. button
NQNStudios Sep 25, 2024
b60ccaa
fix more advance_time cases
NQNStudios Sep 25, 2024
9ef5643
fix a new crash at end of replay log
NQNStudios Sep 25, 2024
cc7c8b4
fix more advance_time cases
NQNStudios Sep 25, 2024
081578c
replay load_party() more accurately
NQNStudios Sep 25, 2024
47b4456
handle last (?) advance_time case
NQNStudios Sep 25, 2024
c2ef6e2
replay test bash script (tested, works on mac)
NQNStudios Sep 25, 2024
e89f1e9
prefix action debug prints
NQNStudios Sep 26, 2024
147ad4e
rename control_click to click_control
NQNStudios Sep 26, 2024
24f49c7
remove TODOs
NQNStudios Sep 26, 2024
2122227
call advance_time for cancel_item_target
NQNStudios Sep 26, 2024
0eb48d9
make cosmetic advance_time() mismatches warnings unless --strict
NQNStudios Sep 26, 2024
e21b1d8
thoroughness level 2 - use --strict
NQNStudios Sep 26, 2024
76e76d8
make build_scen_headers use cdata
NQNStudios Nov 10, 2024
3ac948c
wrap load_party base64 data
NQNStudios Nov 10, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/game/boe.main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -602,13 +602,14 @@ static void replay_next_action() {
return;
}else if(t == "handle_toggle_active"){
handle_toggle_active(need_reprint);
return;
}else if(t == "handle_parry"){
handle_parry(did_something, need_redraw, need_reprint);
}else if(t == "handle_monster_info_menu"){
handle_monster_info_menu(boost::lexical_cast<int>(next_action.GetText()));
return;
}else if(t == "cancel_item_target"){
cancel_item_target();
return;
CelticMinstrel marked this conversation as resolved.
Show resolved Hide resolved
}else if(t == "advance_time"){
throw std::string { "Replay system internal error! advance_time() was supposed to be called by the last action, but wasn't: " } + _last_action_type;
}else{
Expand Down