Mercurial > rinkhals
view gamelib/constants.py @ 139:1d73de63bd71
Add basic game over screen
author | Neil Muller <drnlmuller@gmail.com> |
---|---|
date | Wed, 02 Sep 2009 22:48:39 +0000 |
parents | 4527e09dc620 |
children | baf857805867 |
line wrap: on
line source
"""Operation Fox Assault constants.""" # Project metadata NAME = "Operation Fox Assault" AUTHORS = [ ("Adrianna Pinska", "adrianna.pinska@gmail.com"), ("Jeremy Thurgood", "firxen+rinkhals@gmail.com"), ("Neil Muller", ""), ("Simon Cross", "hodgestar+rinkhals@gmail.com"), ] # GUI constants SCREEN = (800, 600) FG_COLOR = (255, 255, 255) BG_COLOR = (0, 0, 0) # Mixer constants FREQ = 44100 # same as audio CD BITSIZE = -16 # unsigned 16 bit CHANNELS = 2 # 1 == mono, 2 == stereo BUFFER = 1024 # audio buffer size in no. of samples FRAMERATE = 30 # how often to check if playback has finished # Game constants STARTING_CASH = 1000 SELL_PRICE_CHICKEN = 10 SELL_PRICE_EGG = 5 SELL_PRICE_DEAD_FOX = 5 LOGGING_PRICE = 50 BUY_PRICE_FENCE = 50 SELL_PRICE_FENCE = 25 REPAIR_PRICE_FENCE = 25 TOOL_SELL_CHICKEN = 1 TOOL_SELL_EGG = 2 TOOL_SELL_BUILDING = 3 TOOL_BUY_FENCE = 4 TOOL_PLACE_ANIMALS = 5 TOOL_LOGGING = 6 NIGHT_LENGTH = 150 TURN_LIMIT = 14