Commit Graph

2731 Commits

Author SHA1 Message Date
b1c7b9bf0b another TODO note for the identify spell 2025-01-08 23:06:44 -05:00
9967100e0a forgot Escape to cancel item target mode 2025-01-08 23:06:44 -05:00
b7da0f0c62 remove ITEMBTN_NORM and _ALL, and button_position arg 2025-01-08 19:07:22 -05:00
78779b7d98 remove unnecessary parens 2025-01-08 19:07:22 -05:00
0f5cd51126 Simplify scary logic around inventory item buttons.
Fix #233
2025-01-08 19:07:22 -05:00
c16807690c Note about a TODO 2025-01-07 21:35:59 -05:00
8253088ba4 remove the cancel button in case where it would be ignored 2025-01-07 21:35:59 -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
fb8b9e5da5 Use macos-13 for ci 2025-01-07 21:33:18 -05:00
1384b4668d Replace pc editor event beeps with play_sound(1) 2024-12-27 11:18:17 -06:00
270b2bb802 fix last case of textSide 2024-12-03 09:44:40 -05:00
3bd9154412 rename new led attribute 'label-pos' 2024-12-03 09:44:40 -05:00
8f531a3145 Efficient layout for preferences. Close #470 2024-12-03 09:44:40 -05:00
dd1b4a66bb remove accidental semicolon, fix led measurements 2024-12-03 09:44:40 -05:00
c913b11047 simplify convoluted if statement 2024-12-03 09:44:40 -05:00
c537a3701c Fix replay mode black bg startup menu 2024-12-03 09:44:40 -05:00
ec811168c5 when replaying, splash setting disable BOTH (save a lot of time) 2024-12-03 09:44:40 -05:00
c35ba7cc62 LEDs allow text on the left side 2024-12-03 09:44:40 -05:00
121f54fbe2 make defaultTextSize() static 2024-12-03 09:44:40 -05:00
992fae0ed8 Revert "Mac editors fix Settings menu item"
This reverts commit 489f753ea12caceea45abdf3e1795262271b5143.
2024-12-03 09:44:40 -05:00
bf84a15087 fix constant names 2024-12-03 09:44:40 -05:00
4bb5c233ef add text-size to documentation 2024-12-03 09:44:40 -05:00
cfdd6304fd change constant names 2024-12-03 09:44:40 -05:00
c2dc4f2252 spell menu measure spell labels 2024-12-03 09:44:40 -05:00
0b644e7427 fix dialogs I broke 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
3fe527af14 remove lots of hardcoded led/tiny button widths 2024-12-03 09:44:40 -05:00
df1e9d6bb4 remove cButton::setTextSize() 2024-12-03 09:44:40 -05:00
2b01a18bb3 make text-size an optional attribute of button 2024-12-03 09:44:40 -05:00
f47229417b still require width on other button types 2024-12-03 09:44:40 -05:00
9fb5cdbefd leds and tiny buttons measure actual preferred width 2024-12-03 09:44:40 -05:00
bab6b2f8f8 fix map scale
Somewhere along the line, I broke the map scale so it was using UI scale.
2024-12-03 09:44:40 -05: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
6eb69a9c1d align small window led with alignment leds 2024-12-03 09:44:40 -05:00
7a87223162 bring speed buttons in from the right 2024-12-03 09:44:40 -05:00
e409464a97 hide main window scale options that won't fit 2024-12-03 09:44:40 -05:00
925306825b match reset help button text size to leds 2024-12-03 09:44:40 -05:00
ed3dcd9246 make button text size changeable 2024-12-03 09:44:40 -05:00
f5f9f92568 move help-related settings next to each other 2024-12-03 09:44:40 -05:00
8fd20022be fine-tune preferences layout 2024-12-03 09:44:40 -05:00
5b4cef4bc7 fix event return value 2024-12-03 09:44:40 -05:00
35fcc04d6c move scale buttons to top of settings 2024-12-03 09:44:40 -05:00
34dd31cf51 Remove 3 obsolete settings 2024-12-03 09:44:40 -05:00
1375a2e6b1 turn resethelp pref led into a button with a confirmation dialog 2024-12-03 09:44:40 -05:00
6a26229ab6 only valid ingame beep use a sound 2024-12-01 18:52:09 -06:00
42e51a3b36 make beep() use a game sound on Linux 2024-12-01 18:50:13 -06:00
e187f07307 Revert "make beep use a game sound"
This reverts commit 44881905cf.
2024-12-01 18:49:07 -06:00
b4848cf1fe D flag for shops is now ignored 2024-12-01 18:54:03 -05:00