Commit Graph

404 Commits

Author SHA1 Message Date
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
GenevensiS f227609f60 Merge pull request #36 from TomTkacz/master
implemented import_image function
2025-04-13 14:43:15 +02:00
GenevensiS 91433d5c9d localize pattern in new_card 2025-04-11 03:48:18 +02:00
TomTkacz 551efc70ca removed 'path:' prefix in function call 2025-03-12 06:07:16 -05:00
TomTkacz e83233f512 removed unused include 2025-03-11 03:30:17 -05:00
TomTkacz f9aa4f9577 fixed import_image not generating in CLI 2025-03-10 20:34:23 -05:00
GenevensiS 99ca32984b Add include localized file token 2025-03-11 02:31:22 +01:00
GenevensiS b33fdd4856 add include localized file token 2025-03-11 02:27:03 +01:00
TomTkacz fa25da3d39 implemented import_image function 2025-03-10 04:33:42 -05:00
GenevensiS 6bfb88b1b3 Merge pull request #27 from CajunAvenger/global-scope
add global scope
2024-10-05 00:18:39 +02:00
GenevensiS 0309f7d16c Merge pull request #26 from G-e-n-e-v-e-n-s-i-S/get-mse-version
Add get_mse_version script function
2024-10-04 23:23:26 +02:00
GenevensiS 4e926e11e3 fix indent 2024-10-04 23:18:10 +02:00
GenevensiS e461eed88f Merge pull request #25 from G-e-n-e-v-e-n-s-i-S/get-card-stylesheet
Add get_card_stylesheet script function
2024-10-04 23:13:47 +02:00
GenevensiS 38ced7790f Add get_mse_version script function 2024-10-04 22:58:11 +02:00
GenevensiS ecb48aebf0 Add get_card_stylesheet script function 2024-10-04 22:41:06 +02:00
GenevensiS fa15206ba5 Add resize_image script function 2024-10-03 17:51:49 +02:00
GenevensiS 564d345f99 Merge pull request #23 from CajunAvenger/arrow-alias
Add -> as alias for :=
2024-10-01 17:03:26 +02:00
cajun f3cfbd0594 Update parser.cpp 2024-09-29 15:46:52 -05:00
cajun ebc4c4fa8d add global scope 2024-09-29 14:07:07 -05:00
GenevensiS e72ee85525 Add exists_in_package script function (#86)
* add exists_in_package script function

* Update index.txt
2024-09-26 22:03:27 -04:00
GenevensiS 39dbdf1ab2 Merge pull request #18 from G-e-n-e-v-e-n-s-i-S/file-exists
Add exists_in_package script function
2024-09-26 15:22:15 +02:00
GenevensiS fa021d81c8 Merge pull request #16 from G-e-n-e-v-e-n-s-i-S/console-width_of-fix
fix width_of invocation in console not working
2024-09-18 09:23:33 +02:00
GenevensiS 258679b3c3 fix width_of invocation in console not working 2024-09-18 09:16:57 +02:00
GenevensiS 4054443a72 add exists_in_package script function 2024-09-17 06:13:01 +02:00