Commit Graph

319 Commits

Author SHA1 Message Date
e8134e836a add patron 2025-05-11 10:50:00 -05:00
b32a2d40aa fix def/escbtn in some dialogs I missed 2025-05-11 10:49:57 -05:00
cf5ce53721 Fix a case where target lock is annoying 2025-05-11 10:49:41 -05:00
aeaee9bbdb Debug action to fix the elusive font corruption bug 2025-05-11 10:49:38 -05:00
41f00ebf74 Darker baby hydra by Seb Galvez
fix #720

also fix 1-pixel offset of the monster next to baby hydra.
2025-05-11 10:49:37 -05:00
203edc46f1 Scaffold for dialog previews in the scen editor 2025-05-11 10:49:35 -05:00
b3e67e32c9 Fix colored stripe in 1.5x spellcasting dialog. fix #698 2025-05-11 10:49:31 -05:00
be25934993 better key shortcuts for stair dialogs 2025-05-11 10:49:26 -05:00
3e1c2a9fb1 Debug give item: allow giving as unidentified 2025-05-11 10:49:19 -05:00
9d915056b9 add ctrl to 1-4 hotkeys in Save As dialog
because players will commonly type numbers in the text field
2025-05-11 10:49:18 -05:00
36cfc50280 add name to credits 2025-05-11 10:49:16 -05:00
447f9739a4 Remove RepeatRoomDescriptions, which never did anything
Fix #712
2025-05-06 15:24:13 -05:00
7359eda202 remove keyboard shortcut that text field typing would trigger 2025-05-06 15:24:13 -05:00
ecf0227cc3 escape should close get-items 2025-03-30 11:51:14 -05:00
d1c2070733 Tighten up the welcome dialog 2025-03-30 11:51:13 -05:00
500471bad1 assign escbtn and defbtn appropriately
Behaviorally: This change makes it so that Enter will never cancel
a dialog, unless that dialog only contains info to be read. Escape
will never unpredictably be treated as Enter. And some dialogs without
Escape to cancel, now can be canceled with Escape.

A lot of this just refactors dialogs to define the cancel button
at the top, not as a hotkey on a cancel button deep in the XML.
I think this makes enter/escape behavior in dialogxml files more
legible at a glance.
2025-03-30 11:51:12 -05:00
8af5eb6c38 dialogs can have a button respond to Escape
I'm planning to make it so the Enter key will never cancel a yes/no dialog. To do this, I'm adding an Escape button to dialogs. So cancel/accept keyboard shortcuts will be predictable and intuitive. Dialogs that require extra confirmation will have a 'really confirm' LED.
2025-03-30 11:51:11 -05:00
ecb48faa43 all affirmative buttons on right side. Fix #702 2025-03-30 11:51:11 -05:00
98debe66fe Change logic of restart-game confirmation 2025-03-30 11:51:10 -05:00
629d92601f more room for extra info in select-pc dialog 2025-03-30 11:51:07 -05:00
f8061ac1c4 more succint skill hint 2025-03-30 11:51:07 -05:00
f9c05815fc show skill levels for bash/pick selection, highlight best 2025-03-30 11:51:06 -05:00
b236dead06 1-4 keyboard shortcuts in save picker 2025-03-30 11:51:05 -05:00
f26a9e9c32 Fix awkwardness of Enter key in string picker
Search field starts out hidden. When the button is
clicked, the field and other controls appear, and
the button takes over the enter key. Ctrl+Enter
clicks okay (so if search is not opened, either
Enter OR Ctrl+Enter will click okay)
2025-03-30 11:51:04 -05:00
a17f5b1a7c String picker search field. Fix #701 2025-03-30 11:51:03 -05:00
d10b6e9e15 relativize choose-string.xml 2025-03-30 11:51:02 -05:00
6f3e61899e Debug action: apply status effect 2025-03-19 19:31:22 -05:00
72942efa6a reorganize, relativize, and add 'Everyone' button to select-pc 2025-03-19 19:31:21 -05:00
eb03632598 Training dialog only show relevant info 2025-03-19 19:31:19 -05:00
f4e8390bf4 more precise New Game confirmation text 2025-03-19 19:31:19 -05:00
35fae2a491 fix training dialog width 2025-03-19 19:31:19 -05:00
735b324ffa Split and simplify training dialog column headings 2025-03-19 19:31:18 -05:00
725a151eef logically reorder training dialogxml 2025-03-19 19:31:18 -05:00
3beda3bd59 get_num_response debug actions: allow canceling 2025-03-19 19:31:17 -05:00
61c4bfdc99 Add two new town sizes to the create town dialog.
Huge towns are a whopping 128x128 tiles and don't fit in the terrain view even when fully zoomed out.

Tiny towns are just 24x24 tiles.
2025-03-16 14:09:05 -04:00
96e92b1655 Allow selecting any preset terrain when creating a town.
The option of "grass with flowers" is removed. If you want that, select grass, then select frill up terrain.
2025-03-16 14:09:05 -04:00
6188494d09 Convert new town dialog to use the relative positioning system. No functional changes. 2025-03-16 14:09:05 -04:00
5a6144f5d6 Reorder create town dialog in logical order. No functional changes. 2025-03-16 14:09:05 -04:00
cbf7cc8388 Add recharge button to inventory help 2025-03-16 14:03:53 -04:00
8afe875d72 Squeeze status icons a bit closer together in the party help (by making the font size smaller) 2025-03-16 14:03:53 -04:00
8b08b46ea0 Unbake the special help texts.
The text in the various help dialogs that was previously baked into an image is now drawn as text, meaning that it benefits from text unblurring when scaling is active.

This entails some small changes to layout, since it's a different font.

Dialog engine changes:
* A new picture type allowing to draw the inventory button icons directly into a dialog.
* A new widget type that simply draws a line between two points.
2025-03-16 14:03:53 -04:00
09e5649a61 Rearrange the help dialogs in logical order. No functional changes. 2025-03-16 14:03:53 -04:00
cdc63506af fix unwanted line break in about-boe 2025-03-16 14:03:53 -04:00
fdcf9d5d90 Add donor to credits 2025-03-16 14:03:53 -04:00
3c811ef43d Use SDF picker in Townperson Advanced and Outdoor Encounter dialogs 2025-03-08 20:05:12 -05:00
c032307280 Add picker buttons and a cancel button to the Set Variable Town Entry dialog
Partially addresses #685
2025-03-08 20:05:12 -05:00
0f64c9a19d Adjust LED hitboxes in pict and pattern pickers so that you can click anywhere on the item to select it – not just directly on the LED. 2025-03-08 20:05:12 -05: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
50637d3ddd Use an editable string picker for job boards when editing quests or dialogue nodes 2025-03-08 20:05:12 -05:00
6e94d23e05 Add pickers to a bunch of dialogue nodes that didn't have them.
This also includes something similar to the special node button dictionary for dialogue nodes.
2025-03-08 20:05:12 -05:00