Commit Graph

2334 Commits

Author SHA1 Message Date
GenevensiS 039a9c5b34 prevent crash with div 0 and mod 0 2025-12-04 21:32:19 +01:00
GenevensiS 4e197a75cb Add DPI export targets 2025-12-04 18:12:10 +01:00
GenevensiS 2932d0007d Bulk card modification 2025-12-04 15:44:04 +01:00
GenevensiS f22046d77b prevent drag and drop from within the same card list 2025-12-03 17:50:48 +01:00
GenevensiS 2d6c0d2aee rewrite print logic once again
- move Front Face // Back Face card link to exe level
- print front faces and back faces together
- use printer dpi instead of stylesheet dpi
2025-11-30 10:37:59 +01:00
GenevensiS 22b3a3e8b2 add setting to export card notes in meta data 2025-11-29 12:08:00 +01:00
GenevensiS 614f69ab47 sundry tweaks
- prevent infinite loop and warn when a game has no card fields
- choice fields are no longer ignored if they have no choices defined
- templates can now have the same name as their game folder (no hyphen needed)
- indent made by 4 spaces is now considered a tab (but will still produce a warning let's no kid ourselves)
2025-11-28 19:12:33 +01:00
GenevensiS 46ffe62f15 Update locale 2025-11-28 14:38:39 +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 bf7a9c2f14 Update about_window.cpp 2025-10-09 18:06:39 +02:00
GenevensiS 513612cd0e Dark mode 2025-10-09 17:57:20 +02:00
GenevensiS 78b93e5701 cleanup 2025-08-11 17:54:52 +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 13406b946c Update README.md 2025-08-11 16:12:34 +02:00
GenevensiS 1aa409b794 update readme 2025-08-11 16:06:53 +02:00
GenevensiS 079d40a94c increase about_window size 2025-08-11 15:26:45 +02:00
GenevensiS 8097cb498d bump wxWidgets to 3.3.1 2025-08-09 19:36:27 +02:00
GenevensiS fb1f96d517 add const where possible 2025-08-09 13:01:47 +02:00
ebbit1q 1e166bbc9a fix resource installation instruction 2025-08-08 16:33:12 +02:00
GenevensiS d3ed8fcaca Add docs for to_json and from_json 2025-08-07 20:49:58 +02:00
GenevensiS 5fcc5a43fd update locales 2025-08-07 20:24:23 +02:00
GenevensiS dc348b4812 Add to_json and from_json script functions 2025-08-07 18:45:12 +02:00
GenevensiS 12eb39b5e2 remove debug message 2025-08-01 14:02:20 +02:00
GenevensiS 2b9bc1f296 Add cutter lines option when printing 2025-08-01 13:54:12 +02:00
GenevensiS d74879b6dd fix empty locale bug 2025-07-24 10:05:42 +02:00
GenevensiS 397cb31dad tweaks to sliders 2025-07-22 08:43:13 +02:00
GenevensiS 5cd8069bf1 add global_script statistics dimension property
this script is ran once at the start, and its result is stored in the 'global_value' variable, which is accessible to the regular script.
2025-07-21 04:31:30 +02:00
GenevensiS 51f882315a fix symbol-font bug
seen here:
https://github.com/MagicSetEditorPacks/Full-Magic-Pack/issues/149
2025-07-20 07:50:02 +02:00
GenevensiS 7f6170998b update locales 2025-07-20 03:12:33 +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 45d48d67b1 Revert "restrict drop down menu closing conditions"
This reverts commit 026400a1e0.
2025-07-18 04:40:16 +02:00
GenevensiS 70e44474a5 fix "referencing nonexistant file" bug
improve internal error message
2025-07-15 02:30:11 +02:00
GenevensiS 0e4c91b940 add insert_image and add_bleed_edge functions 2025-07-14 01:23:26 +02:00
GenevensiS e4e5b6840e rewrite print layout logic
allow for different size cards
2025-07-14 00:41:25 +02:00
GenevensiS 58ab8f3636 Make some values scriptable
color radius
color left width
color right width
color top width
color bottom width
font shadow displacement x
font shadow displacement y
font shadow blur
2025-07-14 00:23:45 +02:00
GenevensiS dafd1a4f19 Load all fonts folders 2025-07-10 17:17:10 +02:00
GenevensiS 026400a1e0 restrict drop down menu closing conditions 2025-07-02 21:40:45 +02:00
GenevensiS 0c457411c2 widen welcome window buttons 2025-07-02 03:31:51 +02:00
GenevensiS 67f8b2bcb1 close drop down menus on tab key press 2025-07-02 01:23:35 +02:00
GenevensiS 276842be30 restrict drop down menu closing conditions 2025-07-02 00:27:26 +02:00
GenevensiS 2e839d673b change keyword name and match proportions 2025-07-01 22:45:19 +02:00
ebbit1q a953d72f88 fix string typing error 2025-06-30 00:32:05 +02:00
ebbit1q b230ca44b8 fix string typing error 2025-06-29 23:45:29 +02:00
GenevensiS e252c8808b optimise updateCardCounts 2025-06-29 23:19:28 +02:00
GenevensiS 5be8ae8794 Update add_csv_window.cpp 2025-06-26 21:01:30 +02:00
GenevensiS 2ba44de420 update locales 2025-06-26 20:57:10 +02:00
GenevensiS 8acd60d2d6 fix error message 2025-06-25 23:00:25 +02:00