1 from naja.attrdict import AttrDict
6 FONT = 'DejaVuSans.ttf'
16 FREQ = 44100 # same as audio CD
17 BITSIZE = -16 # unsigned 16 bit
18 CHANNELS = 2 # 1 == mono, 2 == stereo
19 BUFFER = 1024 # audio buffer size in no. of samples
20 DEFAULT_SOUND_VOLUME = 1.0 # sound volume
21 DEFAULT_MUSIC_VOLUME = 0.3 # music volume
36 DIRECTION_BITS = AttrDict((k, v) for k, v in BITS.items() if v < 4)
37 CONDITION_BITS = AttrDict((k, v) for k, v in BITS.items() if v >= 4)