projects
/
naja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove player states.
[naja.git]
/
naja
/
constants.py
diff --git
a/naja/constants.py
b/naja/constants.py
index 6ffc1a4cc2fb844cd5304a9a1b543260fbea215a..5e8b4fa7c791b675377f873ff7a1e7c459efe53f 100644
(file)
--- a/
naja/constants.py
+++ b/
naja/constants.py
@@
-78,13
+78,11
@@
BOARD_SIZE = (5 * TILE_SIZE[0], 5 * TILE_SIZE[1])
BIT_SIZE = (5 * TILE_SIZE[0], (SCREEN[1] - 5 * TILE_SIZE[1]) // 2)
INFO_SIZE = (SCREEN[0] - 5 * TILE_SIZE[0], SCREEN[1])
INFO_LEFT_PADDING = 18
BIT_SIZE = (5 * TILE_SIZE[0], (SCREEN[1] - 5 * TILE_SIZE[1]) // 2)
INFO_SIZE = (SCREEN[0] - 5 * TILE_SIZE[0], SCREEN[1])
INFO_LEFT_PADDING = 18
+INFO_RIGHT_PADDING = 18
PLAYER_SIZE = (64, 96)
ACTION_TEXT_OFFSET = 20
PLAYER_SIZE = (64, 96)
ACTION_TEXT_OFFSET = 20
-# Player States
-ACT = 1
-EXAMINE = 2
-
+# keys
KEYS = AttrDict({
'UP': (pgl.K_UP, pgl.K_w, pgl.K_COMMA),
'DOWN': (pgl.K_DOWN, pgl.K_s, pgl.K_o),
KEYS = AttrDict({
'UP': (pgl.K_UP, pgl.K_w, pgl.K_COMMA),
'DOWN': (pgl.K_DOWN, pgl.K_s, pgl.K_o),
@@
-154,3
+152,10
@@
TUNES = (
'scape.ogg',
'another_beek.ogg',
)
'scape.ogg',
'another_beek.ogg',
)
+
+# Puzzles, because resources can't give us file lists
+PUZZLES = (
+ 'chess',
+ 'marathon',
+ 'belts',
+)