Commit graph

1447 commits

Author SHA1 Message Date
Peter
d16fff9524 import resource-editor ui 2022-11-27 17:49:31 -05:00
Peter
09a5a7bd04 merge fixes 2022-11-27 17:33:47 -05:00
Peter
5beb497026 remove unused files 2022-11-27 17:23:26 -05:00
Peter
1776fa8917 main references to resources 2022-11-27 17:18:54 -05:00
Peter
a6a8acbd1e merge module uis 2022-11-27 17:05:47 -05:00
Peter
112e78f40a merge module ui 2022-11-27 16:56:11 -05:00
Peter
8875f5d10a merge editor uis 2022-11-27 16:35:40 -05:00
Peter
cf017b4943 merge synchronizing dynamic modules 2022-11-27 16:22:52 -05:00
Peter
9d18e962ac Merge synchronizations with the master branch 2022-11-27 16:18:19 -05:00
Peter
f3396941e4 post-merge fixes 2022-11-27 14:46:31 -05:00
Peter
c24a786519 Merge economics with current 2022-11-27 14:11:46 -05:00
Azgaar
f17bc1e3af feat(names): name colonies using New constuct 2022-11-27 14:09:24 -05:00
Thomas Robert
7c10fd7b6c UI improvement for hierarchy tree (#834)
* style(hierarchy tree): improve responsivness

Fix details on the bottom of the dialog
Make the tree view take the rest of the available space of the dialog

* style(hierarchy tree): distinguish buttons

Distinguish between action buttons and remove origins tags-like button

* typo(hierarchy tree): change button label and tips

* fix(hierarchy tree): disable top node interactions

* chore: update version/hash to v1.86.07

* chore: update version/hash to v1.86.08

* fix: bad hash versions

* fix: update index.html to correct versions
2022-11-27 14:08:10 -05:00
Azgaar
acd9531bb8 feat(charts): add quantization types 2022-11-27 14:07:32 -05:00
Azgaar
14fc0dcfeb feature(hierarchy tree): dynamically load, control dialog 2022-11-27 14:06:56 -05:00
Azgaar
3d26c12740 chore: update hash for cahnged files 2022-11-27 14:06:07 -05:00
Azgaar
7d08aa132f refactor: load religions editor dynamically 2022-11-27 14:05:52 -05:00
Azgaar
fbb2d71f58 refactor - create types array to have named attributes 2022-11-27 14:04:30 -05:00
Azgaar
82c5a173b5 hotfix: reGraph to no override pack object 2022-11-27 14:03:54 -05:00
Azgaar
22cc273981 version info and hash update 2022-11-27 14:03:21 -05:00
Azgaar
b6a1012753 heightmap selection - refactor, make generation immutable to get predictable result 2022-11-27 14:02:59 -05:00
Azgaar
8ea89111fc central store for heightmap configs 2022-11-27 14:02:32 -05:00
Azgaar
451392b743 tooltip - get shortcut from its own attribute 2022-11-27 14:02:13 -05:00
Azgaar
8b4530ad25 heightmap select - open edit tools 2022-11-27 14:01:59 -05:00
Azgaar
7c4f685a57 refactor dialogs to be mobile-friendly 2022-11-27 14:01:45 -05:00
Azgaar
48e36fa26c heightmap select - style fixes 2022-11-27 14:01:26 -05:00
Azgaar
e1cbca2546 generation flow for heightmap select 2022-11-27 14:01:04 -05:00
Azgaar
bc3c5d2b86 heightmap - fix issues 2022-11-27 14:00:47 -05:00
Azgaar
fc4f4827c1 pump version to 1.83.0 2022-11-27 14:00:29 -05:00
Azgaar
17baa09a78 Fractious template 2022-11-27 14:00:13 -05:00
Azgaar
69823ceeb0 load dynamically cultures editor 2022-11-27 13:57:07 -05:00
Azgaar
877ae096bd states-editor - dynamic module 2022-11-27 13:56:18 -05:00
Azgaar
fd450a20c1 hasCoadjacentSameStateCells checks 2022-11-27 13:56:05 -05:00
Azgaar
6fc9b75e00 get rid of jquery for don't ask box 2022-11-27 13:54:59 -05:00
Azgaar
929d85a335 slightly optimize onZoom 2022-11-27 13:51:03 -05:00
Azgaar
a06e55d618 annotate template strings for syntax hightlight and format 2022-11-27 13:44:11 -05:00
Azgaar
bb65aca3ac supporters update 2022-11-27 13:43:34 -05:00
Mészáros Anna Veronika
9b445a1d0d restoring inappropriate fix (#785)
* restoring inappropriate fix

* removing culture cell data on import
2022-11-27 13:43:21 -05:00
Azgaar
aae22ec1e5 V1.8 (#784)
* pump version to 1.8

* resampleDialog UI update

* don't draw markers if not required

* submapOptionsDialog style changes
2022-11-27 13:43:07 -05:00
Azgaar
365db354c9 prettify 2022-11-27 13:42:12 -05:00
Gergely Mészáros, Ph.D
26ce225071 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-11-27 13:34:12 -05:00
Mészáros Anna Veronika
97a059bbbb Dev csv (#761)
* import cultures feature

* remove debug messages

* code cleanup
2022-11-27 13:32:27 -05:00
Azgaar
72278362b6 set size for pre-defined maps 2022-11-27 13:28:42 -05:00
Azgaar
c306d2fb2e predefined-heightmaps 2022-11-27 13:28:01 -05:00
Azgaar
dd407e8be5 notes editor - use tiny cloud editor 2022-11-27 13:26:52 -05:00
Azgaar
d49ecd209f load auto-update sctipt dynamically 2022-11-27 13:25:25 -05:00
Azgaar
08a9d75bc9 zone editor - restore init state + type display 2022-11-27 13:20:53 -05:00
Ángel Montero Lamas
61d4d52589 Zone filter (#728)
* Adding zone type dropdown to index.html

* added zone type filter to zones-editor.js

* zoneTypes dialog

add and delete types, dialog

* filtering types

* correct filter button and prompt

The filter button now works on click with an added zonesEditorAddLines(); on function toggleFilterTable().

If the table is empty, a message appears on a line giving advice.

* Amount of types and fixes

Fixed some spacing in zoneTypes dialog, and made a count for the amount of zones per type.

* Minor changes for zone types

* dialog for types on a button

New button for the zone Types dialog.

* typo in index.html

* update on click add type

Co-authored-by: Evolvedexperiment <evolvedexperiment@gmail.com>
Co-authored-by: Azgaar <maxganiev@yandex.ru>
2022-11-27 13:20:32 -05:00
Azgaar
3e353e98cc add only used hatchings on export 2022-11-27 13:20:18 -05:00
Ángel Montero Lamas
cf17d51910 Color picker hatches 14-60 (#726)
* Color picker hatches 14-60

Added hatches to number 14 to 60.
Updated the code of the color picker to accept multiples rows of hatches.

Changed the size of fillRectPointer from 0.9 em to 1.5 em.

Added an Update code to upgrade maps to 1.72 to have a grid of 60 svg hatches. Without the update, loaded files appeared with the rectangles for hatches 14-60 empty.

* Hatches ordered

Reworked the code to put back rows of 14 hatches. Reordered the first 14 hatches to defaault.
Made 3 rows, so 42 hatches.

* Cleaned code and fixes

Cleaned </pattern> in index.html line 152.
Put back: width=".9em" height=".9em" style="margin-bottom:-1px"> for fill.

* mouseover hatches

Fixed some typos. Changed mousemove for mouseover and moved the calling of the function tip from the each function to the original place at 519.
The arrow function changed to one that tells the id.

* Copies hatching from defElements into map svg, and hatching removed from saved map files.

* Removed haching completely from map svg

* Hatching copy for clone is now done before unused pattern removal

* Added back code that removes the unused hatching group

Co-authored-by: Evolvedexperiment <evolvedexperiment@gmail.com>
Co-authored-by: Azgaar <maxganiev@yandex.ru>
2022-11-27 13:20:03 -05:00