Commit graph

864 commits

Author SHA1 Message Date
sofronaspe
9ce260af29 Fix icon size in burg editor. 2025-01-11 14:23:35 -05:00
sofronaspe
efbca32881 Rebase, add functionality to Resources editor. 2025-01-10 23:23:36 -05:00
Azgaar
c6377a5eec feat: like temp likeness, 1.106.6 2025-01-10 21:27:39 -05:00
Azgaar
0c15957b34 fix: submap - generate in current canvas size 2025-01-10 21:27:23 -05:00
Azgaar
1cbcdbe70a fix: #1174 2025-01-10 21:27:23 -05:00
Azgaar
8a4b83f92f [Draft] Submap refactoring (#1153)
* refactor: submap - start

* refactor: submap - continue

* Merge branch 'master' of https://github.com/Azgaar/Fantasy-Map-Generator into submap-refactoring

* refactor: submap - relocate burgs

* refactor: submap - restore routes

* refactor: submap - restore lake names

* refactor: submap - UI update

* refactor: submap - restore river and biome data

* refactor: submap - simplify options

* refactor: submap - restore rivers

* refactor: submap - recalculateMapSize

* refactor: submap - add middle points

* refactor: submap - don't add middle points, unified findPath fn

* chore: update version

* feat: submap - relocate out of map regiments

* feat: submap - fix route gen

* feat: submap - allow custom number of cells

* feat: submap - add checkbox submapRescaleBurgStyles

* feat: submap - update version hash

* chore: supporters update

---------

Co-authored-by: Azgaar <azgaar.fmg@yandex.com>
2025-01-10 21:27:23 -05:00
Azgaar
31c1303b28 fix: #1170 2025-01-10 21:25:08 -05:00
Azgaar
6263998e29 AI Claude support (#1167)
* Add Claude AI support (#1165)

* feat: ai generator - add support for claude

* feat: ai generator - add claude support

* refactor: clean up API calls

---------

Co-authored-by: Azgaar <maxganiev@yandex.com>

* feat: ai - claude support

---------

Co-authored-by: aesli <37640637+aesliva@users.noreply.github.com>
Co-authored-by: Azgaar <azgaar.fmg@yandex.com>
2025-01-10 21:25:07 -05:00
Dyxang
f123f7b119 Temperature parameters can be customized (#1162)
* Temperature parameters can be customized

* fix typo

* update to 1.105.22

* Update index.html
2025-01-10 21:25:07 -05:00
Ángel Montero Lamas
7a75c57fb4 Stroke dash to cells (#1159)
* style.js sorted items alphabetically

* style.js added strokeDash to "cells"
2025-01-10 21:25:07 -05:00
Azgaar
ef2eb0a7a4 feat: zones editor - don't close other editors on open 2025-01-10 21:21:14 -05:00
Azgaar
bf1a40776d fix: zones editor - legend to be toggable 2025-01-10 21:21:13 -05:00
Azgaar
53a6892492 Draw state labels improvement (#1155)
* chore: render debug elements

* feat: redo draw state labels algo

---------

Co-authored-by: Azgaar <azgaar.fmg@yandex.com>
2025-01-10 21:21:13 -05:00
Azgaar
bb6bd726a6 fix: lock all burgs 2025-01-10 21:21:13 -05:00
Azgaar
6c39a674a6 fix: features rendering - close the ring 2025-01-10 21:21:13 -05:00
Azgaar
d05237e5dc fix #1152 2025-01-10 21:20:50 -05:00
Azgaar
e1d70da3f0 fix: allow to load smaller namesbase without issues on regeneration 2025-01-10 21:20:36 -05:00
Azgaar
8ed24c249d refactor: burg types 2025-01-10 21:20:35 -05:00
Azgaar
c8885c013e fix: typo 2025-01-10 21:19:35 -05:00
Azgaar
10a7e4599c fix: disable double-click on heightmap edit 2025-01-10 21:19:35 -05:00
Azgaar
342ee80258 feat: battles - move Regiments back to init position after the battle 2025-01-10 21:19:35 -05:00
Azgaar
1ffcea2d3a AI Assistant widget (#1115)
* feat: add assistan widget

* feat: remove gtm

* feat: assistant - minify js, add option UI

* feat: assistant - ability to toggle assistant

* chore: update version to 1.102.00

* chore: resolve version conflict

* chore: cleanup

* chore: cleanup

* feat: ai widget - improve style

---------

Co-authored-by: Azgaar <azgaar.fmg@yandex.com>
2025-01-10 21:19:35 -05:00
Azgaar
be4f206655 fix: split regiment v1.104.14 2025-01-10 21:19:35 -05:00
Azgaar
4c2f878225 fix: heightmap edit in Risk mode 2025-01-10 21:19:10 -05:00
Azgaar
7b526cc536 fix: layers - show emblems on render 2025-01-10 21:19:10 -05:00
Azgaar
49bfd20cc6 fix: heightmap edit in Erase mode 2025-01-10 21:19:10 -05:00
Azgaar
19ee11198f fix: routes (v1.104.3) 2025-01-10 21:19:10 -05:00
Azgaar
a385db12c0 feat: use StaleWhileRevalidate for scripts poloicy; v1.104.2 2025-01-10 21:18:45 -05:00
Azgaar
e671739317 style: reduce submap dialog width - v1.104.1 2025-01-10 21:18:45 -05:00
Azgaar
699011755d Refactor layers rendering (#1120)
* feat: render states - use global fn

* feat: render states - separate pole detection from layer render

* feat: render provinces

* chore: unify drawFillWithGap

* refactor: drawIce

* refactor: drawBorders

* refactor: drawHeightmap

* refactor: drawTemperature

* refactor: drawBiomes

* refactor: drawPrec

* refactor: drawPrecipitation

* refactor: drawPopulation

* refactor: drawCells

* refactor: geColor

* refactor: drawMarkers

* refactor: drawScaleBar

* refactor: drawScaleBar

* refactor: drawMilitary

* refactor: pump version to 1.104.00

* refactor: pump version to 1.104.00

* refactor: drawCoastline and createDefaultRuler

* refactor: drawCoastline

* refactor: Features module start

* refactor: features - define distance fields

* feat: drawFeatures

* feat: drawIce don't hide

* feat: detect coastline - fix issue with border feature

* feat: separate labels rendering from generation process

* feat: auto-update and restore layers

* refactor - change layers

* refactor - sort layers

* fix: regenerate burgs to re-render layers

* fix: getColor is not defined

* fix: burgs overview - don't auto-show labels on hover

* fix: redraw population on change

* refactor: improve tooltip logic for burg labels and icons

* chore: pump version to 1.104.0

* fefactor: edit coastline and lake

* fix: minot fixes

* fix: submap

---------

Co-authored-by: Azgaar <azgaar.fmg@yandex.com>
2025-01-10 21:18:45 -05:00
Azgaar
1e0b4d6d94 fix: #1129 2025-01-10 21:16:05 -05:00
sofronaspe
cb486fa0e8 reinstate economics logic 2024-09-26 00:20:25 -07:00
Azgaar
cea9b1a48a fix: locking options 2024-09-06 02:41:14 +02:00
Ángel Montero Lamas
168203f7da
Friendly text on latitude cell info (#1125)
* Friendly text on latitude cell info

- Added function getLatitudeDescription(latitude)
- Added the text to infoLat on cell info.

* refactored, renamed to getGeozone

* v1.103 on commonUtils.js
2024-09-04 19:18:35 +02:00
Ángel Montero Lamas
b273c77166
added icon-dot-circled to locate burg in burg editor menu (#1123)
* added icon-dot-circled to locate burg

- icon dot-circled
- function zoomIntoBurg()

* pack.burgs[id] and icons

pack.burgs[id].x and y
icon target and map pin

* Update versioning.js to 1.102.0

* Update index.html burg-editor.js to 1.102.00
2024-09-04 02:34:48 +02:00
Azgaar
d42fd5cf92 fix: year and era - unlock both on lock icon click 2024-09-02 12:16:51 +02:00
Azgaar
4f066c6dc1 feat: letter-spacing - improve UI, refactor 2024-09-01 14:14:06 +02:00
Azgaar
2fea87344b feat: letter-spacing - update style files 2024-09-01 14:07:18 +02:00
Azgaar
6e64912e27 Merge branch 'master' of https://github.com/Azgaar/Fantasy-Map-Generator into letter-spacing 2024-09-01 13:03:23 +02:00
Oriolowsky
6ffc5a0cc5
Added the option to set letter-spacing size to individual labels. (#1116)
* Added the option to set letter-spacing size to individual labels.

* Allowed to set letter-spacing for label groups from the Style tab.
2024-09-01 13:02:07 +02:00
Azgaar
eb29c5ec5d
Zones generator update (#1113)
* feat: style - store emblem size mod in style (v1.99.10)

* fix the isOutdated function for versions past 1.99

* fix: showUploadMessage function not called correctly for isUpdated case

* feat: load - improve version detection

* feat: improve version detection and update process

* feat: Update version and use constant for VERSION in multiple files

* Update versioning.js to fix incorrect message display for stored version

* feat: zones editor - update to work with pack data

* feat: zones editor - update editor

* feat: zones editor - update editor

* chore: update version

* feat: zones - regenerate

* feat: zones - render zones as continuius line

* feat: zones - editot changes

* feat: zones - auto-update

* feat: zones - generation fixes

* feat: zones - generation fixes

* feat: zones - restore layer

* feat: zones - proselytism - check population

---------

Co-authored-by: Azgaar <azgaar.fmg@yandex.com>
2024-09-01 12:48:39 +02:00
Azgaar
e77202a08a feat: remove ALT horkeys as unused 2024-08-29 12:14:49 +02:00
Azgaar
33fbfc2e48 feat: style - allow clip setting for prec and population layers 2024-08-26 19:21:15 +02:00
Azgaar
f129ff5573 feat: style - store emblem size mod in style (v1.99.10) 2024-08-26 02:12:30 +02:00
Azgaar
634ad6cd8e feat: ai-generation - stream results 2024-08-25 15:21:45 +02:00
Azgaar
63496a651f fix: style update - get value from event 2024-08-24 01:12:48 +02:00
Azgaar
efbab14d11 Merge branch 'master' of https://github.com/Azgaar/Fantasy-Map-Generator 2024-08-23 18:26:30 +02:00
Azgaar
b54f758350 fix: routes - don't render route with <2 points 2024-08-23 18:26:12 +02:00
Azgaar
6df54d1ef6
AI generation for notes (#1112)
* feat: ai generation for notes

* feat - ai generation -default to gpt-4o-mini

* feat - ai generation - change update text

* feat - ai generation - improve prompt

---------

Co-authored-by: Azgaar <azgaar.fmg@yandex.com>
2024-08-23 18:08:50 +02:00
Azgaar
1f280133be fix: recreateStates 2024-08-23 12:43:15 +02:00