2
0

config.vala 776 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * Copyright (c) 2012-2020 Daniele Bartolini and individual contributors.
  3. * License: https://github.com/dbartolini/crown/blob/master/LICENSE
  4. */
  5. namespace Crown
  6. {
  7. const string CROWN_VERSION = "0.39.0";
  8. #if CROWN_PLATFORM_LINUX
  9. const string ENGINE_DIR = ".";
  10. const string EXE_PREFIX = "./";
  11. const string EXE_SUFFIX = "";
  12. #elif CROWN_PLATFORM_WINDOWS
  13. const string ENGINE_DIR = ".";
  14. const string EXE_PREFIX = "";
  15. const string EXE_SUFFIX = ".exe";
  16. #endif
  17. const string ENGINE_EXE = EXE_PREFIX
  18. #if CROWN_DEBUG
  19. + "crown-debug"
  20. #else
  21. + "crown-development"
  22. #endif
  23. + EXE_SUFFIX;
  24. const uint16 CROWN_DEFAULT_SERVER_PORT = 10618;
  25. const string LEVEL_EDITOR_BOOT_DIR = "core/editors/level_editor";
  26. const string UNIT_PREVIEW_BOOT_DIR = "core/editors/unit_preview";
  27. }