[][src]Module umpire::conf

Configuration

For now this is just a bunch of const's, but in the future I expect it will be something more sophisticated that allows configuration to be set through a combination of defaults, command line arguments, and configuration files.

Constants

APP_NAME

The name of this application

APP_SUBTITLE

The subtitle. You know, for flavor.

APP_VERSION
FOG_OF_WAR
GROWTH_CARDINAL_LAMBDA

The degree to which cardinal-direction landmass growth should be discouraged

GROWTH_DIAGONAL_LAMBDA

The degree to which diagonal landmass growth should be discouraged

GROWTH_ITERATIONS

The number of iterations to grow landmasses during map generation

HEADER_HEIGHT

The height of the header

KEY_DOWN
KEY_DOWN_LEFT
KEY_DOWN_RIGHT
KEY_EXAMINE
KEY_EXPLORE
KEY_LEFT
KEY_NO_PRODUCTION
KEY_QUIT
KEY_RIGHT
KEY_SENTRY
KEY_SKIP
KEY_UP
KEY_UP_LEFT
KEY_UP_RIGHT
KEY_VIEWPORT_SHIFT_DOWN
KEY_VIEWPORT_SHIFT_DOWN_LEFT
KEY_VIEWPORT_SHIFT_DOWN_RIGHT
KEY_VIEWPORT_SHIFT_LEFT
KEY_VIEWPORT_SHIFT_RIGHT
KEY_VIEWPORT_SHIFT_UP
KEY_VIEWPORT_SHIFT_UP_LEFT
KEY_VIEWPORT_SHIFT_UP_RIGHT
KEY_VIEWPORT_SIZE_ROTATE
LANDMASSES

The height of the footer The number of landmasses to seed during map generation

MAP_HEIGHT

The height of the game map

MAP_WIDTH

The width of the game map

NEUTRAL_CITY_DENSITY
NUM_PLAYERS

The number of teams playing, including humans and AIs

USE_ALTERNATE_SCREEN

Functions

key_desc