Explorar o código

tools: Add CROWN_VERSION

Daniele Bartolini %!s(int64=9) %!d(string=hai) anos
pai
achega
9f56a2c623
Modificáronse 2 ficheiros con 3 adicións e 1 borrados
  1. 2 0
      tools/config.vala
  2. 1 1
      tools/level_editor/level_editor.vala

+ 2 - 0
tools/config.vala

@@ -5,6 +5,8 @@
 
 namespace Crown
 {
+	const string CROWN_VERSION = "0.0.16";
+
 #if CROWN_PLATFORM_LINUX
 	const string ENGINE_DIR = "../engine/linux64/bin";
 	const string EXE_PREFIX = "./";

+ 1 - 1
tools/level_editor/level_editor.vala

@@ -1043,7 +1043,7 @@ namespace Crown
 			}
 
 			dlg.program_name = "Crown Game Engine";
-			dlg.version = "0.0.16";
+			dlg.version = CROWN_VERSION;
 			dlg.website = "https://github.com/taylor001/crown";
 			dlg.copyright = "Copyright (c) 2012-2016 Daniele Bartolini and individual contributors.";
 			dlg.license = "Crown Game Engine.\n"