Commit Graph

427 Commits

Author SHA1 Message Date
GenevensiS 0baa73ae7d fix bugs
- dimensions_of should now work in all contexts
- import_image now works in style files, although should be avoided, since it reloads the file every time the code in run, it should be used in one shot scripts, like import scripts and bulk modification scripts
- process_english_hints now correctly processes <singular> and <plural> tags
2026-04-24 13:18:40 +02:00
GenevensiS d782e4851c add is_default script function 2026-04-19 19:06:52 +02:00
GenevensiS 17dd3cf407 add exceptions to english_plural and english_singular 2026-04-19 16:04:20 +02:00
GenevensiS fa3f2e950d add 'fill_image' script function, rename 'offset' combine mode to 'lightmap' 2026-04-12 07:30:11 +02:00
GenevensiS d49cfda407 add brighten_image script function, 'average' and 'offset' combine modes 2026-04-11 04:51:59 +02:00
GenevensiS c167272ae6 add dependency checks for card.linked_card_x 2026-04-10 02:38:38 +02:00
GenevensiS 4d1c7aae96 prevent dropdown from closing when moving to parent or child 2026-04-09 19:30:17 +02:00
GenevensiS bb4e8c558e fix compile 2026-04-01 14:36:57 +02:00
GenevensiS 1210dcdf16 fix bullet indent, add clauses 2026-03-06 19:05:43 +01:00
GenevensiS 11e506739a linking refactor 2026-02-01 17:39:33 +01:00
GenevensiS 6b1c7488bf ensure image script functions preserve metadata 2026-01-25 15:06:48 +01:00
GenevensiS c42068f918 add set_metadata, get_metadata script functions 2026-01-20 10:30:21 +01:00
GenevensiS ef835e6f46 rename script functions 2026-01-19 16:46:54 +01:00
GenevensiS 28d5993fe6 improve to_json(StyleP) 2026-01-17 07:55:34 +01:00
GenevensiS 2e68014612 make to_json work on StyleP and IndexMap 2026-01-15 18:22:16 +01:00
GenevensiS 8afd412021 add 'add_stroke_effect' script function 2026-01-14 11:48:17 +01:00
GenevensiS 608de308fd add 200ms delay before starting drag'n'drop 2026-01-07 04:34:08 +01:00
GenevensiS fbf2023848 convert to CRLF line endings 2026-01-05 01:01:18 +01:00
GenevensiS d113e30423 add allow_image_download setting 2026-01-04 17:31:23 +01:00
GenevensiS 099c5ae738 check for stylesheet in import scripts 2026-01-04 04:59:34 +01:00
GenevensiS dc27a13d8d fix encoding issues YET AGAIN 2026-01-04 01:48:15 +01:00
GenevensiS 8cca7674bd add store_in_metadata image style property 2026-01-04 00:29:00 +01:00
GenevensiS 436c437189 add compiler directives
add compiler directives
2025-12-30 01:18:04 +01:00
GenevensiS 5390a032fc add strikethrough 2025-12-28 16:49:51 +01:00
GenevensiS 5c1b7b9dfc add download_image, refactor import_image 2025-12-28 13:59:23 +01:00
GenevensiS 3d0f21d483 fix encoding problem 2025-12-25 12:05:11 +01:00
ebbit1q 2d5ec064df Fix compile 2025-12-17 07:01:04 +01:00
GenevensiS aeed54e4ba localize card links, add_link, remove_links 2025-12-16 19:05:33 +01:00
GenevensiS 66016f381c rewrite image caching logic 2025-12-14 05:33:31 +01:00
GenevensiS 2888dc4059 add bleed edge option, get_card_export_settings function 2025-12-13 20:33:18 +01:00
GenevensiS a616dd007b restore use_user_settings in to_card_image 2025-12-07 00:42:32 +01:00
GenevensiS ffbe3daf39 add get_front_face() get_back_face() get_cards_from_link() 2025-12-06 21:39:12 +01:00
GenevensiS 039a9c5b34 prevent crash with div 0 and mod 0 2025-12-04 21:32:19 +01:00
ebbit1q 5512aad587 fix compilation errors 2025-11-28 10:48:54 +01:00
GenevensiS cf0a84a8a7 Card data in images (minimum viable)
* remove wxEmptyString

* improve style tab carousel

* create web request window

* add drop target and drop source
2025-11-28 10:42:30 +01:00
Colin f5b5c0968d fix position function bugs 2025-11-03 13:20:53 +01:00
GenevensiS 513612cd0e Dark mode 2025-10-09 17:57:20 +02:00
GenevensiS 81e9a1e26f Card data in images (start)
* Add uuid implementation

* Simplify uid implementation

* Check for uid conflicts upon adding/copying cards

* Remove unnecessary checks

these are already checked as part of the first loop, since they were added to set.cards

* Implement card linking

* refactor to avoid triple loop

* Start link visualization

* Continue link visualization

* formatting

* add missing locale entries

* improve layout

* improve UI refresh

* copy links when copying cards

* implement second face editor

* refactor using macros

* get references

* pasting multiple cards and links

* start refactoring editors

* continue refactoring editors

* continue refactoring editors again

* finish refactoring editors

* refresh card list on link editor event

* tweak event handling

* Add insert_image script function

* change parameter type

* add script functions to get cards

* add dimensions_of script function

calculate both dimensions simultaneously while rendering the image only once.

* save value even if not editable

* add get_mse_locale script function

* Change zoom scale choices

* bug fixes

* Scale symbol spacing with font size

* sync locales

* standardize line ending

* handle links in new_card

* initial

waiting on wxWidgets 3.3.1

* update comment

* store rect in image filename

* store rect in temp file name

* Update package.cpp

* change line endings
2025-08-11 16:57:04 +02:00
GenevensiS 3bf9de18b1 Implement unique IDs and card linking 2025-08-11 16:17:13 +02:00
GenevensiS fb1f96d517 add const where possible 2025-08-09 13:01:47 +02:00
GenevensiS dc348b4812 Add to_json and from_json script functions 2025-08-07 18:45:12 +02:00
GenevensiS d85f5a4927 add add_card_to_set script function
make styling_data initializable in new_card script function
2025-07-19 18:18:33 +02:00
GenevensiS 0e4c91b940 add insert_image and add_bleed_edge functions 2025-07-14 01:23:26 +02:00
GenevensiS 8acd60d2d6 fix error message 2025-06-25 23:00:25 +02:00
GenevensiS d95e9cb2b4 fix reference bug in readCSV() 2025-06-25 22:50:58 +02:00
GenevensiS e45353af9b Add Json importer (#46)
add boost-json to dependencies
2025-06-21 07:53:35 +02:00
GenevensiS a401d68c9b update locales 2025-06-09 17:04:18 +02:00
GenevensiS 87fbc0e80e Implement CSV / TSV import (#45)
- add csv/tsv importer
- add `make_map` script function
- add `alt name` field property
- add `construction script` field property
- add `construction script` game property
2025-06-09 04:53:33 +02:00
GenevensiS c577417191 add get_mse_path script function 2025-05-22 12:39:09 +02:00
GenevensiS 5907163f59 add plains as exception to english_singular and english_plural 2025-04-15 22:33:08 +02:00