Commit graph

83 commits

Author SHA1 Message Date
John Morrow
c278829f11 emblem-controls v1: Adds settings to culture that provide some control over the creation of emblems for that culture. This implementation includes variation in the default cultures but it could be configured to not change anything by default. I also cleaned up the culture editor grid a bit. The next step will likely involve seeing about adding an iconic charge (or two) and iconic tincture to religions and states to make that charge and color likely to appear in emblems for that religion or culture. Note that the version was updated to 1.94.00 because it adds not data to the culture structure. 2023-11-01 00:45:57 -04:00
Azgaar
87599d1530
State labels: new label placing algorithm (#977)
* feat: draw state labels start

* feat: update old .map files

* chore: update version hash

* fear: add change to the user's changelog
2023-08-11 18:56:42 +04:00
metehan
82f951f4ec
Turkish culture fixes (#968)
* Turkish culture fixes

* Turkish namebase shortened
2023-08-01 20:41:14 +04:00
Azgaar
d40cab2e28 fix: clean cultures on regeneration, v1.89.07 2023-02-19 18:11:07 +04:00
Azgaar
eb5d924cbd fix: state expansion to reset on re-generation 2023-02-05 00:49:05 +04:00
Azgaar
8a1122e668 fix: remove label path of regeneration 2023-01-22 14:18:59 +04:00
Azgaar
dada419f20
Add the ability to lock states, provinces, cultures, and religions: refactoring (#910)
* Add the ability to lock states, provinces, cultures, and religions (#902)

* Add the basis for locking everything, code and test the culture locking

* Got the religion generator working, but not the tree. There are cycles being generated

* Religions work now, including the tree view

* Got the states and provinces working as well, all good and ready

* Refresh the province editor when regenerating

* Implement the versioning steps

* Fix the state naming and color changing even when locked

* The fix did not work with loaded maps, fix that too

* Fix a few more bugs and address the PR feedback

* Fix the state expanding event when they're locked bug

* Implement some logic to ignore state being locked when regenerating provinces directly.

* refactor(#902): start with states regenertion

* refactor(#902): locked states cells to be assigned on start

* refactor(#902): lock state - keep label

* refactor(#902): lock provinces

* refactor(#902): regenerate states - update provinces

* refactor(#902): regenerate cultures

* refactor(#902): regenerate religions

Co-authored-by: Guillaume St-Pierre <gstpierre01@gmail.com>
Co-authored-by: Azgaar <maxganiev@yandex.com>
2023-01-08 03:38:52 -08:00
Azgaar
2bbff50b60 fix: image conversion UI, restrict namebase chars 2022-09-17 14:36:32 +03:00
Azgaar
ba0a7516ef feat(names): name colonies using New constuct 2022-06-24 18:34:32 +03:00
Azgaar
6766de46ef generation flow for heightmap select 2022-05-26 00:19:32 +03:00
Azgaar
4fcd62bb99 states-editor - dynamic module 2022-05-15 16:03:47 +03:00
Azgaar
2327aa980c hasCoadjacentSameStateCells checks 2022-05-14 14:34:21 +03:00
Azgaar
1573fad58d annotate template strings for syntax hightlight and format 2022-05-08 19:22:15 +03:00
Gergely Mészáros, Ph.D
5703e62177
Dev submaps (#770)
* bioms shouldn't be masked or the style selection box is useless

* fix: misleading comment

* experimental submapping feature

* burg remapping

* Submap with options

* Fix: calculating absolute flux from precipitation normal-value.

* effective distanceScale

* updated resampler

* fix: missing cell

* Fix: River automatic rerender on regeneration.

* FIX: wrong culture migration

* fixed 0 index burg bug, more accurate coast detection for burgs

* FIX: wrong burg cell id

* fix invalid feature number at burg.ports, option to disable regenerations

* Relocate submap

* update height model and scale parameters

* new menu

* Dropbox OAuth implementation and Cloud framework

* add some space

* removing uneccesary logs, defer script load

* map position on planet, fix wrong riverbed generation

* fix:riverbed generation

* better cell sampler

* Auto-Smoothing,dist fix

* FIX: incorrect province copy and minor fix of rebels

* Cleanup

* FIX: water detection bug

* Recompute centers (states, cultures, provinces)

* activating forwardmap

* FIX: port burg relocation algo

* FIX: coast detection (for burgs)

* Fix: invalid html id

* add dot

* update for FMG 1.73

* Update submap gui

* refactored submap ui options

* Copy all visible military units from the old map.

* add info text

* Add Markers.deleteMarker API.

* Lock markers and lock burgs options

* better comment

* submapper gui updates, remove feature mapping on/off

* Fix typo (thx evolvedexperiment)

* fix ugly GUI (2 digit roundoff)

* resample dialog

* Town Promotion to largetown

* don't promote to capitals.

* Fix typo

* round style settings

* do not draw removed burgs

* Fix port cell search algo

* Fix: robust error handling, no error for 0.

* submap: projection moved to options, fix double burg error

* complete rewrite of burg relocation

* findcell by coordinates

* prepare to merge, add comments, remove fluff

* replacing lodash with deepCopy implementation

Co-authored-by: Mészáros Gergely <monk@geotronic.hu>
2022-04-15 12:45:02 +03:00
Azgaar
ff669fca50 round numbers 2022-02-12 21:37:06 +03:00
Azgaar
214bc7a40d allow more states via number input 2022-01-16 19:37:16 +03:00
Azgaar
207b564180 improve MFCG link generation 2022-01-16 14:54:30 +03:00
Ángel Montero Lamas
ec054a1333
Adding some state and province forms to FMG (#714)
* Update burgs-and-states.js

* Update burgs-and-states.js

* Adding state and province form to the list

* typo in index.html

* deleted some suggested forms

Deleted some forms of state and province. Some are still suggested to add.

* Updated burgs-and-states.js

Worked eparchy, exarchate, patriarchate, captaincy and seneschalty.

* index.html alphabetical order state forms

alphabetical order for Patriarchate in theocracy group
2021-12-31 19:06:39 +03:00
Azgaar
4935d506b6 state labels mode 2021-11-07 20:55:13 +03:00
Azgaar
6de70f5897 buttons to release all provinces and regenerate culture name 2021-11-07 18:57:52 +03:00
Azgaar
2c05db2d15 state expansion province change rework 2021-11-06 16:33:58 +03:00
Azgaar
bdc0c9f8ee minmax util function 2021-10-10 17:59:27 +03:00
Azgaar
7f33c26729 markers - generate campaigns if missing 2021-10-07 12:39:09 +03:00
Azgaar
3a6d2352b0 Reservation to bein upper case, new values 2021-08-15 11:24:12 +03:00
Azgaar
ec14e09c14 big cities to be capitals more often 2021-08-11 21:37:36 +03:00
Azgaar
460bb29e49 replace old iife by a simpler ones 2021-08-04 23:49:02 +03:00
Azgaar
50f497c62a river type - fix fork type selection 2021-07-23 20:37:17 +03:00
Azgaar
0adc0e883a refactor river fendering 2021-07-20 00:20:04 +03:00
Azgaar
edf728a12e 3d labels - draw labels as they are 2021-07-17 23:32:02 +03:00
Azgaar
25c97df2d0 add tier 2021-07-11 01:20:25 +03:00
Azgaar
c8eccfb0e7 more state types 2021-07-11 01:18:39 +03:00
Azgaar
886ea38b44 restring layers off on heightmap edit 2021-04-18 22:03:57 +03:00
Azgaar
38c8a20c45 fixed #619 2021-04-10 14:33:59 +03:00
Legogizmo
f855de6fb8
Added a lock function to burgs (#612)
* Added a lock function to burgs that will prevent them from being regenerated

* Updated tooltips and fixed culture change from renaming locked burgs and group remove from deleting locked burgs
2021-03-30 00:05:49 +03:00
Azgaar
4fdb265b56 v1.5.82 - bug fixes 2021-03-01 17:56:51 +03:00
Azgaar
7b1e463c92 v1.5.48 - hunting and nomad type only for small settlements 2021-02-21 01:10:52 +03:00
Azgaar
67ec838160 v1.5.32 - resolve conflicts 2021-02-14 19:59:37 +03:00
Azgaar
71ca7a1166 v1.5.276 - libs minification 2021-02-14 16:49:35 +03:00
Azgaar
66bd7b7f6f v1.5.25 - smarter generation 2021-02-14 15:11:42 +03:00
Azgaar
63e66b1678 v1.5.21 - smarted coa generation 2021-02-12 15:55:26 +03:00
Azgaar
6987474c2e v1.5.14 - Province/diplom. editors - emblems added 2021-02-10 02:30:31 +03:00
Azgaar
d25965b618 v1.5.13 - Anarchy state form 2021-02-09 01:43:12 +03:00
Azgaar
f4d8b439b4 v1.5.08 - province/burg regenerate - emblems 2021-02-04 15:56:28 +03:00
Azgaar
7d0bf2689e v1.5.06 - canton generation fix 2021-02-04 15:56:28 +03:00
Azgaar
925e7accbd v1.5.05 - emblems regeneration 2021-02-04 15:56:28 +03:00
Azgaar
3aaddcf1a7 v1.5.04 - smarter coa generation, coa download 2021-02-04 15:56:28 +03:00
Azgaar
549eefe7ba v1.5.04 - Emblems layer and on map placement 2021-02-04 15:56:28 +03:00
Azgaar
b86d985607 v1.5.01 - COA gen integration, first try, embed 2021-02-04 15:56:27 +03:00
Bryce Kabat
122c456588 Added Logging Options to Improve Performance (#529)
* Added Logging Options to Improve Performance

* Requested Changes

Co-authored-by: Onyx Azryn <brycekabat@onyxazryn.com>
2021-02-04 15:56:27 +03:00
mdirienzo
fb28576f7c Add the ability to regenerate cultures (#495)
* Add the ability to regenerate cultures

- Added a button to the tools menu for regeneration.
- Regeneration button will handle initial generation of cultures and expansion afterwards.
- Pressing regenerate will warn the user.
- Small cleanup of trailing whitespace.

* Refreshing cultures editor updates culture centers

* Regenerating cultures refreshes the culture editor

* Added a function to refresh all open editors

* Reset burg and state cultures after regeneration

* Address the problem of potential data loss

Any errors while iterating the states or burgs could potentially lose the index 0 metadata stored in the arrays. This will instead track the index and ignore the 0th result.

* Religions update cultures on culture regeneration

Updated function names to be more similar and more descriptive
2021-02-04 15:56:26 +03:00