config.vala 771 B

12345678910111213141516171819202122232425
  1. /*
  2. * Copyright (c) 2012-2016 Daniele Bartolini and individual contributors.
  3. * License: https://github.com/taylor001/crown/blob/master/LICENSE-GPLv2
  4. */
  5. namespace Crown
  6. {
  7. const string CROWN_VERSION = "0.0.26";
  8. #if CROWN_PLATFORM_LINUX
  9. const string ENGINE_DIR = "../engine/linux64/bin";
  10. const string EXE_PREFIX = "./";
  11. const string EXE_SUFFIX = "";
  12. #elif CROWN_PLATFORM_WINDOWS
  13. const string ENGINE_DIR = "../engine/win64/bin";
  14. const string EXE_PREFIX = "";
  15. const string EXE_SUFFIX = ".exe";
  16. #endif
  17. const string ENGINE_EXE = EXE_PREFIX + "crown-development-64" + EXE_SUFFIX;
  18. const uint16 CROWN_DEFAULT_SERVER_PORT = 10618;
  19. const string LEVEL_EDITOR_BOOT_DIR = "core/editors/level_editor";
  20. const string UNIT_PREVIEW_BOOT_DIR = "core/editors/unit_preview";
  21. }