Commit 93ebce22 authored by coppro's avatar coppro

Added a lot of BOMs; cleaned up text replacements into auto_replace scripts.

parent f56b86c5
mse version: 0.3.5 mse version: 0.3.5
version: 2007-10-13 version: 2007-10-13
image font size: 46 image font size: 46
......
mse version: 0.3.7 mse version: 0.3.7
game: magic game: magic
full name: FPM Planeswalkers full name: FPM Planeswalkers
short name: FPM 'Walkers short name: FPM 'Walkers
......
mse version: 0.3.7 mse version: 0.3.7
version: 2008-08-13 version: 2008-08-13
short name: beveled style (firepenguinmaster) short name: beveled style (firepenguinmaster)
installer group: magic/Mana symbols/beveled style (FirePenguinMaster) installer group: magic/Mana symbols/beveled style (FirePenguinMaster)
......
mse version: 0.3.7 mse version: 0.3.7
version: 2008-08-13 version: 2008-08-13
# Symbol font in the 'popup' style, used for casting costs on modern cards # Symbol font in the 'popup' style, used for casting costs on modern cards
short name: popup style short name: popup style
......
mse version: 0.3.7 mse version: 0.3.7
version: 2008-08-12 version: 2008-08-12
short name: normal (colorless) short name: normal (colorless)
position hint: 11 position hint: 11
......
mse version: 0.3.7 mse version: 0.3.7
version: 2008-08-12 version: 2008-08-12
short name: normal short name: normal
installer group: magic/Mana symbols/normal style installer group: magic/Mana symbols/normal style
......

############################################################## Auto replace ############################################################## Auto replace
# Do we need categories? # Do we need categories?
...@@ -34,3 +34,9 @@ auto replace: ...@@ -34,3 +34,9 @@ auto replace:
auto replace: auto replace:
match: @ match: @
replace: LEGENDNAME replace: LEGENDNAME
auto replace:
match: ~
replace: CARDNAME
auto replace:
match: ~THIS~
replace: CARDNAME
mse version: 0.3.8 mse version: 0.3.7
short name: Magic short name: Magic
full name: Magic the Gathering full name: Magic the Gathering
installer group: magic/game files installer group: magic/game files
......
...@@ -392,13 +392,13 @@ text_filter := ...@@ -392,13 +392,13 @@ text_filter :=
match: "(<atom-reminder-[^>]*>[^)]+[)]</atom-reminder-[^>]*>)([^\n]+)\\1" match: "(<atom-reminder-[^>]*>[^)]+[)]</atom-reminder-[^>]*>)([^\n]+)\\1"
replace: "\\2\\1" replace: "\\2\\1"
) + ) +
# step 3a : expand shortcut words ~ and CARDNAME # step 3a : expand shortcut word CARDNAME
replace@( replace@(
match: "~|~THIS~|CARDNAME", match: "CARDNAME",
in_context: "(^|[[:space:]]|\\()<match>", # TODO: Allow any punctuation before in_context: "(^|[[:space:]]|\\()<match>", # TODO: Allow any punctuation before
replace: "<atom-cardname></atom-cardname>" replace: "<atom-cardname></atom-cardname>"
) + ) +
# step 3b : expand shortcut words ` and shortened LEGENDNAME # step 3b : expand shortcut word LEGENDNAME
replace@( replace@(
match: "LEGENDNAME", match: "LEGENDNAME",
in_context: "(^|[[:space:]]|\\()<match>", # TODO: Allow any punctuation before in_context: "(^|[[:space:]]|\\()<match>", # TODO: Allow any punctuation before
......
...@@ -72,7 +72,7 @@ const Char* version_suffix = _(" (beta, ascii build)"); ...@@ -72,7 +72,7 @@ const Char* version_suffix = _(" (beta, ascii build)");
* 0.3.3 : keyword separator before/after * 0.3.3 : keyword separator before/after
* 0.3.4 : html export; choice rendering based on scripted 'image' * 0.3.4 : html export; choice rendering based on scripted 'image'
* 0.3.5 : word lists, symbol font 'as text' * 0.3.5 : word lists, symbol font 'as text'
* 0.3.6 : free rotation, rotation behaviour changed. * 0.3.6 : free rotation, rotation behaviour changed.
* 0.3.7 : scripting language changes (@ operator, stricter type conversion). * 0.3.7 : scripting language changes (@ operator, stricter type conversion).
*/ */
const Version file_version_locale = 307; // 0.3.7 const Version file_version_locale = 307; // 0.3.7
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment