Commit Graph

2441 Commits

Author SHA1 Message Date
e64ba776be record and replay print_party_stats 2024-08-24 20:04:29 -04:00
9abd80b87d record and replay adventure notes 2024-08-24 20:04:29 -04:00
4e03166bb4 record and replay talk notes 2024-08-24 20:04:29 -04:00
c345a03d75 record and replay checking journal 2024-08-24 20:04:29 -04:00
ec8c412018 record and replay Create new PC 2024-08-24 20:04:29 -04:00
2471a3e005 missed a place to change drop_pc -> handle_drop_pc 2024-08-24 20:04:29 -04:00
bf86d8c3c3 Note another minor bug in Create New PC 2024-08-24 20:04:29 -04:00
4f41ee0f87 Note a minor bug in Create New PC 2024-08-24 20:04:29 -04:00
fc52f11931 fix an include for xcode 2024-08-24 20:04:29 -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
b92ec0b53d drop_pc -> handle_drop_pc 2024-08-24 20:04:29 -04:00
4834d9b135 record and replay renaming PCs 2024-08-24 20:04:29 -04:00
ad9ad3dc3c record and replay text field input 2024-08-24 20:04:29 -04:00
f597bbc298 record and replay changing PC graphic 2024-08-24 20:04:29 -04:00
99565b5cef record and replay File->Abort 2024-08-24 20:04:29 -04:00
8b05b5be9a help menu items record show_dialog_action 2024-08-24 20:04:29 -04:00
1617f3af82 TODOs on menu items not recorded/replayed 2024-08-24 20:04:29 -04:00
92870587a8 record and replay preferences menu item 2024-08-24 20:04:29 -04:00
4fcb0ba417 record and replay new party menu item 2024-08-24 20:04:29 -04:00
a7c1d757be record and replay PC deletion 2024-08-24 20:04:29 -04:00
47ceeabddc move real deletion behavior into drop_pc(), keep buffer messages 2024-08-24 20:04:29 -04:00
2513fc113b record and replay several help dialogs 2024-08-24 20:04:29 -04:00
9d31dd3589 record arrow button clicks (cosmetic) 2024-08-24 20:04:29 -04:00
e9b4aae524 istream parse rectangles 2024-08-24 20:04:29 -04:00
336d0e626b Add sample command-line arguments to the Xcode scheme 2024-08-22 23:21: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
d74b11aa31 Reform command-line handling to use Clara, which is bundled with Catch 2024-08-22 23:21:29 -04:00
8801d17ed5 Fix crash due to erroneous false load AppleEvents when command-line arguments are passed
The fix is just to initialize the dialog subsystem AFTER the main window, causing the AppleEvent handler to output the load failure to the log instead of showing a dialog
2024-08-22 21:53:27 -04:00
f2469d1694 Fix crash when playing a replay with no custom scenarios 2024-08-22 21:53:27 -04:00
d81e613ea1 more DRY overload function implementation 2024-08-22 09:47:06 -04:00
3b6d16a549 always calculate_layout() when recalcRect() is called 2024-08-22 09:47:06 -04:00
5ac49be9df cTextMsg recalculate line breaks on setText() 2024-08-22 09:47:06 -04:00
d5a536c19c encapsulate control.lbl so setText() is required 2024-08-22 09:47:06 -04:00
c08a10867c cTextMsg pre-calculate layout 2024-08-22 09:47:06 -04:00
5f97d8bfb3 refactor win_draw_string() so line wrapping can be cached 2024-08-22 09:47:06 -04:00
39c85e7f3c limit framerate of controls' nested event loops 2024-08-22 09:47:06 -04:00
fe4821cb4e fix CPU spike during intro splash screens 2024-08-22 09:47:06 -04:00
17aec7c73c Fix unit tests 2024-08-22 08:43:53 -04:00
1014d8542b Store creature alert status in saved games 2024-08-21 23:47:44 -04:00
23e0db9922 Add enum for creature status 2024-08-21 23:47:44 -04:00
20c53fb2ed Fix crash if you cancel the scenario selection 2024-08-21 23:47:44 -04:00
2fc097736c fix get_ran() returning out-of-bounds negatives
Fixes #407 and presumably many other pernicious bugs
2024-08-21 23:33:35 -04:00
b624b32284 Seeing \a is just confusing, so make it a constant 2024-08-12 19:27:30 -04:00
9b81cd1902 Fix unit test build on MSVC 64-bit (#404)
The issue stemmed from Catch's default entry point being wmain instead of main, so we just updated the configuration to expect that.
2024-08-10 22:55:06 -04:00
33f7562bfc Use a CDATA section for preferences in replays 2024-08-10 15:47:01 -04:00
4d4ab09395 Update Catch to v2.13.10 2024-08-10 15:16:24 -04:00
30e583b1d4 Address compile warnings (Xcode 12) in the editors 2024-08-10 12:58:01 -04:00
84b649a107 Fix dead store warnings from static analysis of the scenario editor 2024-08-10 12:45:35 -04:00
3931d20c4a Fix some undefined behaviour detected by static analysis in the scenario editor 2024-08-10 12:45:09 -04:00