X-Git-Url: https://git.ctpug.org.za/?a=blobdiff_plain;f=naja%2Fconstants.py;h=5e8b4fa7c791b675377f873ff7a1e7c459efe53f;hb=7f1ff73e8367e6928eaad805a492a619ad451fd8;hp=6ffc1a4cc2fb844cd5304a9a1b543260fbea215a;hpb=c898dde791f095d5e2c5f0e4ad82785547935383;p=naja.git diff --git a/naja/constants.py b/naja/constants.py index 6ffc1a4..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), @@ -154,3 +152,10 @@ TUNES = ( 'scape.ogg', 'another_beek.ogg', ) + +# Puzzles, because resources can't give us file lists +PUZZLES = ( + 'chess', + 'marathon', + 'belts', +)