Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
2cf57ad9
Commit
2cf57ad9
authored
Nov 09, 2010
by
Max-Wilhelm Bruker
Browse files
Merge branch 'master' of
ssh://cockatrice.git.sourceforge.net/gitroot/cockatrice/cockatrice
parents
92d40515
78247ac4
Changes
2
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/tablezone.h
View file @
2cf57ad9
...
...
@@ -11,7 +11,7 @@ private:
static
const
int
boxLineWidth
=
10
;
static
const
int
paddingY
=
20
;
static
const
int
marginX
=
20
;
static
const
int
minWidth
=
20
*
CARD_WIDTH
/
2
;
static
const
int
minWidth
=
15
*
CARD_WIDTH
/
2
;
QMap
<
int
,
int
>
gridPointWidth
;
int
width
,
height
;
...
...
oracle/src/oracleimporter.cpp
View file @
2cf57ad9
...
...
@@ -116,9 +116,9 @@ CardInfo *OracleImporter::addCard(QString cardName, const QString &cardCost, con
if
((
mainCardType
==
"Land"
)
||
mArtifact
)
tableRow
=
0
;
else
if
((
mainCardType
==
"Sorcery"
)
||
(
mainCardType
==
"Instant"
))
tableRow
=
2
;
else
if
(
mainCardType
==
"Creature"
)
tableRow
=
3
;
else
if
(
mainCardType
==
"Creature"
)
tableRow
=
2
;
card
->
setTableRow
(
tableRow
);
cardHash
.
insert
(
cardName
,
card
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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