Commit Graph

10 Commits

Author SHA1 Message Date
fa6a3f2139 allow moving boat or horse within area 2025-06-02 11:32:19 -05:00
3d231ce76b make non-editable 'num' text, not field 2025-06-02 11:32:19 -05:00
49b24f997f int/uint type on all relevant fields (I hope) 2025-06-02 11:32:19 -05:00
1c059564b2 note that many more dialog fields need int or uint type 2025-06-02 11:32:19 -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
8ab663b620 Add a user-defined name to vehicle definitions.
This also adds partial support for a custom vehicle graphic.
2025-03-02 19:13:01 -05:00
f4bdf95617 Convert the edit vehicle dialog to relative positioning 2025-03-02 19:13:01 -05:00
de818699bc note which dialogs need relative positioning redos. 2025-02-15 12:13:34 -05:00
3fe527af14 remove lots of hardcoded led/tiny button widths 2024-12-03 09:44:40 -05:00
4cbd0d3013 New toolbar buttons for placing boats and horses; replaces the edit boats/horses dialogs 2016-08-25 21:28:42 -04:00