Fantasy-Map-Generator/modules/ui
barrulus 82eb441845 Implement tiered route system with enhanced CSV export
This commit introduces a comprehensive tiered route generation system that replaces the basic route categories with specific route types based on medieval transportation networks:

Route System Changes:
- Major Sea Routes (majorSea): Long-distance maritime trade routes connecting capitals and major ports across water bodies, simulating Hanseatic League-style trade networks
- Regional Sea Routes (regional): Shorter routes within specific water bodies for high-traffic local maritime trade
- Royal Roads (royal): Capital-to-capital connections for diplomatic and military movement using minimum spanning tree algorithm
- Market Roads (market): Regional trade networks connecting market towns with 15-30km spacing based on medieval market day travel distances
- Local Roads (local): Village-to-market connections linking settlements to their nearest commercial centers
- Footpaths (footpath): Hamlet paths with 3-8km range for local community connections

Implementation Details:
- Removed fallback calls to legacy route generation functions to ensure clean tiered system operation
- Routes now include both 'group' (general category) and 'type' (specific tier) properties for detailed classification
- Enhanced route generation uses settlement hierarchy and geographic constraints for realistic medieval transportation patterns
- Route cost modifiers applied based on route type importance (royal and majorSea routes have priority routing)

CSV Export Enhancements:
- Added 'Type' column to routes CSV export to distinguish between route tiers
- Updated routes overview UI to display both group and type information
- Enhanced header layout to accommodate new type column
- Routes can now be analyzed by both general category and specific function

Technical Changes:
- Fixed route ID assignment conflicts between immediate and background processing phases
- Improved route data structure consistency across generation phases
- Updated routes overview display to show detailed route type information
- Enhanced CSV export function to include route type data from pack.routes
2025-08-14 23:47:14 +01:00
..
3d.js Refactor layers rendering (#1120) 2024-09-20 12:20:27 +02:00
ai-generator.js feat(ai-generator): update supported AI models list 2025-06-14 15:24:23 +02:00
battle-screen.js Allow data URI scheme for custom images (#1196) 2025-03-08 14:51:48 +01:00
biomes-editor.js Fix population aggregation system to eliminate double-counting 2025-08-13 18:54:32 +01:00
burg-editor.js feat: like temp likeness, 1.106.6 2024-12-17 12:48:41 +01:00
burgs-overview.js Add world coordinate export for burgs with improved unit conversion 2025-08-12 18:30:21 +01:00
coastline-editor.js Refactor layers rendering (#1120) 2024-09-20 12:20:27 +02:00
diplomacy-editor.js Merge states (#962) 2023-07-23 14:25:41 +04:00
editors.js Allow data URI scheme for custom images (#1196) 2025-03-08 14:51:48 +01:00
elevation-profile.js Urquhart routes (#1072) 2024-08-15 15:46:55 +02:00
emblems-editor.js fix: (v1.91.00) 2023-08-08 15:25:28 +04:00
general.js fix: routes (v1.104.3) 2024-09-20 14:16:07 +02:00
heightmap-editor.js fix: disable double-click on heightmap edit 2024-09-22 20:07:55 +02:00
hotkeys.js Refactor layers rendering (#1120) 2024-09-20 12:20:27 +02:00
ice-editor.js fix(#906): ice to follow expected size, reduce ice elements in general 2023-02-25 16:01:22 +04:00
labels-editor.js Draw state labels improvement (#1155) 2024-10-19 13:25:34 +02:00
lakes-editor.js fix: features rendering - close the ring 2024-10-13 20:32:37 +02:00
layers.js refactor: drawReliefIcons, v1.108.4 2025-02-15 18:03:54 +01:00
markers-editor.js Allow data URI scheme for custom images (#1196) 2025-03-08 14:51:48 +01:00
markers-overview.js fix(ui): correct marker note lookup by adding prefix 2025-07-02 00:52:41 +02:00
measurers.js Refactor layers rendering (#1120) 2024-09-20 12:20:27 +02:00
military-overview.js Fix population aggregation system to eliminate double-counting 2025-08-13 18:54:32 +01:00
namesbase-editor.js fix: allow to load smaller namesbase without issues on regeneration 2024-10-09 01:08:47 +02:00
notes-editor.js fix: notes editor size to be relative to canvas size 2025-02-10 12:41:14 +01:00
options.js fix: submap - generate in current canvas size 2024-12-13 13:15:01 +01:00
provinces-editor.js Fix population aggregation system to eliminate double-counting 2025-08-13 18:54:32 +01:00
regiment-editor.js Allow data URI scheme for custom images (#1196) 2025-03-08 14:51:48 +01:00
regiments-overview.js Allow data URI scheme for custom images (#1196) 2025-03-08 14:51:48 +01:00
relief-editor.js annotate template strings for syntax hightlight and format 2022-05-08 19:22:15 +03:00
rivers-creator.js [Draft] Submap refactoring (#1153) 2024-12-12 13:11:54 +01:00
rivers-editor.js [Draft] Submap refactoring (#1153) 2024-12-12 13:11:54 +01:00
rivers-overview.js Urquhart routes (#1072) 2024-08-15 15:46:55 +02:00
route-group-editor.js fix: #1129 2024-09-12 12:55:31 +02:00
routes-creator.js fix: routes id after removing all 2024-08-16 13:15:00 +02:00
routes-editor.js fix: routes (v1.104.3) 2024-09-20 14:16:07 +02:00
routes-overview.js Implement tiered route system with enhanced CSV export 2025-08-14 23:47:14 +01:00
style-presets.js feat: letter-spacing - update style files 2024-09-01 14:07:18 +02:00
style.js refactor: drawReliefIcons, v1.108.4 2025-02-15 18:03:54 +01:00
submap-tool.js fix: submap - generate in current canvas size 2024-12-13 13:15:01 +01:00
temperature-graph.js feat: like temp likeness, 1.106.6 2024-12-17 12:48:41 +01:00
tools.js Allow data URI scheme for custom images (#1196) 2025-03-08 14:51:48 +01:00
transform-tool.js fix: submap - generate in current canvas size 2024-12-13 13:15:01 +01:00
units-editor.js Refactor layers rendering (#1120) 2024-09-20 12:20:27 +02:00
world-configurator.js fix: typo 2024-09-25 12:13:16 +02:00
zones-editor.js Fix population aggregation system to eliminate double-counting 2025-08-13 18:54:32 +01:00