Commit Graph

561 Commits

Author SHA1 Message Date
GenevensiS 21ea45c9c5 add error messages to bulk modification 2026-01-07 02:41:57 +01:00
GenevensiS fbf2023848 convert to CRLF line endings 2026-01-05 01:01:18 +01:00
GenevensiS 8c889cf0aa remember import directory 2026-01-04 18:41:45 +01:00
GenevensiS d113e30423 add allow_image_download setting 2026-01-04 17:31:23 +01:00
GenevensiS 8cca7674bd add store_in_metadata image style property 2026-01-04 00:29:00 +01:00
GenevensiS 6a1d23efc7 add bleed margin in print menu 2025-12-31 04:44:52 +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 80a7dccdf1 improve bleed edge 2025-12-17 08:16: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 aa0791686e restrict slider ui to slider fields 2025-12-13 23:06:18 +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 04a3289755 Add dark icon property 2025-12-05 13:36:09 +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
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
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 dc348b4812 Add to_json and from_json script functions 2025-08-07 18:45:12 +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 70e44474a5 fix "referencing nonexistant file" bug
improve internal error message
2025-07-15 02:30:11 +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
ebbit1q a953d72f88 fix string typing error 2025-06-30 00:32:05 +02:00
GenevensiS e45353af9b Add Json importer (#46)
add boost-json to dependencies
2025-06-21 07:53:35 +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 fa300f6e4c allow additional individual choices in slider fields 2025-06-02 14:49:10 +02:00
GenevensiS 616ea3f725 Create slider field type 2025-05-22 12:52:26 +02:00
ebbit1q 8efb2fa492 fix compile error
fixes string typing error that happens in font.cpp
2025-04-14 00:57:49 +02:00
GenevensiS 71350f8fe6 Merge pull request #35 from TomTkacz/local_fonts
font rendering/exporting without installing system-wide
2025-04-10 15:35:47 +02:00
GenevensiS 28b2862bd8 simplify code 2025-04-08 01:47:45 +02:00
GenevensiS dca935a966 Add support for .otf files, add option to load subdirectories 2025-04-07 23:12:58 +02:00
TomTkacz ee4cf2d7b4 made fonts available without installing system-wide 2025-03-12 05:53:02 -05:00
GenevensiS 9ed0569a6d Fix freeze when loading a set with missing templates 2025-03-08 23:14:30 +01:00
Brendan Hagan 6435055d53 feat: add card regions to declare image slice regions for DFCs 2022-08-13 23:58:28 -04:00
Brendan Hagan 05855b812a feat: add ability to control zoom/angle on generated card image 2022-08-13 23:53:29 -04:00