Commit Graph

34 Commits

Author SHA1 Message Date
c81e56baf9 make cosmetic advance_time() mismatches warnings unless --strict 2024-11-10 00:32:17 -05:00
d47249b404 rename control_click to click_control 2024-11-10 00:32:17 -05:00
56f3337e6f prefix action debug prints 2024-11-10 00:32:17 -05:00
1a6f005a36 change --advance-time to --verbose, w/ better replay behavior 2024-11-10 00:32:17 -05:00
22ffc1201b discard control_click when tracking last_action_type 2024-11-10 00:32:17 -05:00
d5aa280e4a record and validate advance_time() calls with --advance-time 2024-11-10 00:32:17 -05:00
33a2df5145 combine the conditional compilation block 2024-09-15 22:14:53 -04:00
46f48b94ed compile-guard some git logging for MSBuild 2024-09-15 22:14:53 -04:00
640492a428 record the git repo 2024-09-15 22:14:53 -04:00
d5df0e4e8f record SHA, tag, and git status in action log 2024-09-15 22:14:53 -04:00
e7a56f08a2 use text for bool representations 2024-09-03 00:08:26 -04:00
4e66edc7e3 prefer lexical_cast over stringstream in record/replay 2024-09-03 00:08:26 -04:00
20bb7e4322 more convenient has_next_action() 2024-09-03 00:08:26 -04:00
36814a7a57 specify include directory for render_shapes.hpp 2024-09-03 00:08:26 -04:00
7a5c865779 record and replay dialog choices 2024-09-03 00:08:26 -04:00
622ba56b2a Apply suggestions from code review
Co-authored-by: Celtic Minstrel <CelticMinstrel@users.noreply.github.com>
2024-08-24 20:04:29 -04:00
ad9ad3dc3c record and replay text field input 2024-08-24 20:04:29 -04:00
0e87c730c6 Add a replay speed option so that we can watch the replay in action. 2024-08-22 23:21:29 -04:00
61bf8d327e Inserting a timestamp into the filename isn't great for testing, let's make it optional 2024-08-22 23:21:29 -04:00
33f7562bfc Use a CDATA section for preferences in replays 2024-08-10 15:47:01 -04:00
1e68d32543 DRY retrieval of some types from replay action 2024-08-03 12:30:08 -04:00
0935b9ce19 allow empty string for action info element 2024-07-31 19:58:19 -04:00
10ad8dc9da throw std::strings 2024-07-28 17:07:33 -04:00
4e1c228161 throw error when checking next_action_type() of null 2024-07-28 17:07:33 -04:00
3c3a105ae4 make pop_next_action() return a reference 2024-07-28 17:07:33 -04:00
6d2e8a807b use nullptr 2024-07-28 17:07:33 -04:00
948bb7b525 pop_next_action() iterate through without actually removing 2024-07-28 17:07:33 -04:00
51986ef981 parse std::map of replay action info elements 2024-07-28 17:07:33 -04:00
b81974d915 allow peeking the type of next replay action 2024-07-28 17:07:33 -04:00
a0be5abc08 allow recording action with multiple parameters 2024-07-28 17:07:33 -04:00
31dcb26d9d WIP encode and decode save files in action logs 2024-07-28 17:07:33 -04:00
542822885c action log has_next_action() 2024-07-28 17:07:33 -04:00
20f762f031 refactor without raw pointers 2024-07-28 17:07:33 -04:00
56169abaf5 Reorganize global replay code
Theoretically, the scenario and character editors could also have replay systems
2024-07-28 17:07:33 -04:00