Commit Graph

10 Commits

Author SHA1 Message Date
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
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
de818699bc note which dialogs need relative positioning redos. 2025-02-15 12:13:34 -05:00
387cd6cd00 fix led labels in new-town.xml 2025-01-11 21:50:35 -05:00
da58f09fca All dialogs now use default skin and foreground colour
(The attributes are still available in the schema though, and will not be removed.)
2015-10-03 03:00:22 -04:00
893fa1e4ff Dialog formatting
- Newlines at end of file
- Remove debug attribute
- Indentation in the XSL
2015-10-03 02:50:44 -04:00
5bbda27a1c Convert the last of the scenario editor dialogs 2014-12-28 10:47:25 -05:00