Commit Graph

167 Commits

Author SHA1 Message Date
Laurent alonso
baa0bf81c4 Scenario Editor: display town's name when selecting a town... 2022-06-30 01:10:46 -04:00
Laurent alonso
2ad286b12d Scenario Editor: try improve the scenario events' edition... 2022-06-30 01:10:46 -04:00
ALONSO Laurent
2206f5e181 game: try to correct start scenario
+ right trim strings when loading legacy scenarios...
2022-06-30 01:10:45 -04:00
ALONSO Laurent
4d36bca489 Editor[food,gold]: make the windows widder,
Editor[xp]: add a cancel button,
Editor[spell]: save spells when the user clicks on next/previous pc
Shop: implements the clipping correctly when a user buys an item/spell/...
2022-06-30 01:10:45 -04:00
ALONSO Laurent
f1a04987c0 Scenario Editor: add left/right arrows when editing town messages
+ fix a problem when trying to load a bad scenario...
2022-06-30 01:10:45 -04:00
ALONSO Laurent
3c5f828274 Scenario Editor: allow to edit (all) scenario timers... 2022-06-30 01:10:45 -04:00
ALONSO Laurent
80c362eb60 Allow UI scaling to be 4 in Chararacter Editor
locked-door-action.xml: add b and p shortcuts
2022-06-30 01:10:45 -04:00
ALONSO Laurent
cd6eebdebe Allow UI scaling of 4 in Scenario Editor
dialog.cpp[cleaning]: remove unused code
2022-06-30 01:10:45 -04:00
ALONSO Laurent
710d80dbb0 alchemy: correct problems when using the new code...
legacy[unlock/dispel_barrier]: do not use freebie mode for items, ...
2022-06-30 01:10:44 -04:00
ALONSO Laurent
57c03dfc82 alchemy: try to add some information to the basic dialog (to be improved...) 2022-06-30 01:10:44 -04:00
ALONSO Laurent
896e6c699b try to make do alchemy more user friendly... 2022-06-30 01:10:44 -04:00
ALONSO Laurent
3dd3d3c1da dialog pick-race-abil: print pc's name + add left/right arrows 2022-06-30 01:10:44 -04:00
ALONSO Laurent
4867b26258 [calref/cboe]: Fix a couple of broken dialogs 2022-06-30 01:10:42 -04:00
ALONSO Laurent
be520e9acc [calref/cboe]: 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
2022-06-30 01:08:48 -04:00
ALONSO Laurent
4707fd7532 [calref/cboe]: Implement automatic height calculation for text labels 2022-06-30 01:08:48 -04:00
Laurent Alonso(fr)
1ec2a0acea add some 0str dialogs... 2022-06-30 01:08:48 -04:00
Laurent Alonso(fr)
3d6fca22a5 UI scaling: add a different scaling for minimap + add more values... 2022-06-30 01:08:48 -04:00
Laurent Alonso(fr)
34d3431e49 Boe Character/Scenario Editor[OsX]: retrieve also PlaySound in the preferences... 2022-06-30 01:08:48 -04:00
Laurent Alonso(fr)
141b668eb6 BoE Character Editor[OSX]: add preferences to define UI scaling... 2022-06-30 01:08:48 -04:00
Laurent Alonso(fr)
31b433d6c7 BoE Scenario Editor[OSX]: add preferences to define UI scaling... 2022-06-30 01:08:48 -04: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