Commit Graph

533 Commits

Author SHA1 Message Date
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
GenevensiS aeed54e4ba localize card links, add_link, remove_links 2025-12-16 19:05:33 +01:00
GenevensiS 3b7d4b617f nested folder error message 2025-12-13 21:00:23 +01:00
GenevensiS 2888dc4059 add bleed edge option, get_card_export_settings function 2025-12-13 20:33:18 +01:00
GenevensiS 04a3289755 Add dark icon property 2025-12-05 13:36:09 +01:00
GenevensiS 2932d0007d Bulk card modification 2025-12-04 15:44:04 +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 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 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 70e44474a5 fix "referencing nonexistant file" bug
improve internal error message
2025-07-15 02:30:11 +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 e45353af9b Add Json importer (#46)
add boost-json to dependencies
2025-06-21 07:53:35 +02:00
GenevensiS 337f463b9a expose folder_name package property 2025-06-12 22:59:36 +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 b33fdd4856 add include localized file token 2025-03-11 02:27:03 +01:00
GenevensiS 96fd385962 exempt symbol-fonts from dependency checks (#92) 2024-09-26 22:04:02 -04: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
Luke Le Moignan 4d6954eaa8 Fix the cross-thread message queue to actually act as a queue, not a stack 2022-12-31 10:01:33 +00:00
Brendan Hagan d52a147133 misc: cleanup welcome window changes 2022-11-18 21:27:00 -05:00
Brendan Hagan e951aed2a8 WelcomeWindow append change language
https://github.com/247321453/MagicSetEditor2Ex/commit/4f80e9ff54c817875356a18f8c79dd70ff0a67fd
2022-11-18 21:11:07 -05:00
Brendan Hagan 3c64d25cf6 Merge pull request #50 from halian/master
Fix build errors on Mac OS X+
2022-11-18 20:36:08 -05:00
Brendan Hagan e0d9e84740 feat: restore locale level translations for other packages (fixes #41)
This is only a partial fix though, it basically restores the old behavior as a default. That doesn't help though with flipping the definitions to get stuff out of the UI Locale file though. So that'll have to come next for allowing wildcard resolutions to be done from the game(?) or maybe locale extension files?
2022-08-02 21:42:03 -04:00
Brendan Hagan 3ace171b82 misc: define 2.3.0 version number + add unofficial suffix 2022-07-29 22:06:29 -04:00
Brendan Hagan e556403154 misc: adjust text formatting in tagged_string 2022-07-26 22:41:10 -04:00
Brendan Hagan 132d8d9351 feat: add underline to panels and export 2022-07-26 22:37:57 -04:00
Brendan Hagan 78227a30da feat: add internal support for underlined text (closes #29) 2022-07-26 22:37:03 -04:00
Brendan Hagan a43920089d feat: more slice window alignment options 2022-07-12 00:17:56 -04:00
Brendan Hagan 66f6ffc093 Merge pull request #6 from haganbmj/stored_image_resolution
misc: change storage size of image slices
2022-07-04 16:08:21 -04:00
Brendan Hagan 616fe1aad7 feat: add internal storage scale option to preferences window 2022-07-04 00:52:53 -04:00
Brendan Hagan 2db0ad9ad4 misc: add additional localized string methods for labels 2022-07-03 23:47:13 -04:00
SoaringMoon 088d082981 update to string.cpp capitalize_in_place()
updates string.cpp to bring to_title() to compliance with APA standards.
2022-07-03 20:01:48 -04:00
Brendan Hagan d3712460e8 feat: add clear button to console panel 2022-06-22 23:43:59 -04:00
Brendan Hagan 766a99fbc4 feat: apply filtering to game list, correct selections after filtering
Will need to propogate these filtering options to the other places these things are present, there's a dedicated variant for just the stylesheet dialog window and also the Style tab.
2022-06-19 23:38:38 -04:00
Brendan Hagan 52f1724449 feat: new set stylesheet filtering 2022-06-19 22:46:10 -04:00
Brendan Hagan 8b888f8d5a ui: add button for slice selection centering 2022-06-14 20:04:15 -04:00
Brendan Hagan 6df6aec42d feat: uncouple export zoom from display zoom 2022-06-14 20:04:15 -04:00
Brendan Hagan 087da12893 misc: get this crap building locally
Looks like my install via vcpkg sets up a different directory structure for hunspell
2022-06-14 20:04:15 -04:00
Carl Miller, Jr 9d41397848 add #ifdefs for OSX-specific code 2021-08-27 06:56:59 -04:00
Carl Miller, Jr 275f18a324 make Mac OS X+ binary build again 2021-08-24 23:09:06 -04:00
Carl Miller, Jr 0a00eaa082 Merge branch 'twanvl:master' into master 2021-08-24 22:53:39 -04:00
Twan van Laarhoven f9d9356d51 Fix #132, regex compilation issues for boost 1.76.
It looks like they switched to a different hash function that uses integer operations on characters.
2021-07-06 20:54:44 +02:00
Twan van Laarhoven 2872862b01 (cleanup) 2021-07-06 20:49:26 +02:00
Twan van Laarhoven b3220cc302 Add std::hash instance for String (for wxWidgets < 3.1) 2021-07-03 23:11:35 +02:00
halian a0b755c2d9 fixed building on linux; updated linux directions 2021-05-05 07:05:42 -04:00