Commit Graph

846 Commits

Author SHA1 Message Date
c38c79b12b no default repeat spells & buf message when none stored
Fix #535
2025-01-20 13:41:49 -06:00
ead987fff7 default to legacy directional key behavior 2025-01-20 12:50:49 -06:00
1c1d00f4af implement the preference with an LED group for clarity 2025-01-20 09:13:36 -06:00
37640bf349 fix compiler warnings 2025-01-20 09:41:29 -05:00
f545ce5333 slight simplification 2025-01-20 09:33:13 -05:00
3a5a02202b print remaining enemies when can't end combat 2025-01-20 09:29:21 -05:00
94b63dee49 when checking if outdoor enemies are alive, count types 2025-01-20 09:29:21 -05:00
17a4c25d3c Merge pull request #534 from NQNStudios:fix-479
Fixing text buffer texture/font corruption (#479)

* #479 demonstrates that the contents of the text buffer are NOT irrelevant for reproducing bugs. So I set up recording/replay for the burma shave easter egg. This also makes an easy way to mess with the buffer state when debugging (just mash &/\*/&/\*/&/\* n times)
* When a replay throws an error, it puts up a showError() dialog. If the next action is a control_click, the system will try to click that control on the error dialog--which is totally divergent from the replay's intended behavior. So we should just stop replaying when an error happens.
* If you have a long replay and want to run it very fast, but then slow down when you get to the sequence that reproduces your bug, now you can add a `<change_fps>` to your replay to achieve that.
* Fixes for the 2 legacy replay errors that I opened recently

Fix #479 
Fix #532 
Fix #533
2025-01-20 09:10:17 -05:00
dbe92c00b5 Implement a preference for this feature 2025-01-18 19:09:20 -06:00
ed1d650450 directional key screen-shift 2025-01-18 18:57:45 -06:00
0ae90ea695 prevent out-of-bounds on empty name string 2025-01-18 15:00:01 -06:00
df02f79ab8 fix explosions breaking old replays 2025-01-16 16:53:36 -06:00
afa79bcc5d prevent edge case in interrupting replays 2025-01-16 16:53:36 -06:00
62313e5bd6 allow interrupting replay 2025-01-16 16:53:34 -06:00
2d824e869e Encode startup buttons as string in replays, fix #533 2025-01-16 16:53:27 -06:00
041b08a9af don't overwrite debug party from editor 2025-01-15 23:05:53 -05:00
5d1532afda all launch types can reset story 2025-01-15 23:05:53 -05:00
832ceffe8e launch from start: restart scenario if already in it 2025-01-15 23:05:53 -05:00
3b3d4fd4f8 catch on the same line 2025-01-15 23:05:53 -05:00
9739ab2f61 add 2 more launch types 2025-01-15 23:05:53 -05:00
3db902ea37 clarify arg error messages 2025-01-15 23:05:53 -05:00
bf08f03b52 put cases on same line 2025-01-15 23:05:53 -05:00
0742fe5fe0 error message suggest non-paren location 2025-01-15 23:05:53 -05:00
4d005cda2a More succinct using statements
Co-authored-by: Celtic Minstrel <CelticMinstrel@users.noreply.github.com>
2025-01-15 23:05:53 -05:00
31cb2d7cab merge and parse location arguments 2025-01-15 23:05:53 -05:00
24e63e55cb parse N, S, E, W 2025-01-15 23:05:53 -05:00
ad7a7e3fae search default paths for scenarios when unqualified --scenario input 2025-01-15 23:05:53 -05:00
17ea769bab start the party in the outdoor section of the forced town 2025-01-15 23:05:53 -05:00
e6a6707c36 skip intro dialog and special node when cli launches a scenario 2025-01-15 23:05:53 -05:00
a99b4be663 shift-O print outdoor section and local/global position 2025-01-15 23:05:52 -05:00
b1e7021b7a implement outdoor x,y command-line args 2025-01-15 23:05:52 -05:00
0addd214da debug_leave_town redraw terrain immediately 2025-01-15 23:05:52 -05:00
b268729cd1 handle --town option with --entrance or --x, --y 2025-01-15 23:05:52 -05:00
d5709e3601 organize and document cli args 2025-01-15 23:05:52 -05:00
42120f2d03 Clara path parameters must be std::string to parse >1 token 2025-01-15 23:05:52 -05:00
c1adc48799 add more scenario args and validation logic 2025-01-15 23:05:52 -05:00
0a815bc50c load a scenario from the command-line 2025-01-15 23:05:52 -05:00
5936b1c579 global vector for extra scenario directories 2025-01-15 23:05:52 -05:00
4b8a416509 change_fps action for debugging replays 2025-01-15 15:10:53 -06:00
a3cd5c9e73 When replay throws an error, stop replaying 2025-01-15 15:07:26 -06:00
4eb425cc91 record and replay the burma shave easter egg 2025-01-15 15:05:10 -06:00
6f0145c285 Revert "always combine_things() after identifying a held item"
This reverts commit 364712ef9e.
2025-01-08 23:06:44 -05:00
12a6850992 line break to show all of recharge message 2025-01-08 23:06:44 -05:00
3ad8b87417 move all_items_identified into cParty 2025-01-08 23:06:44 -05:00
79bf21cb7d end item target mode when all items are identified 2025-01-08 23:06:44 -05:00
b174dd3fb5 always combine_things() after identifying a held item 2025-01-08 23:06:44 -05:00
1a532a3c6e cancel identify spell if not needed 2025-01-08 23:06:44 -05:00
655796fb5e line break to show all of identify message 2025-01-08 23:06:44 -05:00
b1c7b9bf0b another TODO note for the identify spell 2025-01-08 23:06:44 -05:00
9967100e0a forgot Escape to cancel item target mode 2025-01-08 23:06:44 -05:00