Commit Graph

413 Commits

Author SHA1 Message Date
8821044705 Rearrange status icon help
This removes the Normal Speed icon and speculatively replaces it with a Drunk icon
2024-09-10 22:18:59 -04:00
5daf3b10a0 Reorder elements in party help dialog (no substantial changes) 2024-09-10 22:18:59 -04:00
abdf264372 Expose rechargeable flag in the scenario editor 2024-09-10 22:18:59 -04:00
11fae6fd1e Edit Item Abilities: Rework to use relative positioning (no significant layout changes) 2024-09-10 22:18:59 -04:00
8460bee867 Edit Item Abilities: Reorder elements to roughly match the order they display in 2024-09-10 22:18:59 -04:00
ALONSO Laurent
e36d3f4eb2 locked-door-action.xml: add b and p shortcuts 2023-01-21 22:22:56 -05:00
584ba11a5f Apply the more advanced scaling options also to the editors 2023-01-21 20:33:28 -05:00
577ff1a405 Don't show an 'other' option for UI scale unless it's actually selected 2023-01-21 20:15:58 -05:00
ALONSO Laurent
dda95397ec UI scaling: add a different scaling for minimap + add more scaling values... 2023-01-21 19:53:27 -05:00
ALONSO Laurent
26d2328fe7 pc/scenario editor: add a basic preferences's menu. 2023-01-21 19:10:28 -05:00
effc355fe1 Enable the dialogs test in Xcode and fix one dialog that failed
This also makes the test itself better
2023-01-21 16:36:31 -05:00
492e4b0cf9 Add 10 scenario timers to editor in a stack 2023-01-14 01:26:49 -05:00
2e61c44307 Fix scenario button saying there are no scenario installed even though there are the built-in ones 2023-01-04 20:52:11 -05:00
9356c03cc7 Fix a couple of broken dialogs 2020-12-19 18:12:19 -05:00
81c2a084e3 Allow automatically calculating both the width and height of a text label
This fixes welcome dialog links triggering when you hit OK in the right place
2020-12-19 18:10:25 -05:00
27f687806f Implement automatic height calculation for text labels 2020-12-19 17:36:03 -05:00
224e89aabc New welcome dialog
Text by @clort81
Links not clickable yet - soon!
2020-02-26 01:48:27 -05:00
7d8fc7fe09 Document the OBoE originals in barrier help dialog 2020-02-26 00:19:23 -05:00
0bb0dc21e5 Neaten barrier help so that everything lines up (only layout changes) 2020-02-26 00:01:06 -05:00
bea852d61f Reorganize barrier help XML (no functional/layout changes) 2020-02-25 23:44:42 -05:00
093be0d99a Merge the two scenario selection dialogs
Now both preset and custom scenarios are joined using the "Start Scenario" button.
Preset scenarios still get special treatment.
2020-02-25 21:08:29 -05:00
c8549ca680 DialogXML: Support <key> in <text> with optional ref= 2020-02-23 23:02:16 -05:00
3a193afb98 Resolve todo notes in spellcast dialog 2020-02-23 22:40:03 -05:00
c65bac2a8f Implement relative positioning system for DialogXML
This allows widgets to be positioned relative to other widgets.

Two dialogs have been converted to use relative positioning.

Also fix some issues with calculating the dialog rect.
2020-02-23 22:00:01 -05:00
cd2ab1c16e Organize edit party dialog definition; no functional or layout changes 2020-02-23 17:29:51 -05:00
9f60f7e378 Implement <key> tag in DialogXML which substitutes a buttons key shortcut into its label 2020-02-21 22:25:48 -05:00
b9d3f2d4f8 Update credits 2020-02-09 18:24:34 -05:00
516d5fff25 Remove references to removed outdoor size limits from the scenario creation dialog 2018-02-18 16:12:25 -05:00
3828b03645 Implement UI scaling option
There are still a few minor visual glitches, but it works pretty well
2017-09-04 15:27:00 -04:00
e38053d39f Remove some spurious scenario editor error messages
These errors are all no longer necessary due to the editor loading the entire scenario into memory at the same time
2017-02-12 18:19:29 -05:00
3522d11217 Fix incorrect message about scenarios location 2017-01-26 12:25:40 -05:00
8e43ce4347 Add preview button to item/monster edit dialogs
This shows the monster or item info dialog as it would appear in-game
2017-01-22 11:02:26 -05:00
9aed4b418f Several small bugfixes
- Wrong image in generic lever dialog
- Crash in adventure notes dialog
- Incorrect spell costs shown on second page of spellcasting dialog
- Enable messages in "if context" node, but only for legacy scenarios
- Fix recorded dialogue not working
- Fix special items leaking between scenarios
- Fix training dialog
- Fix scenario editor sometimes crashing on scenarios that it wrote itself
2016-09-26 20:23:09 -04:00
59b68dc78d Remove a mostly-redundant static array 2016-09-15 22:28:44 -04:00
4cbd0d3013 New toolbar buttons for placing boats and horses; replaces the edit boats/horses dialogs 2016-08-25 21:28:42 -04:00
aecbea01a4 Fix incorrect fire barrier icon in help dialog 2015-10-15 15:42:48 -04:00
e2a88873e7 Minor improvement to "save legacy scenario" dialog. 2015-10-12 14:11:54 -04:00
d19880a463 Stop storing preferences and legacy flags in the saved game
- Nuke global preference variables (they're now fetched with get_xxx_pref whenever needed)
- Nuke magic SDFs that store preferences and other info
- The only preferences now stored in the saved game are those related to difficulty
- play_sound no longer takes an option repeat parameter, but instead takes a delay which will be used if sounds are disabled
- SDF array increased to 350x50
- When saving a legacy scenario, a dialog is shown to remind you to update and to allow you to clear the legacy flag
2015-10-06 22:17:25 -04:00
f8deb48edb Add keyboard shortcuts to the death dialog and the quit confirm dialogs 2015-10-04 18:47:17 -04:00
5e8530969d Update Erdos's name in the credits, at his request 2015-10-03 23:56:11 -04:00
d908cdff9c Tweak Vahnatai PC traits and add Magery item ability
- Vahnatai no longer have a bonus to mage spells (that's now the Magery item ability)
- Vahnatai XP gain bonus changed
- Fix sliths being noted as resistant to poison (they aren't and never have been)
2015-10-03 23:55:52 -04:00
547e78dc86 Minor fix to about dialog 2015-10-03 12:30:47 -04:00
8b90fa614b Make stack control a real container instead of a controller
- Also add framed/outlined attributes to it and to LED groups
2015-10-03 12:30:26 -04:00
b176918dda DialogXML: Make the frame style format parameter a first-class citizen
- It's now exposed in the schema with a new attribute, outline, on all elements that accept framed
- It now has four possible values: solid, outset, inset, double. Dashed or dotted may be added later; they're a lot harder.
- Second make scenario dialog uses a custom frame style
2015-10-03 11:13:33 -04:00
8b5396c980 Remove all def-key='enter' in favour of defbtn attribute
In addition, the default button is finally properly outlined when specified with the defbtn attribute.
(It would also be outlined if specified with def-key='enter'.)
The following preset buttons (available to special nodes) now respond to the enter key:
- "Leave", "Done", "OK"
2015-10-03 03:40:48 -04: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
84dc913241 Improve dialog preview XSL sheet
- Now uses apply-templates, meaning output is in the same order as input
- Fully accounts for stack and pane, including adjusting coordinates
2015-10-03 02:33:40 -04:00
03bc3d05e6 Remove key-mod attribute from dialog schema
- Modifiers are now given in the def-key attribute, as originally intended
- Dialogs that have a help button now assign F1 to that button (replacing shift+/ in some cases)
- F1 also brings up help in the main game (in addition to shift+/)
2015-10-03 00:53:32 -04:00
0f273eba7e Fix resize outdoors dialog using the dark skin 2015-10-03 00:07:08 -04:00