Commit Graph

136 Commits

Author SHA1 Message Date
GenevensiS 0e4c91b940 add insert_image and add_bleed_edge functions 2025-07-14 01:23:26 +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 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 616ea3f725 Create slider field type 2025-05-22 12:52:26 +02:00
GenevensiS c577417191 add get_mse_path script function 2025-05-22 12:39:09 +02:00
GenevensiS f227609f60 Merge pull request #36 from TomTkacz/master
implemented import_image function
2025-04-13 14:43:15 +02:00
GenevensiS 1a3940c16d localization pattern 2025-04-11 03:25:21 +02:00
GenevensiS cdfec5d00c add docs 2025-04-10 20:01:05 +02: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
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 e8b3b260b6 add docs 2024-10-04 23:15:37 +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 e9c6dbb05f add docs 2024-10-04 23:09:05 +02:00
GenevensiS ecb48aebf0 Add get_card_stylesheet script function 2024-10-04 22:41:06 +02: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 28dd64ddeb Update index.txt 2024-09-17 06:30:17 +02:00
GenevensiS 4054443a72 add exists_in_package script function 2024-09-17 06:13:01 +02:00
GenevensiS 9b34ae5446 add get_card_styling function for export scripts 2024-09-16 08:59:55 +02:00
Djack Donovan d1bac74eb9 Script: to_date accepts "now" as an argument
indentation fix
2022-11-18 21:40:12 -05:00
Brendan Hagan d1d63fb21f misc: doc updates for exposed variables 2022-07-14 19:50:30 -04:00
Brendan Hagan 52a918be39 misc: remove extra_data function 2022-07-14 17:33:22 -04:00
Brendan Hagan 4f6c984f48 misc: extra_data doc entry 2022-07-01 20:51:17 -04:00
Twan van Laarhoven c7377303cf Make templates localizable (Closes #100) 2020-10-03 14:38:39 +02:00
Twan van Laarhoven ab4e7e59f3 Margin top in <margin> tag 2020-05-17 22:52:56 +02:00
Twan van Laarhoven 2b7bd252e4 Added <li>, <margin> and <align> tags 2020-05-14 21:32:22 +02:00
Twan van Laarhoven 6d4d973645 Add support for HTML style hex colors, #ff0000 = red, etc. 2020-05-12 22:48:56 +02:00
Twan van Laarhoven dbb6d34bb3 Add <font:$family> tag, closes #24 2020-05-12 22:30:04 +02:00
Twan van Laarhoven e8eacac5e7 Expose more information about text layout. 2020-05-10 14:16:10 +02:00
Twan van Laarhoven 420c329bc4 Added "case-of" control structure 2020-05-09 18:41:30 +02:00
Twan van Laarhoven 4bebd48786 Moved tab_index to Style (instead of Field), it makes more sense there, since it pertains to the layout of stuff on the card.
Also don't precalculate list of fields sorted by tab order, just find the next/previous ones on the fly.
2020-04-26 02:16:39 +02:00
Twan van Laarhoven 7d06e903a4 Rename script function rotate -> rotate_image 2020-04-25 23:46:30 +02:00
Twan van Laarhoven 8f8e2cea65 Expose the 'warning' function, and added a similar 'error' function.
Add documentation.
2020-04-23 20:22:43 +02:00
Twan van Laarhoven 24f4b4edba Add type_name function to query the type of a value 2020-04-18 22:03:25 +02:00
twanvl 968f557511 recolor_image function can now be used with custom colors
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1477 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-03 18:44:44 +00:00
twanvl 6bfe384fb6 images for recolor_image documentation
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1476 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-03 18:25:55 +00:00
twanvl e01b24aa63 Added 'recolor_image' function
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1473 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-03 18:19:05 +00:00
twanvl ca0e762b64 New image functions:
* invert
 * flip_horizontal
 * flip_vertical
 * rotate

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1472 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-03 14:56:45 +00:00
twanvl 17c766c8fc documented "to_image"
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1467 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-03 13:48:02 +00:00
twanvl ff26cb0a4b fix some tables and links
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1466 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-03 01:52:10 +00:00
twanvl 0625cd0aff Short-circuiting "and" and "or" operators
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1461 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-23 23:52:34 +00:00
twanvl ebf2e4c079 documented the time_created and time_modified members of Card
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1349 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-11 16:52:39 +00:00
twanvl ad5e22e7c5 Added script support for wxDateTime values:
- added ScriptDateTime type
 - added to_date function
 - added date formating support to to_string.
 - documented all of the above.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1348 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-11 16:52:07 +00:00
twanvl 1ae654082d documented new pack system.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1343 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-11 01:38:58 +00:00
twanvl 794587d983 multiple choice style . alignment, direction are now scriptable
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1301 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-08 15:21:39 +00:00
twanvl 6afbbe986c more documentation spellchecking,
in documentation: @<tag>@ now highlights as a tag

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1279 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-01 21:22:45 +00:00
twanvl bd2edc947f documented check_spelling function
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1278 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-01 21:19:28 +00:00
twanvl 664c12ec52 spellchecking the documentation
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1277 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-01 20:39:30 +00:00
twanvl e423b6956f documented the split_text script function
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1255 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-27 19:39:20 +00:00