44 Commits

Author SHA1 Message Date
GenevensiS 2888dc4059 add bleed edge option, get_card_export_settings function 2025-12-13 20:33:18 +01:00
GenevensiS ffbe3daf39 add get_front_face() get_back_face() get_cards_from_link() 2025-12-06 21:39:12 +01:00
GenevensiS 513612cd0e Dark mode 2025-10-09 17:57:20 +02:00
GenevensiS 3bf9de18b1 Implement unique IDs and card linking 2025-08-11 16:17:13 +02:00
GenevensiS d3ed8fcaca Add docs for to_json and from_json 2025-08-07 20:49:58 +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 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 f227609f60 Merge pull request #36 from TomTkacz/master
implemented import_image function
2025-04-13 14:43:15 +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 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 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 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
twanvl 0673eda5c9 new functions, added a rgb() color popup to highlighted code
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1474 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-03 18:19:20 +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 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 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
twanvl 42d40dbd1e Added Package::saveCopy, which is used to implement the write_set_file script function.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1169 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-24 19:48:51 +00:00
twanvl c8fb341e1a Fixed random_int and random_real functions; added random_boolean.
Split random_select into random_select and random_select_many.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1161 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-24 16:08:13 +00:00
twanvl fe5878e3d8 Documented add cards scripts and the new_card function
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1149 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-11 21:10:59 +00:00
twanvl fb411139d1 minor tweak of website syntax highlighter
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1033 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-02 15:27:08 +00:00
twanvl 53808346a4 Allow "or else" construct to be used for error recovery
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1016 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-07-09 17:14:49 +00:00
twanvl dfae1b2729 Added count_chosen function;
Added I_DUP instruction

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1007 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-28 14:41:38 +00:00
twanvl fe2e3fb9c8 Be more strict about type conversion:
* numbers are no longer auto converted to booleans, use to_boolean or != 0
  * booleans are no longer auto converted to numbers, use to_int
  * strings will soon no longer be auto converted to numbers, use to_int

Added version information ("since 0.3.7") to documentation

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1006 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-28 13:34:57 +00:00
twanvl 95d38f9ba6 Added 'assert' pseudo function so I can run some tests of the script code
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@988 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-18 21:01:17 +00:00
twanvl d00beeb55f Closure operator now behaves as default argument operator, documentation.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@965 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-03 18:33:17 +00:00
twanvl c5159ebcf7 "div" operator for integer division,
Added parser support for closure operator fun@(args)
Use equal() function for all script comparisons, better support for deciding when to use strings and when to use pointers equality.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@964 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-03 16:38:33 +00:00
twanvl f9dd5f9c0d break_text function has been documented
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@894 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-30 19:43:08 +00:00
twanvl b0c0d8e97c "rgba" is now a keyword
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@851 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-16 20:35:34 +00:00
twanvl 36a36356c5 The 'Big Whine' patch:
Any use of a file from another package without a declared dependency will give a warning;

Also added some more _LOCALE_123_ macros so we need less format_string calls

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@753 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-24 20:24:22 +00:00
twanvl 61136d79a8 Added regex_escape script function (was already used by keyword code);
Added icons for 'sort special rarity' choice.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@625 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-24 20:24:10 +00:00
twanvl 1233940892 Minor tweaks of documentation syntax highlighter
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@607 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-07 18:28:10 +00:00
twanvl 633621558d Syntax highlighter now knows about built in functions
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@599 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-03 21:32:40 +00:00
twanvl db50b48073 Some more tweaks to the website
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@586 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-01 16:48:22 +00:00
twanvl 6467ff9909 Some tweaks to the syntax highlighting and document formating
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@570 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-07-13 21:57:38 +00:00
twanvl fe0de4893f Custom php scripts used for the documentation on the website
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@566 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-07-13 18:08:02 +00:00