diff --git a/NothinFancy/src/Application.cpp b/NothinFancy/src/Application.cpp index f9342fd..846ee07 100644 --- a/NothinFancy/src/Application.cpp +++ b/NothinFancy/src/Application.cpp @@ -16,6 +16,7 @@ namespace nf { m_stateChange(false), m_stateChangeStarted(false) { + NFLog("Nothin' Fancy v" + (std::string)NFVERSION); NFLog("Constructing application"); NFLog("Width: " + std::to_string(m_currentConfig.width) + ", Height: " + std::to_string(m_currentConfig.height) + ", Fullscreen: " + (m_currentConfig.fullscreen ? "true" : "false") + ", Title: " + m_currentConfig.title); diff --git a/NothinFancy/src/include/nf/Utility.h b/NothinFancy/src/include/nf/Utility.h index ec359da..9aa3a97 100644 --- a/NothinFancy/src/include/nf/Utility.h +++ b/NothinFancy/src/include/nf/Utility.h @@ -16,6 +16,11 @@ * ~~~ */ namespace nf { +/** +* @ingroup macros +* Current version of the engine in the format major.minor.patch +*/ +#define NFVERSION "0.5.0" #if defined(_DEBUG) || defined(doxygen) //Strips __FILE__ down to only the name of the file #define __FILENAME__ strrchr(__FILE__, '\\') + 1 diff --git a/docs/Doxyfile b/docs/Doxyfile index 8a15dc7..ceb6ad9 100644 --- a/docs/Doxyfile +++ b/docs/Doxyfile @@ -5,7 +5,7 @@ #--------------------------------------------------------------------------- DOXYFILE_ENCODING = UTF-8 PROJECT_NAME = "Nothin' Fancy" -PROJECT_NUMBER = 0.1 +PROJECT_NUMBER = 0.5.0 PROJECT_BRIEF = "C++ 3D Game Engine" PROJECT_LOGO = images/logo.png OUTPUT_DIRECTORY = .