projects
/
naja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean up menu slightly.
[naja.git]
/
naja
/
constants.py
diff --git
a/naja/constants.py
b/naja/constants.py
index 440a2d5441a48ab8ed5d07c103afca03d1c234c9..5442988373141ab227e144fae147d5fb7518bc39 100644
(file)
--- a/
naja/constants.py
+++ b/
naja/constants.py
@@
-13,6
+13,8
@@
DEFAULTS = dict(
debug=False,
sound=True,
music=True,
debug=False,
sound=True,
music=True,
+ # Debug flags:
+ initial_bits=None,
)
# Sound constants
)
# Sound constants
@@
-51,6
+53,11
@@
MOVES = AttrDict({
})
CHESS_PIECES = AttrDict((k, v) for k, v in MOVES.items() if v > 0)
})
CHESS_PIECES = AttrDict((k, v) for k, v in MOVES.items() if v > 0)
+ROTATION = AttrDict({
+ 'CLOCKWISE': 0,
+ 'ANTICLOCKWISE': 1,
+})
+
# Player defaults
PLAYER_DEFAULTS = AttrDict({
'INITIAL_BITS': 0x0f,
# Player defaults
PLAYER_DEFAULTS = AttrDict({
'INITIAL_BITS': 0x0f,