Skip to content

v2.0.0

Choose a tag to compare

@github-actions github-actions released this 15 Aug 19:28
· 13 commits to main since this release
904a04f

Release v2.0.0

Build Details:


Changelog

Changes since v1.2.0

BREAKING CHANGES
Fixed an issue where orographic lift (rain shadows) was not being calculated using modified terrain and applied a fixed distance regardless of map resolution or scale. Procedurally generated biomes will look different on existing maps that have had their terrain modified (via the terrain brush, custom rivers, or tectonic faults).

Maps with minimal terrain changes will see minor differences, while maps with hand-drawn mountain ranges will see more accurate rain shadows.

Additionally, regional maps will now properly scale their climate patterns to ensure biomes remain visually consistent with their parent world maps.

FEATURES

  • Targeted Terrain and Biome Updating Only the area around a terrain or biome edit will be updated procedurally, leaving the rest of the map unchanged. This reduces the time taken to recalculate terrain and biomes when using the terrain or biome brush tools, or when adding custom rivers or tectonic faults. Loading the map will still require a full regeneration, but subsequent edits should feel faster.
  • Quick Styles for Labels: You can add, edit, or delete custom Quick Styles in the Settings. Updating a Quick Style applies the changes to every label using it. Deleting a Quick Style converts affected labels to a custom configuration to preserve their appearance.
  • Undo/Redo Highlighting: Hovering over the undo or redo button will show which area of the map and what type of feature will be changed if you press it. The Undo/Redo buttons have been moved to the top right of the canvas where they are always visible, even when not in edit mode. You can also use the standard Undo/Redo keyboard shortcuts (for Windows undo is Ctrl + Z and redo is Ctrl + Y or Ctrl + Shift + Z).
  • New Mouse Action: Double-Click: Double-clicking any interactable feature on the map (infrastructure pins, route and region nodes, etc.) opens its edit dialogue.
  • Global Undo/Redo History: A unified undo/redo history now steps through all changes in order, regardless of the active tool. Previously, raster edits (terrain, biomes) and vector edits (pins, routes, labels) used independent histories.
  • Toggle Live Terrain Generation: Added a button to the edit toolbar for the Feature tool to toggle live terrain generation. When disabled, a second button allows pending terrain changes to be applied manually. This makes drawing river or fault lines easier.

IMPROVEMENTS

  • Features that automatically generate labels now include label properties within their main edit dialogue.
  • Labels now support a maximum width (0 for unlimited), which enables word wrapping. Text justification (left, centre, or right) is also supported.
  • Colour pickers with pre-defined palettes now use a standard dropdown for swatches, alongside an "Other..." button for custom colours.
  • Added new icons for infrastructure pins.
  • The Edit Pin dialogue now displays a visual grid of pin icons instead of a text list.
  • The UI now locks and displays an in-progress indicator while generating terrain, biomes, or managing files.
  • Reduced grid line opacity.
  • Journal map pins created during the export scene process will now be scaled between 32px (Foundry's minimum) and 96px depending on the map's resolution.
  • Lower resolution exported maps (PNG or scene) are now dynamically over-sampled to make labels and icons sharper. Oversampling is scaled between 2x and 1x, depending on the map width.
  • The moisture scale slider is no longer infintely precise! It will now only show values in steps of 10.

BUG FIXES

  • Fixed an issue where infrastructure icons were not being included in maps during the scene export process.
  • Fixed an issue where the map would not work when the module was detached from Foundry and the window was maximised.
  • Fixed an issue when the module was detatched from Foundry. A map would stall while it generated topography and it would not move on to the next stage of the generation process unless the window was reattached to the Foundry window.
  • Changing climate, terrain, grid, or biome colours now correctly marks the map as modified, prompting a save warning before closing or loading a new map.
  • Grid visibility state now saves correctly with the map.
  • Fixed an issue where legacy routes from earlier versions were missing style properties.
  • Fixed an issue where switching between the terrain and climate tools would not reset the active brush tool.
  • Fixed an issue where discarding changes on a map and reloading the same map still showed those changes. This was an issue with the cache and did not affect the saved map.
  • Fixed an issue where the grid for a loaded map would use the map dimensions from the previous map (if different).

UNDER THE HOOD

  • MapStudioApp Refactor: Extracted hard-coded constants to FILRODENSWMB. Refactored MapStudioApp into a strict UI manager, introducing new classes for spatial maths, state management, dialogue management, and regional map generation. Most UI elements are entirely driven by the data model, reducing the need to directly manipulate the DOM. Some DOM manipulation is retained for map controls and undo/redo buttons to avoid re-rendering the map canvas and destroying the PIXI container.
  • StudioCanvas Refactor: Separated terrain features (river source pins, procedural rivers, custom rivers, and fault lines) into dedicated graphics layers.
  • Performance Improvement: Orographic Lift Resampling Climate engine updated to read the elevationData array rather then recalculate it a second time for each pixel.
  • Performance Improvement: Boundary Sorting in Basin Filling Added a MinHeap (priority queue) to improve generation of lakes.
  • Performance Improvement: String-Keyed Sets in Hydrology Replace the use of string literals with a generation-stamped Uint32Array, reducing the memory footprint of river tracing.