Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
magicseteditor
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
magicseteditor
Commits
892fceae
Commit
892fceae
authored
Jan 12, 2008
by
coppro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added sorting of words "A", "An", and "The".
Fixed transparency on update arrow.
parent
1f9cb6b7
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
3 deletions
+32
-3
Makefile.in
Makefile.in
+1
-0
configure
configure
+23
-1
data/magic.mse-game/game
data/magic.mse-game/game
+8
-2
src/resource/common/welcome_updates.png
src/resource/common/welcome_updates.png
+0
-0
No files found.
Makefile.in
View file @
892fceae
...
@@ -269,6 +269,7 @@ WX_CXXFLAGS = @WX_CXXFLAGS@
...
@@ -269,6 +269,7 @@ WX_CXXFLAGS = @WX_CXXFLAGS@
WX_CXXFLAGS_ONLY
=
@WX_CXXFLAGS_ONLY@
WX_CXXFLAGS_ONLY
=
@WX_CXXFLAGS_ONLY@
WX_LIBS
=
@WX_LIBS@
WX_LIBS
=
@WX_LIBS@
WX_LIBS_STATIC
=
@WX_LIBS_STATIC@
WX_LIBS_STATIC
=
@WX_LIBS_STATIC@
WX_RESCOMP
=
@WX_RESCOMP@
WX_VERSION
=
@WX_VERSION@
WX_VERSION
=
@WX_VERSION@
ac_ct_CC
=
@ac_ct_CC@
ac_ct_CC
=
@ac_ct_CC@
ac_ct_CXX
=
@ac_ct_CXX@
ac_ct_CXX
=
@ac_ct_CXX@
...
...
configure
View file @
892fceae
...
@@ -698,6 +698,7 @@ WX_CXXFLAGS_ONLY
...
@@ -698,6 +698,7 @@ WX_CXXFLAGS_ONLY
WX_LIBS
WX_LIBS
WX_LIBS_STATIC
WX_LIBS_STATIC
WX_VERSION
WX_VERSION
WX_RESCOMP
CC
CC
CFLAGS
CFLAGS
ac_ct_CC
ac_ct_CC
...
@@ -3195,6 +3196,22 @@ echo "${ECHO_T}yes" >&6; }
...
@@ -3195,6 +3196,22 @@ echo "${ECHO_T}yes" >&6; }
fi
fi
fi
fi
wx_has_rescomp
=
""
if
test
$wx_config_major_version
-gt
2
;
then
wx_has_rescomp
=
yes
else
if
test
$wx_config_major_version
-eq
2
;
then
if
test
$wx_config_minor_version
-ge
7
;
then
wx_has_rescomp
=
yes
fi
fi
fi
if
test
"x
$wx_has_rescomp
"
=
x
;
then
WX_RESCOMP
=
else
WX_RESCOMP
=
`
$WX_CONFIG_WITH_ARGS
--rescomp
`
fi
if
test
"x
$wx_has_cppflags
"
=
x
;
then
if
test
"x
$wx_has_cppflags
"
=
x
;
then
WX_CFLAGS
=
`
$WX_CONFIG_WITH_ARGS
--cflags
`
WX_CFLAGS
=
`
$WX_CONFIG_WITH_ARGS
--cflags
`
WX_CPPFLAGS
=
$WX_CFLAGS
WX_CPPFLAGS
=
$WX_CFLAGS
...
@@ -3228,6 +3245,7 @@ echo "${ECHO_T}no (version $WX_VERSION is not new enough)" >&6; }
...
@@ -3228,6 +3245,7 @@ echo "${ECHO_T}no (version $WX_VERSION is not new enough)" >&6; }
WX_CXXFLAGS
=
""
WX_CXXFLAGS
=
""
WX_LIBS
=
""
WX_LIBS
=
""
WX_LIBS_STATIC
=
""
WX_LIBS_STATIC
=
""
WX_RESCOMP
=
""
:
:
fi
fi
...
@@ -3238,6 +3256,8 @@ echo "${ECHO_T}no (version $WX_VERSION is not new enough)" >&6; }
...
@@ -3238,6 +3256,8 @@ echo "${ECHO_T}no (version $WX_VERSION is not new enough)" >&6; }
WX_CXXFLAGS
=
""
WX_CXXFLAGS
=
""
WX_LIBS
=
""
WX_LIBS
=
""
WX_LIBS_STATIC
=
""
WX_LIBS_STATIC
=
""
WX_RESCOMP
=
""
:
:
fi
fi
...
@@ -3251,6 +3271,7 @@ echo "${ECHO_T}no (version $WX_VERSION is not new enough)" >&6; }
...
@@ -3251,6 +3271,7 @@ echo "${ECHO_T}no (version $WX_VERSION is not new enough)" >&6; }
if
test
"
$wxWin
"
!=
1
;
then
if
test
"
$wxWin
"
!=
1
;
then
{
{
echo
"
$as_me
:
$LINENO
: error:
{
{
echo
"
$as_me
:
$LINENO
: error:
wxWindows must be installed on your system
wxWindows must be installed on your system
...
@@ -6299,6 +6320,7 @@ WX_CXXFLAGS_ONLY!$WX_CXXFLAGS_ONLY$ac_delim
...
@@ -6299,6 +6320,7 @@ WX_CXXFLAGS_ONLY!$WX_CXXFLAGS_ONLY$ac_delim
WX_LIBS!
$WX_LIBS$ac_delim
WX_LIBS!
$WX_LIBS$ac_delim
WX_LIBS_STATIC!
$WX_LIBS_STATIC$ac_delim
WX_LIBS_STATIC!
$WX_LIBS_STATIC$ac_delim
WX_VERSION!
$WX_VERSION$ac_delim
WX_VERSION!
$WX_VERSION$ac_delim
WX_RESCOMP!
$WX_RESCOMP$ac_delim
CC!
$CC$ac_delim
CC!
$CC$ac_delim
CFLAGS!
$CFLAGS$ac_delim
CFLAGS!
$CFLAGS$ac_delim
ac_ct_CC!
$ac_ct_CC$ac_delim
ac_ct_CC!
$ac_ct_CC$ac_delim
...
@@ -6312,7 +6334,7 @@ LIBOBJS!$LIBOBJS$ac_delim
...
@@ -6312,7 +6334,7 @@ LIBOBJS!$LIBOBJS$ac_delim
LTLIBOBJS!
$LTLIBOBJS$ac_delim
LTLIBOBJS!
$LTLIBOBJS$ac_delim
_ACEOF
_ACEOF
if
test
`
sed
-n
"s/.*
$ac_delim
\$
/X/p"
conf
$$
subs.sed |
grep
-c
X
`
=
9
4
;
then
if
test
`
sed
-n
"s/.*
$ac_delim
\$
/X/p"
conf
$$
subs.sed |
grep
-c
X
`
=
9
5
;
then
break
break
elif
$ac_last_try
;
then
elif
$ac_last_try
;
then
{
{
echo
"
$as_me
:
$LINENO
: error: could not make
$CONFIG_STATUS
"
>
&5
{
{
echo
"
$as_me
:
$LINENO
: error: could not make
$CONFIG_STATUS
"
>
&5
...
...
data/magic.mse-game/game
View file @
892fceae
mse version: 0.3.6
mse version: 0.3.6
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
...
@@ -187,6 +188,11 @@ init script:
...
@@ -187,6 +188,11 @@ init script:
(if contains(card.shape, match:"split") then "S" else " ") + # split cards come after normal ones
(if contains(card.shape, match:"split") then "S" else " ") + # split cards come after normal ones
":"
":"
}
}
# Process the name for sorting rules (specifically, remove "The", "A", and "And" at the beginning, and make lowercase)
sort_name :=
replace_rule (match: "^(The|An?) ", replace: "") +
to_lower
is_multicolor := { chosen(choice: "multicolor") and input != "artifact, multicolor" }
is_multicolor := { chosen(choice: "multicolor") and input != "artifact, multicolor" }
is_null_cost := { input == "" or input == "0" }
is_null_cost := { input == "" or input == "0" }
basic_land_sort := {
basic_land_sort := {
...
@@ -241,7 +247,7 @@ init script:
...
@@ -241,7 +247,7 @@ init script:
position (
position (
of: card
of: card
in: set
in: set
order_by: { rarity_sort() + sort_index() +
card.name
}
order_by: { rarity_sort() + sort_index() +
sort_name(card.name)
}
filter: set_filter()
filter: set_filter()
) + 1
) + 1
}
}
...
...
src/resource/common/welcome_updates.png
View replaced file @
1f9cb6b7
View file @
892fceae
2.77 KB
|
W:
|
H:
1009 Bytes
|
W:
|
H:
2-up
Swipe
Onion skin
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment