Package horizons :: Module constants
[hide private]
[frames] | no frames]

Module constants

source code

Classes [hide private]
  VERSION
  UNITS
  BUILDINGS
  RES
  WEAPONS
  GROUND
  ACTION_SETS
  GAME_SPEED
  COLORS
  VIEW
  PRODUCTION
  PRODUCTIONLINES
  GAME
  MAP
  GUI
  EDITOR
  MESSAGES
  AI
  TRADER
  TIER
  SETTLER
  WILD_ANIMAL
  COLLECTORS
  STORAGE
  LAYERS
  GFX
  PATHS
  SETTINGS
  PLAYER
  SINGLEPLAYER
  MULTIPLAYER
  NETWORK
  _LanguageNameDict
  HOTKEYS
Functions [hide private]
 
get_git_version()
Function gets latest revision of the working copy.
source code
Variables [hide private]
  _user_dir = str(get_user_game_directory())
  LANGUAGENAMES = _LanguageNameDict({"":('System default', ''), ...
  FONTDEFS = {"bg": 'libertine', "ca@valencia": 'libertine', "cs...
Function Details [hide private]

get_git_version()

source code 

Function gets latest revision of the working copy. It only works in git repositories, and is actually a hack.


Variables Details [hide private]

LANGUAGENAMES

Value:
_LanguageNameDict({"":('System default', ''), "af":('Afrikaans', 'Afri\
kaans'), "ar":('\xd8\xa7\xd9\x8e\xd9\x84\xd9\x84\xd9\x8f\xd9\x91\xd8\x\
ba\xd9\x8e\xd8\xa9\xd9\x8f \xd8\xa7\xd9\x8e\xd9\x84\xd9\x92\xd8\xb9\xd\
9\x8e\xd8\xb1\xd9\x8e\xd8\xa8\xd9\x90\xd9\x8a\xd9\x8e\xd9\x91\xd8\xa9'\
, 'Arabic'), "bg":('\xd0\x91\xd1\x8a\xd0\xbb\xd0\xb3\xd0\xb0\xd1\x80\x\
d1\x81\xd0\xba\xd0\xb8', 'Bulgarian'), "ca":('Catal\xc3\xa0', 'Catalan\
'), 'ca@valencia':('Catal\xc3\xa0 de Val\xc3\xa8ncia', 'Catalan (Valen\
cia)'), "cs":('\xc4\x8ce\xc5\xa1tina', 'Czech'), "da":('Danske', 'Dani\
...

FONTDEFS

Value:
{"bg": 'libertine', "ca@valencia": 'libertine', "cs": 'libertine', "da\
": 'libertine', "de": 'libertine', "en": 'libertine', "es": 'libertine\
', "et": 'libertine', "el": 'libertine', "fi": 'libertine', "fr": 'lib\
ertine', "ga": 'libertine', "gl": 'libertine', "hr": 'libertine', "hu"\
: 'libertine', "id": 'libertine', "it": 'libertine', "lt": 'libertine'\
, "lv": 'libertine', "nb": 'libertine', "nl": 'libertine', "pl": 'libe\
rtine', "pt_BR": 'libertine', "pt": 'libertine', "ro": 'libertine', "r\
u": 'libertine', "sk": 'libertine', "sl": 'libertine', "sr": 'libertin\
...