Commit Graph

802 Commits

Author SHA1 Message Date
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
ca07ef172b Rework base processing to be more generic.
It now makes no assumptions about the terrains that might be defined in the base scenario.
* The existing terrain in the base's outdoors (previously ignored entirely) is now partitioned into 9 segments and plopped down to form the border of the new scenario's outdoors.
* It treats the locations (23,23) amd (24,24) specially, assuming they contain a sign and a town respectively. These are left as-is in the top left sector but replaced with the base ground in every other sector.
* Since there are now two separate bases, one for cave and one for surface, no substitution of terrain is done in the starter town.
2025-03-16 14:09:05 -04:00
f1bdb69e5b BoECB: Include when building and packaging 2025-03-16 14:09:05 -04:00
1fc93bcd1c BoECB: Add random mushroom frills 2025-03-16 14:09:05 -04:00
f747b6a8c9 BoEB: Make the cave Warrior's Grove use cave terrains.
Also, change the trainer graphic and replace the dog with a lizard.
2025-03-16 14:09:05 -04:00
494f6529cd BoEB: Make a copy and call it the "cave base" 2025-03-16 14:09:05 -04:00
eb835f6765 BoEB: Delete the surface huge walls to make way for some mushroom crops and a surface pond 2025-03-16 14:09:05 -04:00
cbb401957c BoEB: Delete blank scenario strings 2025-03-16 14:09:05 -04:00
f1a73ffbe9 BoEB: Fix typos in Warrior's Grove 2025-03-16 14:09:05 -04:00
cbf7cc8388 Add recharge button to inventory help 2025-03-16 14:03:53 -04:00
8afe875d72 Squeeze status icons a bit closer together in the party help (by making the font size smaller) 2025-03-16 14:03:53 -04:00
8b08b46ea0 Unbake the special help texts.
The text in the various help dialogs that was previously baked into an image is now drawn as text, meaning that it benefits from text unblurring when scaling is active.

This entails some small changes to layout, since it's a different font.

Dialog engine changes:
* A new picture type allowing to draw the inventory button icons directly into a dialog.
* A new widget type that simply draws a line between two points.
2025-03-16 14:03:53 -04:00
09e5649a61 Rearrange the help dialogs in logical order. No functional changes. 2025-03-16 14:03:53 -04:00
cdc63506af fix unwanted line break in about-boe 2025-03-16 14:03:53 -04:00
fdcf9d5d90 Add donor to credits 2025-03-16 14:03:53 -04:00
67fbb4fae5 Affect Alchemy special node can now remove recipes 2025-03-08 20:05:12 -05:00
7ecd6bf3b3 Add quick help strings for every special node type.
Also fix one case of the special node title not fitting into the designated space.
2025-03-08 20:05:12 -05:00
3c811ef43d Use SDF picker in Townperson Advanced and Outdoor Encounter dialogs 2025-03-08 20:05:12 -05:00
c032307280 Add picker buttons and a cancel button to the Set Variable Town Entry dialog
Partially addresses #685
2025-03-08 20:05:12 -05:00
f2bdbae078 Fix some cases where special node field prompts should've been "Unused" but instead said the field name 2025-03-08 20:05:12 -05:00
643035d29b Fix issues in special node field prompts
- Typos
- Unnecessary range specifications
- Prompts overflowing the available space
- A few other things
2025-03-08 20:05:12 -05:00
0f64c9a19d Adjust LED hitboxes in pict and pattern pickers so that you can click anywhere on the item to select it – not just directly on the LED. 2025-03-08 20:05:12 -05:00
b86ef8ae39 The special node dictionary now supports specifying different labels or pickers based on the value of another field. 2025-03-08 20:05:12 -05:00
628b0ee677 Add a new spell pattern picker.
The picker is used in the special node dialog and also in monster abilities.

Some changes were made to the game as well:
* If the rotatable wall is used for a field missile or touch ability, there's no longer an option for the designer to pick an orientation. Instead, it behaves like the rotatable wall in a radiate field ability, selecting an orientation based on the creature's facing direction.
* The magic values sent to place_spell_pattern for direct damage were rearranged to match the order of the eDamageType enum. This should have no effect, since the core place_spell_pattern function is only called by the various wrapper overloads. It also simplifies the code quite a bit.
* The Protective Circle spell pattern is now exposed to the place patten special nodes. It can be used as just a radius 4 circle, but the effect of different layers of fields can also be obtained by specifying a field type or damage type of -1.

There is also a change to the dialog engine:
* Calling setText() also implicitly calls recalcRect()
2025-03-08 20:05:12 -05:00
4c4c70648c Add a fill-color attribute to <pict> 2025-03-08 20:05:12 -05:00
50637d3ddd Use an editable string picker for job boards when editing quests or dialogue nodes 2025-03-08 20:05:12 -05:00
6e94d23e05 Add pickers to a bunch of dialogue nodes that didn't have them.
This also includes something similar to the special node button dictionary for dialogue nodes.
2025-03-08 20:05:12 -05:00
a1bc923de8 Remove the Edit Saved Item Rectangles menu item in favour of a toolbar button.
The limit of 3 saved item rectangles has been removed - you can now add as many as you want.
However, the 1 per town limit is now strictly enforced.

The saved item rectangle is now shown with a cyan border when editing town.
2025-03-08 20:05:12 -05:00
1cf3a19b40 reorg autosave prefs 2025-03-07 08:43:19 -05:00
d54c61f982 Autosave preferences 2025-03-07 08:43:17 -05:00
27e76e5ffb preference to still use OS file browser 2025-03-07 08:43:16 -05:00
2396637d23 Implement file picker load/save normal 2025-03-07 08:43:09 -05:00
dbb4cb3797 Save picker XML 2025-03-07 08:31:35 -05:00
cabec65cdf xml schema allow anchors in containers 2025-03-07 08:31:35 -05:00
c9f79ba071 preferences add led for target-lock feature 2025-03-06 21:35:48 -05:00
14c36ed5a8 Debug action: crash the game 2025-03-06 21:24:07 -05:00
4cc6d7efb9 On catching fatal error, prompt to save the log and report 2025-03-06 21:24:07 -05:00
7dd2dd9d2e add confirmed credits names 2025-03-06 19:43:10 -05:00
cf736d1835 animate fake damage only allow static booms 2025-03-05 19:27:10 -05:00
434577426e Make -2 the magic infinite loops value 2025-03-05 19:27:10 -05:00
0db2dc056d Add labels for animation spec node fields 2025-03-05 19:27:10 -05:00
3d48cb14e7 Add an SDF picker for selecting a stuff done flag and optionally giving it a name.
In effect, this is a combination of two of the previous pickers:
the location picker, and the editable string picker.

This required quite a significant rework of how the tilemap places its children.

Currently it's only used in special node editing.
I plan to add its use in many other places too though.
2025-03-02 19:13:01 -05:00
5861268e8c Add a location picker for selecting a location in a town or outdoor sector.
It's currently used in special node editing and in advanced town details.
2025-03-02 19:13:01 -05:00
e1a03ce881 Add a 'filled' option to dialogxml pict and use it in get-items
Fix #629
2025-03-02 19:13:01 -05:00
f018f051f6 Add a new tilemap control that replicates its children into a fixed grid.
Use it for the Edit Terrain Object dialog.
2025-03-02 19:13:01 -05:00
2ee2a545ef BoEB: Make more items stack
These are all cases where similar items stack but these ones for some reason didn't.

Gemstones/Ores: Ruby, Crystal, Rough Diamond
Powders: Dust of Hiding and Choking
Missiles: Poison Darts; Arrows of Life and Light; Burning and Exploding Arrows
Reagents: Asp Fangs
2025-03-02 19:13:01 -05:00
4ac049340a BoEB: Add item type flag strings 2025-03-02 19:13:01 -05:00