Commit Graph

90 Commits

Author SHA1 Message Date
e899df0dbf Fix walkway trims. Fix #136 2025-08-07 09:39:00 -05:00
2011e57799 reuse RenderTexture 2025-08-07 09:38:59 -05:00
dfba555a05 Fix all compiler warnings in the game code. 2025-08-01 23:30:21 -04:00
0bc13148bf function for debugging internal textures
this would have been nice for checking the textures of sf::Fonts
2025-05-19 21:41:12 -05:00
61fe06a66d delete commented-out code that looks platform-specific & outdated 2025-05-19 21:41:12 -05:00
7ccd50201b anim_ticks -> ter_anim_ticks & turn back on in combat
Fix #736
2025-05-19 21:41:10 -05:00
b83cf3762c Spellcasting change broke recast hint, fix it 2025-05-19 21:41:06 -05:00
98a7109060 make booms run outdoors.
multiple places in the code called boom_space for outdoors, but boom_space
had early returns in outdoor modes.
2025-05-11 10:51:04 -05:00
b230329908 clarify a delay boom_space adds, and use it for acid sound 2025-05-11 10:51:04 -05:00
b252d1c350 temp acid graphic
this is adapted from a BoA monster graphic, I think created by Andrew Hunter,
who is already in the credits as the primary artist
2025-05-11 10:51:04 -05:00
62ebe0c9f1 fix targeting line drawing for one frame after ranged attack 2025-05-11 10:50:12 -05:00
9edc2a0633 reformat comment on boom_space 2025-05-11 10:50:11 -05:00
79564a6e22 ellipsis-truncate PC names when recast hint/status icons won't fit 2025-05-11 10:50:10 -05:00
3504e88a9a ellipsis-truncate PC names on startup screen 2025-05-11 10:50:09 -05:00
4d60ddaa3d Fix background flickering during boom_space 2025-05-11 10:50:02 -05:00
f491131201 When changing UI scale, fix blank text bar 2025-05-11 10:49:38 -05:00
d7c093fdeb bring back clip_rect in draw_targeting_line
This reverts commit 7c9b9ee255.
2025-05-11 10:49:25 -05:00
a53650f737 WIP standardize mouse position translation 2025-05-11 10:49:21 -05:00
3ba9259482 Remember window positions as preferences 2025-05-11 10:49:21 -05:00
e7fe2a6546 remove unused rectangles in draw_targeting_line() 2025-05-06 15:24:13 -05:00
a7486ae5c2 Fix party status icons not appearing immediately 2025-03-19 19:31:23 -05:00
b401b3dbc1 tiny 'arrow' buttons use event loop to allow cancel click 2025-03-19 19:31:17 -05:00
9199502c62 Fix flickering 1px black bar at bottom of 1.5x window 2025-03-19 19:31:16 -05:00
7c9b9ee255 Remove unnecessary clip_rect which didn't work with offset ui positions 2025-03-16 14:03:53 -04:00
628b0ee677 Add a new spell pattern picker.
The picker is used in the special node dialog and also in monster abilities.

Some changes were made to the game as well:
* If the rotatable wall is used for a field missile or touch ability, there's no longer an option for the designer to pick an orientation. Instead, it behaves like the rotatable wall in a radiate field ability, selecting an orientation based on the creature's facing direction.
* The magic values sent to place_spell_pattern for direct damage were rearranged to match the order of the eDamageType enum. This should have no effect, since the core place_spell_pattern function is only called by the various wrapper overloads. It also simplifies the code quite a bit.
* The Protective Circle spell pattern is now exposed to the place patten special nodes. It can be used as just a radius 4 circle, but the effect of different layers of fields can also be obtained by specifying a field type or damage type of -1.

There is also a change to the dialog engine:
* Calling setText() also implicitly calls recalcRect()
2025-03-08 20:05:12 -05:00
2396637d23 Implement file picker load/save normal 2025-03-07 08:43:09 -05:00
6c1e831e8e DRY getting location string 2025-03-07 08:31:36 -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
a7ba60a6d5 Allow limited debug mode in startup menu 2025-03-02 01:15:53 -05:00
ad43e8ab81 Draw item scrollbar in boom_space. Fix #650 2025-03-02 01:13:53 -05:00
b505dc5852 Don't double-adjust boom text pos. Fix #127 2025-02-23 19:11:30 -05:00
f92e7abe56 Only redraw textbar when text changes 2025-02-23 19:09:53 -05:00
d4675ed4c7 Refactor text-bar text calculation 2025-02-23 19:09:53 -05:00
78d10987fe draw scale-aware text onto RenderTextures 2025-02-15 15:16:15 -06:00
673de75c73 separate args to highlight text and item help button 2025-02-04 12:29:52 -06:00
7742373142 Try recast opposite spell type: Toggle the hint 2025-01-20 14:42:40 -06:00
cbb964a073 recast hint take the place of party status icons 2025-01-20 14:01:13 -06:00
0ef3ad81d9 Recast hint for spellcasters 2025-01-20 13:42:03 -06:00
2d824e869e Encode startup buttons as string in replays, fix #533 2025-01-16 16:53:27 -06:00
9bf009ce83 remove TODO note 2024-12-03 09:44:40 -05:00
7966d5a93e remove bad check 2024-12-03 09:44:40 -05:00
34dd31cf51 Remove 3 obsolete settings 2024-12-03 09:44:40 -05:00
6ea26ca423 LOG function and LOG_VALUE macro will save time and wrist exertion 2024-12-01 18:42:57 -05:00
df3839ab5d Rearrange startup buttons, add tutorial button with stub event
Fix #173
2024-11-30 20:11:08 -05:00
d870180591 Update copyright notices and contact/pricing info.
Close #499
2024-11-30 19:19:34 -05:00
df0c46d616 Merge pull request #458 from NQNStudios:credits-overhaul
Auto-generated credits / Update the credits from IndieGOGO
2024-11-23 18:54:51 -05:00
c1142379c9 Fix edge of town rendering bug (#486)
Fix #485
2024-11-23 14:09:05 -05:00
9d972a3961 Pick the largest suitable default scale. Fix #468 (#472) 2024-11-19 19:17:15 -05:00
05f5520cfb speed up and extend scroll length of startanim 2024-11-16 17:47:58 -06:00
753dbbcc59 Add a new dialogue mode to recharge items
This is currently useless, as exhausting an item's charges currently deletes it, but it is part of a work in progress
2024-09-10 22:18:59 -04:00