mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 17:51:24 +01:00
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 |
||
|---|---|---|
| .. | ||
| 3d.js | ||
| ai-generator.js | ||
| battle-screen.js | ||
| biomes-editor.js | ||
| burg-editor.js | ||
| burgs-overview.js | ||
| coastline-editor.js | ||
| diplomacy-editor.js | ||
| editors.js | ||
| elevation-profile.js | ||
| emblems-editor.js | ||
| general.js | ||
| heightmap-editor.js | ||
| hotkeys.js | ||
| ice-editor.js | ||
| labels-editor.js | ||
| lakes-editor.js | ||
| layers.js | ||
| markers-editor.js | ||
| markers-overview.js | ||
| measurers.js | ||
| military-overview.js | ||
| namesbase-editor.js | ||
| notes-editor.js | ||
| options.js | ||
| provinces-editor.js | ||
| regiment-editor.js | ||
| regiments-overview.js | ||
| relief-editor.js | ||
| rivers-creator.js | ||
| rivers-editor.js | ||
| rivers-overview.js | ||
| route-group-editor.js | ||
| routes-creator.js | ||
| routes-editor.js | ||
| routes-overview.js | ||
| style-presets.js | ||
| style.js | ||
| submap-tool.js | ||
| temperature-graph.js | ||
| tools.js | ||
| transform-tool.js | ||
| units-editor.js | ||
| world-configurator.js | ||
| zones-editor.js | ||