Commit Graph

86 Commits

Author SHA1 Message Date
51e6da15e2 Truncate alchemy ingredients if overlapping recipe cost 2025-05-11 10:50:06 -05:00
30e77633e4 Fix item name rect stealing clicks from ID button 2025-05-11 10:50:05 -05:00
aeaee9bbdb Debug action to fix the elusive font corruption bug 2025-05-11 10:49:38 -05:00
daaca32e53 fix keyboard movement I broke & remove terrain_click array 2025-05-11 10:49:24 -05:00
a53650f737 WIP standardize mouse position translation 2025-05-11 10:49:21 -05:00
6f3e61899e Debug action: apply status effect 2025-03-19 19:31:22 -05:00
30ed4a11b6 debug action: hurt party members 2025-03-19 19:31:21 -05:00
5cfc6ba328 Fix all the compile warnings that occur on Mac.
(Except the OpenGL deprecation warning and some warnings coming from Boost.Process.)
2025-03-08 20:43:04 -05:00
dad1342cab eating don't trigger autosave while resting 2025-03-07 08:43:16 -05:00
14c36ed5a8 Debug action: crash the game 2025-03-06 21:24:07 -05:00
92f698cc57 Debug actions to quick-launch core scenarios 2025-03-02 01:15:53 -05:00
bbddbefa99 Debug action: clear trapped souls 2025-02-27 08:55:56 -05:00
c7ec0e3a85 Debug action: fill active PC's inventory 2025-02-23 19:19:42 -05:00
60b178d6e8 Debug action to save out (and keep saving) the log in memory 2025-02-23 09:38:23 -06:00
7383b39e69 Debug action: Preview every dialog layout 2025-02-15 16:04:32 -05:00
46c102257b make give_help()'s force_help a bool arg 2025-02-15 11:19:44 -05:00
0a5abec8e1 Debug action: kill the party 2025-02-10 20:44:55 -05:00
e4c97d2088 Merge pull request #551 from NQNStudios:keys
Refactor Debug Keys

* Collect debug keys into a central location so that the debug help dialog can automatically list every defined debug key.
* Add buttons so that debug actions can be taken directly from the debug help dialog.
* Add new debug keys to immediately fight an encounter from the current outdoor section.
2025-02-02 13:56:38 -05:00
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
e9997eb9ba new debug action: fight an outdoor encounter 2025-01-25 21:46:25 -06:00
b1efc03029 Huge makeover for debug keys 2025-01-25 19:45:08 -06: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