c53b53d938
if file browser canceled, don't save replay log
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
8242c1e4bd
replace buffer print which doesn't refresh with LOG()
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
ab952db0cd
note in dialog.xsd for doc file I can't ever find
2025-03-30 11:51:10 -05:00
98debe66fe
Change logic of restart-game confirmation
2025-03-30 11:51:10 -05:00
967ef41ba1
Fix hitbox of special item use button
2025-03-30 11:51:10 -05:00
7cce42ce12
Scenario editor can launch unpacked scenario
2025-03-30 11:51:09 -05:00
fc36dcfd55
another --scenario startup case where repositioning not needed
2025-03-30 11:51:09 -05:00
1ebdb9612c
game feature flags match scenedit feature flags
2025-03-30 11:51:08 -05:00
9ba0a9437f
buffer messages for wrong-context L or b
2025-03-30 11:51:08 -05:00
00c0103616
Alchemy select_pc highlight highest skill
2025-03-30 11:51:08 -05:00
1702f795cf
Lockpicking limit choices to pick-holding PCs
2025-03-30 11:51:07 -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
650f16bf27
disarm traps highlight skill
2025-03-30 11:51:06 -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
1c11810f58
fix crash in string picker search feature
2025-03-30 11:51:05 -05:00
53bb8a6d26
focus the search field when showing
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
aa029f6bdc
Ctrl+f in text field should not type 'f'
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
341c285a39
Refactor allows cLedGroup leds to use relative positioning
2025-03-30 11:51:01 -05:00
1a85fc25ae
Give item: more sensible button selection
2025-03-30 11:50:59 -05:00
85baeb454c
When shopping, allow stacking without empty slot
2025-03-19 19:31:33 -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
cb73d5d7f6
debug give allow overloaded weight
2025-03-19 19:31:31 -05:00
783b19e429
Make all scenarios match VoDT arrow/bolt values
2025-03-19 19:31:31 -05:00
460e821700
ignore autosaves of replay parties
2025-03-19 19:31:30 -05:00
ad53a2e4a3
Make preset arrows and razordisks stack with scenario arrows and razordisks
2025-03-19 19:31:29 -05:00
da576f38e2
add target lock to a special spell I missed.
2025-03-19 19:31:27 -05:00
03e4344598
Allow checking if give_item() will succeed
2025-03-19 19:31:27 -05:00
bed263e720
expose INVENTORY_SIZE to boe.text.cpp
2025-03-19 19:31:27 -05:00
e1b2c27c57
allow checking if combine_things() will create free space
2025-03-19 19:31:26 -05:00
ea47359739
No magic number for item window size
2025-03-19 19:31:26 -05:00
1c99e963d4
Comment on something I misunderstood
2025-03-19 19:31:26 -05:00
07bbf1b8ef
Refactor mode integer for select_pc (see calref#699)
2025-03-19 19:31:26 -05:00
7980af7c31
Reorder more field layering
2025-03-19 19:31:26 -05:00
8ae88a4ce6
apply target lock to offensive spells as default-off cSpell field
2025-03-19 19:31:25 -05:00
8ea34d434d
Use std::tie to unpack bounds
...
Co-authored-by: Celtic Minstrel <CelticMinstrel@users.noreply.github.com >
2025-03-19 19:31:25 -05:00
01ad3c5622
some targeted spells shouldn't shift screen onto enemies
2025-03-19 19:31:25 -05:00
fd5c16647b
Symbiosis print caster name
2025-03-19 19:31:25 -05:00
ab513e6113
print caster's name, not active PC name
2025-03-19 19:31:25 -05:00
76040c5f6b
replay casts every priest spell.
2025-03-19 19:31:25 -05:00
1237ef9ed1
remove slowdown from AllMageSpells.xml
2025-03-19 19:31:24 -05:00
3beb80d8bc
Kill party action: allow target single, specify death type
2025-03-19 19:31:24 -05:00