X-Git-Url: https://git.ctpug.org.za/?a=blobdiff_plain;f=naja%2Fconstants.py;h=5e8b4fa7c791b675377f873ff7a1e7c459efe53f;hb=7f1ff73e8367e6928eaad805a492a619ad451fd8;hp=9ec9f384b41dfdc3c11d416d6c12665d10af24bb;hpb=6c176929bd2a3c4877eee6d0e3e9e92189004a9b;p=naja.git diff --git a/naja/constants.py b/naja/constants.py index 9ec9f38..5e8b4fa 100644 --- 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 +INFO_RIGHT_PADDING = 18 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), @@ -147,10 +145,17 @@ ACTION_GLYPHS = AttrDict({ 'SHIFT_RIGHT': 'glyphs/shift_right.png', }) -TUNES = [ - 'ants.ogg', - 'python.ogg', - 'death_on_a_b.ogg', - 'scape.ogg', - 'another_beek.ogg', - ] +TUNES = ( + 'ants.ogg', + 'python.ogg', + 'death_on_a_b.ogg', + 'scape.ogg', + 'another_beek.ogg', +) + +# Puzzles, because resources can't give us file lists +PUZZLES = ( + 'chess', + 'marathon', + 'belts', +)