goat3d
diff exporters/maxgoat/src/maxgoat.cc @ 10:1f94a2107c64
merged with win32 stuff
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 26 Aug 2013 05:30:40 +0300 |
parents | fca2ea844875 |
children | d0260d80ae09 |
line diff
1.1 --- a/exporters/maxgoat/src/maxgoat.cc Fri Aug 23 06:36:47 2013 +0300 1.2 +++ b/exporters/maxgoat/src/maxgoat.cc Mon Aug 26 05:30:40 2013 +0300 1.3 @@ -10,6 +10,7 @@ 1.4 #include "IGame.h" 1.5 #include "IGameExport.h" 1.6 #include "IConversionmanager.h" 1.7 +#include "config.h" 1.8 1.9 1.10 #pragma comment (lib, "core.lib") 1.11 @@ -24,6 +25,9 @@ 1.12 #pragma comment (lib, "comctl32.lib") 1.13 1.14 1.15 +#define VERSION(major, minor) \ 1.16 + ((major) * 100 + ((minor) < 10 ? (minor) * 10 : (minor))) 1.17 + 1.18 static FILE *logfile; 1.19 static HINSTANCE hinst; 1.20 1.21 @@ -90,7 +94,7 @@ 1.22 1.23 unsigned int GoatExporter::Version() 1.24 { 1.25 - return 10; 1.26 + return VERSION(VER_MAJOR, VER_MINOR); 1.27 } 1.28 1.29 void GoatExporter::ShowAbout(HWND win)