view gamelib/constants.py @ 87:d93e1ea2bd0d

Fix method name assumption bug
author Neil Muller <drnlmuller@gmail.com>
date Wed, 09 May 2012 20:06:44 +0200
parents a40a76012bd7
children 50f8476aa929
line wrap: on
line source

# The usual game constants

WIDTH = 800
HEIGHT = 600
SCREEN = (WIDTH, HEIGHT)
FPS = 30

# Sound related (standard options)
FREQ = 44100
BITSIZE = -16  # unsigned 16 bit
CHANNELS = 2
BUFFER = 1024

# Result codes for UI hints
(MAJOR_SETBACK, FAILURE, SUCCESS, MAJOR_SUCCESS, GAME_WIN, NEW_SCIENCE,
        NEW_SCHEMATIC) = range(7)