X-Git-Url: https://git.ctpug.org.za/?a=blobdiff_plain;f=naja%2Fconstants.py;h=7dbd9696d67fce27a0ed1d15756e4f2ff6e72dad;hb=43aeb9dfb5db12277b2a77e6182f10f9d0c5ccb5;hp=bee1ac5177ed7b38a0c94fff19c60a95b3ce8bd5;hpb=cdb82efa9692569bc506eb48c7540a83365a7bb3;p=naja.git diff --git a/naja/constants.py b/naja/constants.py index bee1ac5..7dbd969 100644 --- a/naja/constants.py +++ b/naja/constants.py @@ -13,8 +13,12 @@ DEFAULTS = dict( debug=False, sound=True, music=True, + # We calculate the default in options.py + save_location=None, # Debug flags: initial_bits=None, + cheat_enabled=False, + game_state=None, ) # Sound constants @@ -74,6 +78,7 @@ 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 @@ -139,4 +144,21 @@ ACTION_GLYPHS = AttrDict({ 'WINTOKEN': 'glyphs/win.png', 'MSB': 'glyphs/msb.png', 'NOTHING': 'glyphs/do_nothing.png', + 'SHIFT_LEFT': 'glyphs/shift_left.png', + 'SHIFT_RIGHT': 'glyphs/shift_right.png', }) + +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', +)