Commit Graph

200 Commits

Author SHA1 Message Date
pichoro 3f9891bbdc Removed ` from LEGENDNAME replacement; that wasn't a bug.
@ is replaced with LEGENDNAME in automatic text replacements, as the community preferred @ as the shortcut.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1289 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-03 21:07:05 +00:00
coppro ed16dd6864 Updated dictionary
Added new <nospellcheck> tag, to prevent spell-checking of words within.
Prevented spellchecking of anything a) matching a keyword or b) formed from a cardname atom
Replaced ` as LEGENDNAME alternative; I think it's a bug that it's gone


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1288 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-03 06:16:02 +00:00
pichoro 7518786f28 Miscellaneous colored artifact updates for Magic, following Shards.
First Conflux keyword for Magic.
Improved Mythic Rare coloration.
Slightly improved creature type lists.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1284 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-02 20:52:12 +00:00
twanvl 1bc965d461 put an empty word list in the subtype box if possible
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1272 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-30 18:45:45 +00:00
twanvl 55fe3e142c spellchecking can be disabled
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1271 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-30 16:38:06 +00:00
twanvl 12f8be203e The check_spelling function now has support for additional dictionaries and regexes to match.
The magic game uses these features.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1269 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-30 02:09:11 +00:00
twanvl a57170e7c2 Simple spelling checker using the Hunspell library.
This time adding the source files :)

The checker is used (experimentally) by the magic game file.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1262 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-29 01:34:13 +00:00
twanvl f191090852 Added "text length (lines)" statistics dimension
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1256 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-27 19:40:00 +00:00
pichoro 052341c38e Shards of Alara keyword update for Magic.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1210 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-09-08 05:49:19 +00:00
pichoro de003f6e8f First Shards of Alara keywords for Magic.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1198 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-09-03 17:55:50 +00:00
twanvl 7e3f9cccdc Some tweaks of the regular expressions to improve performance (in_context is slow!)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1194 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-09-02 20:53:56 +00:00
twanvl 4b2a36bba8 Added (partial) support for making cards in French style
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1177 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-27 18:56:55 +00:00
twanvl 9f4d666eed There is no need for the +0 in "cmc(param) + 0"
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1165 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-24 16:42:52 +00:00
twanvl 644268a72d cmc now works correctly with keyword parameters
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1164 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-24 16:41:21 +00:00
twanvl c81049a7f5 cmc("0") == 0
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1162 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-24 16:23:01 +00:00
coppro 373672810b Tweaks to color-defining CDA abilities - no longer detect colors in card names.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1159 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-22 03:55:12 +00:00
pichoro 6246ce533a Fixing a stupid error I made.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1155 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-20 17:53:50 +00:00
pichoro 25bd608784 Refining Magic subtype lists (mostly according to Comp Rules)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1154 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-20 03:15:32 +00:00
twanvl 99b07668ec Added some 'add cards script's to the game file
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1148 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-11 20:54:24 +00:00
twanvl d7c867e759 Restored the card sorting for magic: the color component of sort_index was accidentally removed.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1125 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-09 18:40:13 +00:00
twanvl cb72dbea2f added total number of cards to random pack panel
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1122 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-09 17:34:13 +00:00
pichoro 1b57db2f97 Provided for rulestip card sorting in Magic game file.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1115 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-09 01:38:17 +00:00
pichoro d77b2745f4 Improved pack structure for Magic to deal with tokens/rulestips.
Added rudimentary pack structures for Vanguard, VS System, and Yu-Gi-Oh.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1104 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-08 18:53:11 +00:00
twanvl e4d2df4827 Separate card numbers for tokens
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1089 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-07 20:52:15 +00:00
twanvl efcf445878 The card shape depends on the stylesheet
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1088 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-07 20:50:35 +00:00
twanvl d98812673d Added some icons for fields on the style panel
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1081 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-07 02:43:06 +00:00
twanvl 2c6c6645f7 Lower case keywords are now recognized, but only if all parameters are given.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1078 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-07 01:01:51 +00:00
twanvl c2182c1421 Fixed pack item for basic lands
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1075 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-07 00:22:01 +00:00
twanvl 04d811c96e slightly different stats icons for creature race and class
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1074 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-06 21:33:06 +00:00
twanvl 2b3bae9549 The magic game file was getting way too long, so I split it into several files.
As a bonus the keywords and perhaps other reusable parts can now be used by vanguard with "include file: /magic.mse-game/keywords".

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1073 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-06 16:18:33 +00:00
twanvl 6c782bb033 Changed the way the FilteredCardList on the stats panel selects cards:
used to: by running scripts on cards and comparing to string value of selected group
  now:     by keeping a list of group_ids for all cards, and comparing indices
Added 'bin size' attribute for making a histogram of numeric axes.
Added 'Text length' statistic.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1071 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-05 23:13:26 +00:00
pichoro 0ebf7cc1f1 Undid previous change of better token sorting for Magic; was causing big problems.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1062 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-05 16:48:18 +00:00
pichoro 0961e36b99 More realistic token sorting for Magic.
Better legend name filter for Magic.
Version bumps for symbol-fonts.
Last of Eventide update (keywords and creature types).

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1059 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-05 05:06:11 +00:00
twanvl 48f1315cda pack totals on random pack panel
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1047 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-04 13:52:32 +00:00
twanvl 04a040dc29 random pack generation works
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1045 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-04 01:38:46 +00:00
twanvl 063a2df8d7 Mana costs like 123/C are now parsed as {12}{3/C} instead of {123/C}. The reasoning is that a cost of {10/C} or more is very unbalanced, so you want that.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1041 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-03 19:02:07 +00:00
twanvl 9b16e15c57 Added stats dimension for the card's stylesheet
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1039 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-03 02:39:27 +00:00
twanvl 8881eef42d Changed Pack structures
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1021 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-07-11 17:07:51 +00:00
twanvl 9073764a62 documented new script functions
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1015 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-07-09 16:28:46 +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
pichoro 72864e91cb Simplified Chinese translation.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@980 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-16 04:10:29 +00:00
pichoro 03cfd6bb79 Fixed image mask for magic-new-planeswalker.
Fixed "legendname" error involving AE character.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@962 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-03 04:08:44 +00:00
pichoro c7dadbcab4 Mythic rares for Magic. This is an approximation, not a final version.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@956 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-02 22:09:46 +00:00
pichoro 124397aa4d New converted mana cost scripting for Vanguard.
Easier colored_mana scripting in keyword system for Magic and Vanguard.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@947 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-02 05:42:39 +00:00
twanvl 0e00cefdb9 Softer colors in graphs, the border of bars etc. is now lerp(black,fill,0.5) instead of just pure black.
Also tweaked the magic card_color graph colors a bit

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@935 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-01 14:23:45 +00:00
twanvl 4baf647b83 fixed: mana_sort_quild was copying tap/untap symbols
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@926 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-01 00:02:38 +00:00
twanvl d147ddc363 Converted mana cost script now works with 2/C costs.
A mana cost of "31/2" is now broken up as "3","1/2".

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@920 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-31 22:13:00 +00:00
pichoro c1e72640c1 Editable copyright lines for Magic.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@884 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-25 20:51:31 +00:00
pichoro 611ce0508d "None" and "Planeswalker" type symbol choices.
Planeswalker watermark.
No more accidental artifact_blends in magic-future-common.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@878 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-23 21:10:33 +00:00
pichoro 74f79ea1b5 #/C Symbols for all symbol fonts.
New dark artifact frame for magic-new.
New Shadowmoor card sorting.
Slightly improved automatic card color detection.
Colorful infinity and 1/2 symbols for magic-mana-future.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@856 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-18 07:52:05 +00:00