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
c130ee92
Commit
c130ee92
authored
Nov 03, 2014
by
Matt Lowe
Browse files
Additional comment
+ Added additional comment explaining what DELTA is.
parent
2193d247
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/carditem.h
View file @
c130ee92
...
@@ -14,6 +14,7 @@ class QColor;
...
@@ -14,6 +14,7 @@ class QColor;
const
int
MAX_COUNTERS_ON_CARD
=
999
;
const
int
MAX_COUNTERS_ON_CARD
=
999
;
const
float
CARD_WIDTH_HALF
=
CARD_WIDTH
/
2
;
const
float
CARD_WIDTH_HALF
=
CARD_WIDTH
/
2
;
const
float
CARD_HEIGHT_HALF
=
CARD_HEIGHT
/
2
;
const
float
CARD_HEIGHT_HALF
=
CARD_HEIGHT
/
2
;
// DELTA is the degrees of rotation that will animate between frames
const
int
DELTA
=
10
;
const
int
DELTA
=
10
;
class
CardItem
:
public
AbstractCardItem
{
class
CardItem
:
public
AbstractCardItem
{
...
...
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