Commit Graph

199 Commits

Author SHA1 Message Date
9723ab2ca6 cancel button when editing race/traits 2025-06-02 11:32:19 -05:00
d2118854db don't confirm switch pc spells without changes 2025-06-02 11:32:19 -05:00
fe055e8203 Fix switching PCs when editing spells. Fix #66 2025-06-02 11:32:19 -05:00
961a5b3e1c pcedit fix title of edit spells dialogs 2025-06-02 11:32:19 -05:00
8aae115665 fix pics for edit pc spells dialog 2025-06-02 11:32:19 -05:00
910e4d1031 Fix cursor initialization in pcedit. fix #118 2025-06-02 11:32:19 -05:00
6855fed3e7 Fix pcedit bottom-right version info 2025-06-02 11:32:19 -05:00
8915ad3d08 fix pcedit compilation 2025-05-19 21:41:13 -05:00
3bbb6b7d9d Fix the longstanding xib bug keeping me from editor preferences on mac
fix #496
2025-05-19 21:41:10 -05:00
e900ff2a2e don't show left/right in create new PC skill dialog 2025-05-19 21:41:08 -05:00
77fe44c514 Confirm keep changes before train next PC 2025-05-19 21:41:08 -05:00
bd54d2e753 Show and hide +/- for skills based on can change 2025-05-19 21:41:08 -05:00
61fec3499a when training, display maxed-out skills 2025-05-19 21:41:08 -05:00
04ff2cd903 don't use system beep in training dialog 2025-05-19 21:41:06 -05:00
817951cea3 Fix can't spend last 10 gold on max HP 2025-05-19 21:41:06 -05:00
58107f1856 str("") is unsafe on its own for clearing stream 2025-05-11 10:49:27 -05:00
06624d810c try to fix linker errors without new globals 2025-05-11 10:49:23 -05:00
6f2ae680de declare map_visible to make editors compile
Please forgive me
2025-05-11 10:49:23 -05:00
c63bbd96dc Make cPlayer::give_item() return the reason for failure 2025-03-19 19:31:32 -05:00
599f1030f2 Allow PC to accept item that will stack, even if slots full 2025-03-19 19:31:32 -05:00
eb03632598 Training dialog only show relevant info 2025-03-19 19:31:19 -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
18294b4f1b make fancy file picker function game-specific 2025-03-07 08:43:16 -05:00
Nathan R
598fd4836a Fixed up: Move file-static RenderWindow and RenderTexture instances inside functions to fix GL race condition on startup (#682) 2025-03-06 19:40:40 -05:00
32e644b9f5 some actions shouldn't be recorded in every context 2025-02-23 15:09:32 -06:00
c6f06ea862 DRY food/gold maximums. fix #79 2025-02-16 21:41:47 -05:00
cff8200f02 make give/take gold/food DRY 2025-02-16 21:41:47 -05:00
8cff2428a9 DRY advanced town help. Fix #611 2025-02-16 00:02:22 -05:00
cfbb09a008 Merge pull request #587 from NQNStudios:fix-ranged-anim
Fix some ranged attack animation bugs

Fix #582
Fix #97
2025-02-15 16:03:51 -05:00
46c102257b make give_help()'s force_help a bool arg 2025-02-15 11:19:44 -05:00
576a40b3e1 make give_help() DRY 2025-02-15 11:19:44 -05:00
d3dff69d1a Fix a help dialog that appears in the top-left 2025-02-15 11:19:44 -05:00
f24283e0e2 location helper functions for camera work 2025-02-13 09:47:57 -06:00
c20dbbf88e DRY launch doc url 2025-02-07 09:51:45 -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
37640bf349 fix compiler warnings 2025-01-20 09:41:29 -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
34785c3254 fix check_for_interrupt stubs in editors 2025-01-16 16:53:37 -06:00
62313e5bd6 allow interrupting replay 2025-01-16 16:53:34 -06:00
b3d8a64e79 start implementing scenario editor launch function 2025-01-15 23:05:52 -05:00
73e85836a3 we've been using the wrong define for mac detection 2025-01-15 23:05:52 -05:00
5936b1c579 global vector for extra scenario directories 2025-01-15 23:05:52 -05:00
e8bcd663c3 add text to leds for pc-alchemy-info.xml 2025-01-11 21:50:35 -05:00
6f0145c285 Revert "always combine_things() after identifying a held item"
This reverts commit 364712ef9e.
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
65dbf8dc88 Merge pull request #519 from NQNStudios:sounds
* Changed shop purchase sound effects where Yum! definitely didn't fit. For alchemy, mage spells, and priest spells, I made the sound the same as the sound when you perform those actions. I figure this actually makes sense because the teacher would show you how to do the thing.
* For skill training, I made the sound be the same as leveling up. I think this makes sense.
* When something is too heavy to pick up, the "Argh!" labeled as 'Action Failure' in the editor sound picker makes a lot of sense--you tried to pick it up and were frustrated.
* I changed beep() so every platform just plays sound effect 1, the one labeled "low beep" [here](http://openboe.com/docs/editor/appendix/Sounds.html) that's labeled "Cancel target lock" in the editor picker. I think this reasonable.
* Removed `ding()` which was an unused alias for `beep()`
2025-01-07 21:34:08 -05:00
1384b4668d Replace pc editor event beeps with play_sound(1) 2024-12-27 11:18:17 -06:00
992fae0ed8 Revert "Mac editors fix Settings menu item"
This reverts commit 489f753ea12caceea45abdf3e1795262271b5143.
2024-12-03 09:44:40 -05:00
43fdc94f47 Mac editors fix Settings menu item 2024-12-03 09:44:40 -05:00
494f0e8533 Editors hide unwieldy scale options 2024-12-03 09:44:40 -05:00