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

Class PATHS

source code

Class Variables [hide private]
  USER_DIR = str(get_user_game_directory())
  LOG_DIR = os.path.join(USER_DIR, "log")
  USER_MAPS_DIR = os.path.join(USER_DIR, "maps")
  USER_CONFIG_FILE = os.path.join(USER_DIR, "settings.xml")
  SCREENSHOT_DIR = os.path.join(USER_DIR, "screenshots")
  DEFAULT_WINDOW_ICON_PATH = os.path.join("content", "gui", "ima...
  MAC_WINDOW_ICON_PATH = os.path.join("content", "gui", "icons",...
  ATLAS_METADATA_PATH = os.path.join(USER_DIR, "atlas-metadata.c...
  ACTION_SETS_DIRECTORY = os.path.join("content", "gfx")
  TILE_SETS_DIRECTORY = os.path.join("content", "gfx", "base")
  SAVEGAME_TEMPLATE = os.path.join("content", "savegame_template...
  ATLAS_FILES_DIR = os.path.join("content", "gfx", "atlas")
  ATLAS_DB_PATH = os.path.join("content", "atlas.sql")
  ACTION_SETS_JSON_FILE = os.path.join("content", "actionsets.js...
  TILE_SETS_JSON_FILE = os.path.join("content", "tilesets.json")
  SETTINGS_TEMPLATE_FILE = os.path.join("content", "settings-tem...
  CONFIG_TEMPLATE_FILE = os.path.join("content", "settings-templ...
  DB_FILES = tuple(os.path.join("content", i) for i in("game.sql...
  ATLAS_SOURCE_DIRECTORIES = tuple(os.path.join("content/gfx", d...
  VOICE_DIR = os.path.join("content", "audio", "voice")
  UH_LOGO_FILE = os.path.join("content", "gfx", "uh.png")
Class Variable Details [hide private]

DEFAULT_WINDOW_ICON_PATH

Value:
os.path.join("content", "gui", "images", "logos", "uh_32.png")

MAC_WINDOW_ICON_PATH

Value:
os.path.join("content", "gui", "icons", "Icon.icns")

ATLAS_METADATA_PATH

Value:
os.path.join(USER_DIR, "atlas-metadata.cache")

SAVEGAME_TEMPLATE

Value:
os.path.join("content", "savegame_template.sql")

ACTION_SETS_JSON_FILE

Value:
os.path.join("content", "actionsets.json")

SETTINGS_TEMPLATE_FILE

Value:
os.path.join("content", "settings-template.xml")

CONFIG_TEMPLATE_FILE

Value:
os.path.join("content", "settings-template.xml")

DB_FILES

Value:
tuple(os.path.join("content", i) for i in("game.sql", "balance.sql", "\
names.sql"))

ATLAS_SOURCE_DIRECTORIES

Value:
tuple(os.path.join("content/gfx", d) for d in("/base", "/buildings", "\
/misc", "/terrain", "/units",))