Attempted to update type symbols on futureshifts to remove scripting
(precise modifications still needed, but MSE runs faster when the positions aren't scripted) Added translation for the 'Open most recent set' button. Moved 'type symbol' from the game to the futureshift templates. Fixed a few BOMs. TODO: Move common elements from futureshifts to an include folder. git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@612 0fc631ac-6414-0410-93d0-97cfa31319b6
@@ -98,6 +98,7 @@ help:
|
||||
file:
|
||||
new set: Create a new set
|
||||
open set: Open an existing set
|
||||
last opened set: Open '%s'
|
||||
save set: Save the set
|
||||
save set as: Save the set with a new name
|
||||
export: Export the set...
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
mse version: 0.3.3
|
||||
mse version: 0.3.3
|
||||
|
||||
image font size: 46
|
||||
horizontal space: 1.2
|
||||
|
||||
|
Before Width: | Height: | Size: 529 B After Width: | Height: | Size: 576 B |
|
Before Width: | Height: | Size: 522 B After Width: | Height: | Size: 568 B |
|
Before Width: | Height: | Size: 773 B After Width: | Height: | Size: 759 B |
|
Before Width: | Height: | Size: 764 B After Width: | Height: | Size: 752 B |
|
Before Width: | Height: | Size: 903 B After Width: | Height: | Size: 931 B |
|
Before Width: | Height: | Size: 893 B After Width: | Height: | Size: 926 B |
|
Before Width: | Height: | Size: 636 B After Width: | Height: | Size: 665 B |
|
Before Width: | Height: | Size: 635 B After Width: | Height: | Size: 668 B |
|
Before Width: | Height: | Size: 554 B After Width: | Height: | Size: 576 B |
|
Before Width: | Height: | Size: 539 B After Width: | Height: | Size: 571 B |
@@ -201,41 +201,6 @@ card style:
|
||||
render style: image
|
||||
choice images:
|
||||
tombstone: tombstone.png
|
||||
type symbol:
|
||||
left:
|
||||
{ if card.type_symbol=="white artifact" or card.type_symbol=="black artifact" then 25
|
||||
else if card.type_symbol=="white enchantment" or card.type_symbol=="black enchantment" then 24
|
||||
else 24 }
|
||||
top:
|
||||
{ if card.type_symbol=="white artifact" or card.type_symbol=="black artifact" then 26
|
||||
else if card.type_symbol=="white enchantment" or card.type_symbol=="black enchantment" then 23
|
||||
else 25 }
|
||||
width:
|
||||
{ if card.type_symbol=="white artifact" or card.type_symbol=="black artifact" then 16
|
||||
else if card.type_symbol=="white instant" or card.type_symbol=="black instant" then 16
|
||||
else 18 }
|
||||
height:
|
||||
{ if card.type_symbol=="white artifact" or card.type_symbol=="black artifact" then 16
|
||||
else if card.type_symbol=="white enchantment" or card.type_symbol=="black enchantment" then 16
|
||||
else if card.type_symbol=="white land" or card.type_symbol=="black land" then 16
|
||||
else 18 }
|
||||
z index: 2
|
||||
render style: image
|
||||
choice images:
|
||||
white artifact: artifact_white.png
|
||||
black artifact: artifact_black.png
|
||||
white creature: creature_white.png
|
||||
black creature: creature_black.png
|
||||
white enchantment: enchantment_white.png
|
||||
black enchantment: enchantment_black.png
|
||||
white instant: instant_white.png
|
||||
black instant: instant_black.png
|
||||
white land: land_white.png
|
||||
black land: land_black.png
|
||||
white multitype: multitype_white.png
|
||||
black multitype: multitype_black.png
|
||||
white sorcery: sorcery_white.png
|
||||
black sorcery: sorcery_black.png
|
||||
|
||||
############################# Image
|
||||
image:
|
||||
@@ -322,6 +287,27 @@ extra card field:
|
||||
name: pt box
|
||||
script: card.card_color
|
||||
editable: false
|
||||
extra card field:
|
||||
type: choice
|
||||
name: type symbol
|
||||
choice:
|
||||
name: white
|
||||
choice: artifact
|
||||
choice: creature
|
||||
choice: enchantment
|
||||
choice: instant
|
||||
choice: land
|
||||
choice: multitype
|
||||
choice: sorcery
|
||||
choice:
|
||||
name: black
|
||||
choice: artifact
|
||||
choice: creature
|
||||
choice: enchantment
|
||||
choice: instant
|
||||
choice: land
|
||||
choice: multitype
|
||||
choice: sorcery
|
||||
extra card field:
|
||||
type: choice
|
||||
name: paintbrush
|
||||
@@ -341,6 +327,28 @@ extra card style:
|
||||
render style: image
|
||||
image: { card_ptbox() }
|
||||
mask: mask_pt.png
|
||||
type symbol:
|
||||
left: 23
|
||||
top: 25
|
||||
width: 21
|
||||
height: 20
|
||||
z index: 2
|
||||
render style: image
|
||||
choice images:
|
||||
white artifact: artifact_white.png
|
||||
black artifact: artifact_black.png
|
||||
white creature: creature_white.png
|
||||
black creature: creature_black.png
|
||||
white enchantment: enchantment_white.png
|
||||
black enchantment: enchantment_black.png
|
||||
white instant: instant_white.png
|
||||
black instant: instant_black.png
|
||||
white land: land_white.png
|
||||
black land: land_black.png
|
||||
white multitype: multitype_white.png
|
||||
black multitype: multitype_black.png
|
||||
white sorcery: sorcery_white.png
|
||||
black sorcery: sorcery_black.png
|
||||
paintbrush:
|
||||
right: { ( if card.pt != "" then 281 else 341 ) - card_style.illustrator.content_width }
|
||||
top : 479
|
||||
|
||||
|
Before Width: | Height: | Size: 529 B After Width: | Height: | Size: 576 B |
|
Before Width: | Height: | Size: 522 B After Width: | Height: | Size: 568 B |
|
Before Width: | Height: | Size: 773 B After Width: | Height: | Size: 759 B |
|
Before Width: | Height: | Size: 764 B After Width: | Height: | Size: 752 B |
|
Before Width: | Height: | Size: 903 B After Width: | Height: | Size: 931 B |
|
Before Width: | Height: | Size: 893 B After Width: | Height: | Size: 926 B |
|
Before Width: | Height: | Size: 636 B After Width: | Height: | Size: 665 B |
|
Before Width: | Height: | Size: 635 B After Width: | Height: | Size: 668 B |
|
Before Width: | Height: | Size: 554 B After Width: | Height: | Size: 576 B |
|
Before Width: | Height: | Size: 539 B After Width: | Height: | Size: 571 B |
@@ -236,43 +236,6 @@ card style:
|
||||
render style: image
|
||||
choice images:
|
||||
tombstone: tombstone.png
|
||||
type symbol:
|
||||
left:
|
||||
{ if card.type_symbol=="white artifact" or card.type_symbol=="black artifact" then 26
|
||||
else if card.type_symbol=="white enchantment" or card.type_symbol=="black enchantment" then 25
|
||||
else 25 }
|
||||
top:
|
||||
{ if card.type_symbol=="white artifact" or card.type_symbol=="black artifact" then 26
|
||||
else if card.type_symbol=="white enchantment" or card.type_symbol=="black enchantment" then 23
|
||||
else if card.type_symbol=="white instant" or card.type_symbol=="black instant" then 25
|
||||
else if card.type_symbol=="black land" or card.type_symbol=="white land" then 25
|
||||
else 24 }
|
||||
width:
|
||||
{ if card.type_symbol=="white artifact" or card.type_symbol=="black artifact" then 15
|
||||
else if card.type_symbol=="white instant" or card.type_symbol=="black instant" then 15
|
||||
else 18 }
|
||||
height:
|
||||
{ if card.type_symbol=="white artifact" or card.type_symbol=="black artifact" then 15
|
||||
else if card.type_symbol=="white enchantment" or card.type_symbol=="black enchantment" then 15
|
||||
else if card.type_symbol=="white land" or card.type_symbol=="black land" then 15
|
||||
else 18 }
|
||||
z index: 4
|
||||
render style: image
|
||||
choice images:
|
||||
white artifact: artifact_white.png
|
||||
black artifact: artifact_black.png
|
||||
white creature: creature_white.png
|
||||
black creature: creature_black.png
|
||||
white enchantment: enchantment_white.png
|
||||
black enchantment: enchantment_black.png
|
||||
white instant: instant_white.png
|
||||
black instant: instant_black.png
|
||||
white land: land_white.png
|
||||
black land: land_black.png
|
||||
white multitype: multitype_white.png
|
||||
black multitype: multitype_black.png
|
||||
white sorcery: sorcery_white.png
|
||||
black sorcery: sorcery_black.png
|
||||
|
||||
############################# Image
|
||||
image:
|
||||
@@ -415,6 +378,27 @@ extra card field:
|
||||
script: card.card_color
|
||||
editable: false
|
||||
save value: false
|
||||
extra card field:
|
||||
type: choice
|
||||
name: type symbol
|
||||
choice:
|
||||
name: white
|
||||
choice: artifact
|
||||
choice: creature
|
||||
choice: enchantment
|
||||
choice: instant
|
||||
choice: land
|
||||
choice: multitype
|
||||
choice: sorcery
|
||||
choice:
|
||||
name: black
|
||||
choice: artifact
|
||||
choice: creature
|
||||
choice: enchantment
|
||||
choice: instant
|
||||
choice: land
|
||||
choice: multitype
|
||||
choice: sorcery
|
||||
extra card field:
|
||||
type: choice
|
||||
name: paintbrush
|
||||
@@ -451,6 +435,28 @@ extra card style:
|
||||
visible: { card.pt != "" }
|
||||
render style: image
|
||||
image: { card_ptbox() }
|
||||
type symbol:
|
||||
left: 23
|
||||
top: 25
|
||||
width: 21
|
||||
height: 20
|
||||
z index: 4
|
||||
render style: image
|
||||
choice images:
|
||||
white artifact: artifact_white.png
|
||||
black artifact: artifact_black.png
|
||||
white creature: creature_white.png
|
||||
black creature: creature_black.png
|
||||
white enchantment: enchantment_white.png
|
||||
black enchantment: enchantment_black.png
|
||||
white instant: instant_white.png
|
||||
black instant: instant_black.png
|
||||
white land: land_white.png
|
||||
black land: land_black.png
|
||||
white multitype: multitype_white.png
|
||||
black multitype: multitype_black.png
|
||||
white sorcery: sorcery_white.png
|
||||
black sorcery: sorcery_black.png
|
||||
paintbrush:
|
||||
right: { ( if card.pt != "" then 275 else 338 ) - card_style.illustrator.content_width }
|
||||
top : 476
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
mse version: 0.3.3
|
||||
mse version: 0.3.3
|
||||
# Symbol font in the 'futuristic' style, used for casting costs on futureshift cards
|
||||
|
||||
image font size: 135
|
||||
|
||||
@@ -698,27 +698,6 @@ card field:
|
||||
choice: none
|
||||
choice: tombstone
|
||||
description: Symbol for this card (tombstone)
|
||||
card field:
|
||||
type: choice
|
||||
name: type symbol
|
||||
choice:
|
||||
name: white
|
||||
choice: artifact
|
||||
choice: creature
|
||||
choice: enchantment
|
||||
choice: instant
|
||||
choice: land
|
||||
choice: multitype
|
||||
choice: sorcery
|
||||
choice:
|
||||
name: black
|
||||
choice: artifact
|
||||
choice: creature
|
||||
choice: enchantment
|
||||
choice: instant
|
||||
choice: land
|
||||
choice: multitype
|
||||
choice: sorcery
|
||||
|
||||
############################# Image
|
||||
card field:
|
||||
|
||||
@@ -41,7 +41,7 @@ WelcomeWindow::WelcomeWindow()
|
||||
wxFileName n(settings.recent_sets.front());
|
||||
if (n.FileExists() || n.DirExists())
|
||||
#ifdef USE_HOVERBUTTON
|
||||
open_last = new HoverButtonExt(this, ID_FILE_RECENT, load_resource_image(_("welcome_last")), _BUTTON_("last opened set"), _("Open '") + n.GetName() + _("'"));
|
||||
open_last = new HoverButtonExt(this, ID_FILE_RECENT, load_resource_image(_("welcome_last")), _BUTTON_("last opened set"), _HELP_1_("last opened set", n.GetName()));
|
||||
#else
|
||||
open_last = new wxButton(this, ID_FILE_RECENT, _BUTTON_("last opened set"));
|
||||
#endif
|
||||
|
||||