projects
/
naja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Prototype player object.
[naja.git]
/
naja
/
constants.py
diff --git
a/naja/constants.py
b/naja/constants.py
index faa8c55b14cac16ed99e0459f773c8f7e4039230..0dc6b84726fd370b7079d666c589040c7c4bdc84 100644
(file)
--- a/
naja/constants.py
+++ b/
naja/constants.py
@@
-16,3
+16,13
@@
CHANNELS = 2 # 1 == mono, 2 == stereo
BUFFER = 1024 # audio buffer size in no. of samples
DEFAULT_SOUND_VOLUME = 1.0 # sound volume
DEFAULT_MUSIC_VOLUME = 0.3 # music volume
+
+# Player bits
+NORTH = 0
+SOUTH = 1
+EAST = 2
+WEST = 3
+CYAN = 4
+MAGENTA = 5
+YELLOW = 6
+MSB = 7