Daniele Bartolini 9 rokov pred
rodič
commit
3150651791
3 zmenil súbory, kde vykonal 3 pridanie a 6 odobranie
  1. 1 4
      src/config.h
  2. 1 1
      src/device/device.h
  3. 1 1
      src/device/device_options.cpp

+ 1 - 4
src/config.h

@@ -7,10 +7,7 @@
 
 #include "platform.h"
 
-#define CROWN_VERSION_MAJOR "0"
-#define CROWN_VERSION_MINOR "1"
-#define CROWN_VERSION_MICRO "13"
-#define CROWN_VERSION_STRING CROWN_VERSION_MAJOR "." CROWN_VERSION_MINOR "." CROWN_VERSION_MICRO
+#define CROWN_VERSION "0.0.16"
 
 #ifndef CROWN_DEBUG
 	#define CROWN_DEBUG 0

+ 1 - 1
src/device/device.h

@@ -104,7 +104,7 @@ public:
 	const char* architecture() const { return CROWN_ARCH_NAME; }
 
 	/// Returns a string identifying the engine version.
-	const char* version() const { return CROWN_VERSION_STRING; }
+	const char* version() const { return CROWN_VERSION; }
 
 	/// Return the number of frames rendered.
 	u64 frame_count() const;

+ 1 - 1
src/device/device_options.cpp

@@ -79,7 +79,7 @@ int DeviceOptions::parse()
 
 	if (cl.has_argument("version", 'v'))
 	{
-		CE_LOGI(CROWN_VERSION_STRING);
+		CE_LOGI(CROWN_VERSION);
 		return EXIT_FAILURE;
 	}