diff --git a/src/Version b/src/Version new file mode 100644 index 0000000..d499e5c --- /dev/null +++ b/src/Version @@ -0,0 +1 @@ +#define WRAPPER_VERSION "1.2.4" diff --git a/src/Wrapper.c b/src/Wrapper.c index 80ca010..96ea1ca 100644 --- a/src/Wrapper.c +++ b/src/Wrapper.c @@ -23,6 +23,7 @@ */ #include "Wrapper.h" +#include "Version" #include #ifdef WIN32 #include @@ -312,7 +313,7 @@ static void initializeSDL2() #else extern const char binaryGameVersion; #endif - printf("%s\n Wrapper v%s\n Game v%s\n OpenGL ", title, "1.2.4", &binaryGameVersion); + printf("%s\n Wrapper v%s\n Game v%s\n OpenGL ", title, WRAPPER_VERSION, &binaryGameVersion); #if defined(OPENGL1X) puts("1"); #elif defined(GLES2)