Commit Graph

66 Commits

Author SHA1 Message Date
6fc55ed311 Fix multiple inconsistencies when saving (#550)
* debug_leave_town use same logic as normal town exit. fix #549
* Standardize all save party code paths

Fix #480
Fix #204
Fix #267

* remove file_in_mem now that it is redundant
* Print message when save file not chosen
2025-01-26 12:56:57 -05:00
5dcdd18b3c Merge pull request #537 from NQNStudios:screen-shift-keys
This makes it so arrow keys/numpad can control screen shift when it's available.

When this preference is enabled, #482 will not be an issue (Fix #482). But the player will also miss out on cases where adjacent targeting would be a good thing. I haven't done anything smart to determine whether one mode or the other is better on a case-by-case basis.
2025-01-22 09:28:28 -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
ed1d650450 directional key screen-shift 2025-01-18 18:57:45 -06:00
62313e5bd6 allow interrupting replay 2025-01-16 16:53:34 -06:00
832ceffe8e launch from start: restart scenario if already in it 2025-01-15 23:05:53 -05:00
4eb425cc91 record and replay the burma shave easter egg 2025-01-15 15:05:10 -06:00
df3839ab5d Rearrange startup buttons, add tutorial button with stub event
Fix #173
2024-11-30 20:11:08 -05:00
e4bd05b22a allow canceling Look 2024-11-30 18:37:14 -05:00
a455f5ec6e call advance_time for cancel_item_target 2024-11-10 00:32:17 -05:00
a21b44c238 fix more advance_time cases 2024-11-10 00:32:17 -05:00
f5ed2bf48d fix replay behavior of item stats window buttons 2024-11-10 00:32:17 -05:00
8ff38f2147 record and replay cancelling item target mode 2024-11-10 00:32:17 -05:00
977724dc31 record and replay parrying 2024-09-05 09:25:21 -04:00
8caef91caf record and replay toggle active 2024-09-05 09:25:21 -04:00
6b7b42951d handle all wait types in one action 2024-09-05 09:25:21 -04:00
4e37a0c796 record and replay closing the map 2024-09-05 09:25:21 -04:00
1cc3ca8c5c record and replay showing item info 2024-09-03 00:08:26 -04:00
9b862d848f record dialogue and shop help buttons 2024-09-03 00:08:26 -04:00
d8e5a415a2 record and replay talk to npc 2024-09-03 00:08:26 -04:00
17070a5db6 record and replay begin talk mode 2024-09-03 00:08:26 -04:00
aa047401f7 record and replay trading pc places 2024-09-03 00:08:26 -04:00
9eba2ab4e5 record and replay clicking a PC's HP or SP
printing the SP value was broken, so I also fixed it
2024-09-03 00:08:26 -04:00
a4d36abec6 record and replay the last 2 debug actions 2024-09-03 00:08:26 -04:00
a04ff5d4ad record and replay debug towns forget 2024-09-03 00:08:26 -04:00
3c9f5fa00e record and replay debug increase age 2024-09-03 00:08:26 -04:00
de0ee8a070 record and replay debug trigger victory 2024-09-03 00:08:26 -04:00
f7b367ad72 record and replay debug return to start 2024-09-03 00:08:26 -04:00
dc45c4b8c3 record and replay debug ghost mode 2024-09-03 00:08:26 -04:00
b0433fe1c8 record and replay debug flying 2024-09-03 00:08:26 -04:00
a1072b57e2 record and replay debug stealth, detect life, firewalk 2024-09-03 00:08:26 -04:00
81c815dc48 record and replay debug clear statuses 2024-09-03 00:08:26 -04:00
16b4555469 record and replay debug refresh store items 2024-09-03 00:08:26 -04:00
1ce3d5045a record and replay debug enter town 2024-09-03 00:08:26 -04:00
42f66cf2d8 record and replay debug magic map 2024-09-03 00:08:26 -04:00
4335dd5b76 record and replay debug kill 2024-09-03 00:08:26 -04:00
7182e86e08 record and replay debug leaving town 2024-09-03 00:08:26 -04:00
6c9b5f4a6c record and replay debug stepthrough mode 2024-09-03 00:08:26 -04:00
46f930c353 record and replay debug printing location 2024-09-03 00:08:26 -04:00
1a0dcb2b37 record and replay debug give item 2024-09-03 00:08:26 -04:00
9166e5b0e1 record and replay toggling debug mode 2024-09-03 00:08:26 -04:00
7b14985dd1 record and replay z to show inventory 2024-09-03 00:08:26 -04:00
22727fc17f record and replay using spaces 2024-09-03 00:08:26 -04:00
3bcfbc9f34 record and replay lockpick/bash commands 2024-09-03 00:08:26 -04:00
28d9af4f25 record and replay pause 2024-09-03 00:08:26 -04:00
532a1e3236 record and replay spellcasting 2024-09-03 00:08:26 -04:00
b5fa2db5fd record and replay resting 2024-09-03 00:08:26 -04:00
6c50cf000d refactor look-mode screen shifting into function 2024-09-03 00:08:26 -04:00
bffffc10a0 record and replay looking 2024-09-03 00:08:26 -04:00
27c229c8d9 record and replay beginning look mode 2024-09-03 00:08:26 -04:00