Commit Graph

1442 Commits

Author SHA1 Message Date
43350e4e09 handle several one-step actions 2024-08-03 12:30:08 -04:00
1e68d32543 DRY retrieval of some types from replay action 2024-08-03 12:30:08 -04:00
40cec6e861 move replaying into the event loop 2024-08-03 12:30:08 -04:00
d9cf1c8fae record and replay switching active PC 2024-08-03 12:30:08 -04:00
41f88c9f58 container controls replay child control clicks 2024-08-03 12:30:08 -04:00
0a3aa97b59 Fix #318 2024-08-01 23:11:27 -04:00
fc083c6fcc make function static 2024-07-31 19:58:19 -04:00
e27165683c cleaner switch declarations 2024-07-31 19:58:19 -04:00
9c1a5b98e1 led groups replay specific led click 2024-07-31 19:58:19 -04:00
9d5c2e4fe1 revert control_focus recording/replaying 2024-07-31 19:58:19 -04:00
afca0dc85d mac replay preferences 2024-07-31 19:58:19 -04:00
49c62aa985 don't replay events for empty id controls 2024-07-31 19:58:19 -04:00
0935b9ce19 allow empty string for action info element 2024-07-31 19:58:19 -04:00
e1bfea8302 mac record preferences 2024-07-31 19:58:19 -04:00
4d0806a9cf MacOS don't try to load 'record' or 'replay' 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
902fdb7a61 put extern forward-declarations first 2024-07-28 17:07:33 -04:00
b7692c2fa6 use specific stringstream types 2024-07-28 17:07:33 -04:00
6d2e8a807b use nullptr 2024-07-28 17:07:33 -04:00
756cf658d6 when replaying, don't open file browsers 2024-07-28 17:07:33 -04:00
3744005f68 record and replay startup button clicks 2024-07-28 17:07:33 -04:00
bf724951c5 record and replay control focus events 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
a7925affc5 replay control clicks in open dialogs 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
acd7bb4080 record clicks on dialog controls 2024-07-28 17:07:33 -04:00
a0be5abc08 allow recording action with multiple parameters 2024-07-28 17:07:33 -04:00
d23d5c5857 replay movement actions 2024-07-28 17:07:33 -04:00
53d4bc2898 only record movement in recording mode 2024-07-28 17:07:33 -04:00
1640ba9a79 no spaces after ifs 2024-07-28 17:07:33 -04:00
37ca8188c1 record movement actions 2024-07-28 17:07:33 -04:00
54ac26b4da allow parsing locations 2024-07-28 17:07:33 -04:00
945a4f14a0 fix command-line arg docs 2024-07-28 17:07:33 -04:00
047c471607 finish_load_party() 2024-07-28 17:07:33 -04:00
b749b6377a put decoded replay save in tempDir 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
09640e444a include string and sstream directly 2024-07-28 17:07:33 -04:00
27d35ed7dc don't double-compile ticpp.cpp 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
196c5d784a allow providing base filename for log recording 2024-07-28 17:07:33 -04:00
3f69819c35 don't save preferences when replaying 2024-07-28 17:07:33 -04:00
7ea9810b09 windows and linux record preferences at startup 2024-07-28 17:07:33 -04:00
cbfddc26ab pre-declare action log vars/functions for global use 2024-07-28 17:07:33 -04:00
669d7dcb5c record and replay srand() in an action log 2024-07-28 17:07:33 -04:00
7cb1770059 Fix #314 2024-07-06 00:21:47 -04:00