annotate gamelib/constants.py @ 33:f8e02d02c782
Convert inventory to list of item objects.
author |
Simon Cross <hodgestar+bzr@gmail.com> |
date |
Sun, 22 Aug 2010 19:51:24 +0200 |
parents |
177e3a7825e8 |
children |
3d460c1274ee |
rev |
line source |
20
|
1 # Useful constants
|
|
2 # copyright boomslang team (see COPYRIGHT file for details)
|
|
3
|
|
4 SCREEN = (800, 600)
|
|
5 FREQ = 44100 # same as audio CD
|
|
6 BITSIZE = -16 # unsigned 16 bit
|
|
7 CHANNELS = 2 # 1 == mono, 2 == stereo
|
|
8 BUFFER = 1024 # audio buffer size in no. of samples
|