Allowed symbol fonts to feature multiple symbols with text capability and multiple regex-matched symbols.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@838 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
coppro
2008-04-07 23:35:09 +00:00
parent 26562e03e3
commit 1b74247914
8 changed files with 260 additions and 234 deletions
@@ -1,4 +1,4 @@
mse version: 0.3.5
mse version: 0.3.5
version: 2007-10-13
image font size: 46
@@ -176,15 +176,16 @@ symbol:
image: z.png
symbol:
code:
draw_text: 0
image: space.png
text font:
name: MPlantin
size: 1
color: rgb(225,198,77)
text margin left: .26
text margin right: .2
text margin top: -.12
text margin bottom: -.12
text font:
name: MPlantin
size: 1
color: rgb(225,198,77)
text margin left: .26
text margin right: .2
text margin top: -.12
text margin bottom: -.12
##############################################################
@@ -1,4 +1,4 @@
mse version: 0.3.6
mse version: 0.3.6
version: 2008-04-01
short name: beveled style (firepenguinmaster)
position hint: 101
@@ -14,8 +14,6 @@ icon: mana_r.png
image font size: 135
horizontal space: 2
symbol:
image: mana_circle.png
symbol:
code: T
image: mana_t_older.png
@@ -202,16 +200,18 @@ symbol:
symbol:
code: I
image: mana_infinite.png
as text: .|[0-9]+(?!/)
text font:
name: MPlantin
size: 1
color: rgb(0,0,0)
max stretch: 0.5
text margin left: .24
text margin right: .24
text margin top: -.16
text margin bottom: -.12
symbol:
image: mana_circle.png
code: [0-9]+|.
text font:
name: MPlantin
size: 1
color: rgb(0,0,0)
max stretch: 0.5
text margin left: .24
text margin right: .24
text margin top: -.16
text margin bottom: -.12
##############################################################
# Insert-symbol menu
@@ -1,4 +1,4 @@
mse version: 0.3.6
mse version: 0.3.6
version: 2008-04-01
# Symbol font in the 'futuristic' style, used for casting costs on futureshift cards
short name: Future Sight style
@@ -7,24 +7,6 @@ icon: mana_r.png
image font size: 135
horizontal space: 2
symbol:
image: mana_circle_w.png
enabled: { colorless_color() == "w" }
symbol:
image: mana_circle_u.png
enabled: { colorless_color() == "u" }
symbol:
image: mana_circle_b.png
enabled: { colorless_color() == "b" }
symbol:
image: mana_circle_r.png
enabled: { colorless_color() == "r" }
symbol:
image: mana_circle_g.png
enabled: { colorless_color() == "g" }
symbol:
image: mana_circle.png
enabled: { colorless_color() == "c" }
symbol:
code: T
image: mana_t.png
@@ -146,17 +128,90 @@ symbol:
symbol:
code: I
image: mana_infinite.png
as text: .|[0-9]+(?!/)
text font:
name: MPlantin
weight: bold
size: 1
color: rgb(0,0,0)
max stretch: 0.5
text margin left: .35
text margin right: .3
text margin top: 0.1
text margin bottom: 0.1
symbol:
image: mana_circle_w.png
enabled: { colorless_color() == "w" }
code: .|[0-9]+(?!/)
text font:
name: MPlantin
weight: bold
size: 1
color: rgb(0,0,0)
max stretch: 0.5
text margin left: .35
text margin right: .3
text margin top: 0.1
text margin bottom: 0.1
symbol:
image: mana_circle_u.png
enabled: { colorless_color() == "u" }
code: .|[0-9]+(?!/)
text font:
name: MPlantin
weight: bold
size: 1
color: rgb(0,0,0)
max stretch: 0.5
text margin left: .35
text margin right: .3
text margin top: 0.1
text margin bottom: 0.1
symbol:
image: mana_circle_b.png
enabled: { colorless_color() == "b" }
code: .|[0-9]+(?!/)
text font:
name: MPlantin
weight: bold
size: 1
color: rgb(0,0,0)
max stretch: 0.5
text margin left: .35
text margin right: .3
text margin top: 0.1
text margin bottom: 0.1
symbol:
image: mana_circle_r.png
enabled: { colorless_color() == "r" }
code: .|[0-9]+(?!/)
text font:
name: MPlantin
weight: bold
size: 1
color: rgb(0,0,0)
max stretch: 0.5
text margin left: .35
text margin right: .3
text margin top: 0.1
text margin bottom: 0.1
symbol:
image: mana_circle_g.png
enabled: { colorless_color() == "g" }
code: .|[0-9]+(?!/)
text font:
name: MPlantin
weight: bold
size: 1
color: rgb(0,0,0)
max stretch: 0.5
text margin left: .35
text margin right: .3
text margin top: 0.1
text margin bottom: 0.1
symbol:
image: mana_circle.png
enabled: { colorless_color() == "c" }
code: .|[0-9]+(?!/)
text font:
name: MPlantin
weight: bold
size: 1
color: rgb(0,0,0)
max stretch: 0.5
text margin left: .35
text margin right: .3
text margin top: 0.1
text margin bottom: 0.1
##############################################################
# Insert-symbol menu
@@ -1,4 +1,4 @@
mse version: 0.3.6
mse version: 0.3.6
version: 2008-04-01
# Symbol font in the 'popup' style, used for casting costs on modern cards
short name: popup style
@@ -7,8 +7,6 @@ icon: mana_r.png
image font size: 135
horizontal space: 2
symbol:
image: mana_circle.png
symbol:
code: T
image: mana_t_older.png
@@ -215,17 +213,20 @@ symbol:
symbol:
code: I
image: mana_infinite.png
as text: [0-9]+(?!/)
text font:
name: MPlantin
size: 1
color: rgb(0,0,0)
max stretch: 0.5
text margin left: .28
text margin right: .20
text margin top: -.15
text margin bottom: -.06
symbol:
image: mana_circle.png
text margin left: .28
text margin right: .20
text margin top: -.15
text margin bottom: -.06
code: [0-9]+|.
regex: yes
draw text: 0
text font:
name: MPlantin
size: 1
color: rgb(0,0,0)
max stretch: 0.5
##############################################################
# Insert-symbol menu
@@ -1,4 +1,4 @@
mse version: 0.3.6
mse version: 0.3.6
version: 2008-04-01
short name: normal (colorless)
position hint: 21
@@ -14,8 +14,6 @@ icon: mana_r.png
image font size: 135
horizontal space: 2
symbol:
image: mana_circle.png
symbol:
code: T
image: mana_t_older.png
@@ -222,16 +220,18 @@ symbol:
symbol:
code: I
image: mana_infinite.png
as text: .|[0-9]+(?!/)
text font:
name: MPlantin
size: 1
color: rgb(0,0,0)
max stretch: 0.5
text margin left: .26
text margin right: .2
text margin top: -.14
text margin bottom: -.14
symbol:
image: mana_circle.png
code: .|[0-9]+(?!/)
text font:
name: MPlantin
size: 1
color: rgb(0,0,0)
max stretch: 0.5
text margin left: .26
text margin right: .2
text margin top: -.14
text margin bottom: -.14
##############################################################
# Insert-symbol menu
@@ -1,4 +1,4 @@
mse version: 0.3.6
mse version: 0.3.6
version: 2008-04-01
short name: normal
position hint: 001
@@ -14,8 +14,6 @@ icon: mana_r.png
image font size: 135
horizontal space: 2
symbol:
image: mana_circle.png
symbol:
code: T
image: mana_t_older.png
@@ -222,17 +220,20 @@ symbol:
symbol:
code: I
image: mana_infinite.png
as text: .|[0-9]+(?!/)
text font:
name: MPlantin
size: 1
color: rgb(0,0,0)
max stretch: 0.5
text margin left: .26
text margin right: .2
text margin top: -.14
text margin bottom: -.14
symbol:
image: mana_circle.png
code: [0-9]+|.
regex: yes
draw text: 0
text margin left: .26
text margin right: .2
text margin top: -.14
text margin bottom: -.14
text font:
name: MPlantin
size: 1
color: rgb(0,0,0)
max stretch: 0.5
##############################################################
# Insert-symbol menu
insert symbol menu: