Commit Graph

616 Commits

Author SHA1 Message Date
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
6916752a8a fix crash when no strings defined 2025-02-16 19:33:58 -06:00
c4e1ff7f0d Make getting scenario strings DRY 2025-02-16 19:33:52 -06:00
8cff2428a9 DRY advanced town help. Fix #611 2025-02-16 00:02:22 -05:00
78d10987fe draw scale-aware text onto RenderTextures 2025-02-15 15:16:15 -06:00
8ab451f633 delete unused sf::Text 2025-02-15 15:12:17 -06:00
7383b39e69 Debug action: Preview every dialog layout 2025-02-15 16:04:32 -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
18a425be0d cPlayer give_help use bool flag instead of function pointer 2025-02-15 11:19:44 -05:00
576a40b3e1 make give_help() DRY 2025-02-15 11:19:44 -05:00
3a5cc4ead4 catch a replay system do_load edge case crash 2025-02-14 09:54:32 -05:00
a3ddff55aa add was_replaying to track how the game started 2025-02-14 09:54:32 -05:00
404f364053 recenter camera 1/2way into missile arc if sooner 2025-02-13 09:51:36 -06:00
fa1d9a7442 don't frame active PC when out-of-bounds in ranged anim 2025-02-13 09:50:20 -06:00
ab0eada20d explosion anims clip within terrain screen 2025-02-13 09:50:13 -06:00
318f430917 clip missiles when they go beyond the ter screen 2025-02-13 09:49:59 -06:00
3188f2ed9b sensible camera handling for ranged attacks 2025-02-13 09:48:16 -06:00
f94abd3575 Make getting terrain screen rects DRY 2025-02-13 09:47:37 -06:00
d2fb94b6c6 confirm before killing 2025-02-10 20:44:55 -05:00
d95703ecf5 Fix restore party in scenario. Fix #597 2025-02-10 20:44:55 -05:00
0a5abec8e1 Debug action: kill the party 2025-02-10 20:44:55 -05:00
fb341728a6 better save message during combat 2025-02-10 13:12:48 -05:00
2a02b46b3b Escape cancel look mode in combat and outdoors 2025-02-10 13:12:48 -05:00
43c2f14a63 Fix scrollbars loading from command-line. Fix #589 2025-02-10 13:12:48 -05:00
32d97a00bf Explain in code how sanctuary works 2025-02-09 16:39:05 -06:00
a56dac58b1 fix sanctuary early return bug 2025-02-09 16:17:46 -06:00
e81cde113c Fix armor level 0 (#590)
Armor items with item level 0, will have a base defense value of 0 instead of 1, and display their defense value as such in the get items screen.

Fix #245
2025-02-09 10:36:14 -05:00
afa0b9d7a4 debug actions show item + town names 2025-02-08 23:11:57 -05:00
392ad5eac0 get_num_response allow pass choice names 2025-02-08 23:11:57 -05:00
772bd71b16 Him/her -> them 2025-02-08 18:24:16 -05:00
c20dbbf88e DRY launch doc url 2025-02-07 09:51:45 -05:00
5804d84012 Disallow deleting PC in combat. Fix #70 2025-02-07 09:51:10 -05:00
7ac994f97f help button don't blink when i click a talk word 2025-02-06 08:44:38 -06:00
891cc2dbcf Help button don't hide if returning to talk mode. fix #64 2025-02-06 08:39:35 -06:00
48089a95bf record and replay now-distinct shop click events 2025-02-04 12:43:58 -06:00
4c9a4b4fb2 fix done/help buttons disappearing 2025-02-04 12:39:02 -06:00
cf79392762 highlight all of the cost text 2025-02-04 12:30:12 -06:00
673de75c73 separate args to highlight text and item help button 2025-02-04 12:29:52 -06:00
ddad32458e render shop highlights at non-offset positions 2025-02-04 12:16:23 -06:00
2314e9e5b4 fix clip_rect when drawing pressed shop graphics 2025-02-04 12:09:26 -06:00
081d237cbf talking and shopping: don't pass click events forward
Fix #567
2025-02-04 08:59:55 -06:00
3ad647c700 Fit preset talk word click rects. Fix #566 2025-02-04 08:48:18 -06:00
bc5f42a870 quick implementation of previewing dialogxml for #564 (#565) 2025-02-03 09:20:42 -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
josefwk
a2c5bb3ed7 Modified the UI redraw order in handle_death() to fix #250 and #558. (#560)
Fix #250
Fix #558
2025-02-02 13:51:24 -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