# HG changeset patch # User John Tsiombikas # Date 1377484240 -10800 # Node ID 1f94a2107c64430e76604be0771d9b9620bf2308 # Parent 04bb114fcf0518694dbbdffbaa2dad66c0276987 merged with win32 stuff diff -r 04bb114fcf05 -r 1f94a2107c64 .hgignore --- a/.hgignore Fri Aug 23 06:36:47 2013 +0300 +++ b/.hgignore Mon Aug 26 05:30:40 2013 +0300 @@ -7,3 +7,5 @@ \.opensdf$ \.sdf$ \.suo$ +x64/ +\.tlog$ diff -r 04bb114fcf05 -r 1f94a2107c64 exporters/maxgoat/maxgoat.vcxproj --- a/exporters/maxgoat/maxgoat.vcxproj Fri Aug 23 06:36:47 2013 +0300 +++ b/exporters/maxgoat/maxgoat.vcxproj Mon Aug 26 05:30:40 2013 +0300 @@ -89,6 +89,7 @@ Windows true + $(TargetPath) @@ -103,6 +104,8 @@ Windows true + goat3d-x64.lib;libvmath-x64.lib;libanim-x64.lib;%(AdditionalDependencies) + $(TargetDir);%(AdditionalLibraryDirectories) copy /Y "$(TargetPath)" "$(ADSK_3DSMAX_x64_2014)plugins\$(ProjectName).dle" @@ -123,6 +126,7 @@ true true true + $(TargetPath) @@ -141,6 +145,8 @@ true true true + goat3d-x64.lib;libvmath-x64.lib;libanim-x64.lib;%(AdditionalDependencies) + $(TargetDir);%(AdditionalLibraryDirectories) copy /Y "$(TargetPath)" "$(ADSK_3DSMAX_x64_2014)plugins\$(ProjectName).dle" @@ -149,6 +155,9 @@ + + + diff -r 04bb114fcf05 -r 1f94a2107c64 exporters/maxgoat/maxgoat.vcxproj.filters --- a/exporters/maxgoat/maxgoat.vcxproj.filters Fri Aug 23 06:36:47 2013 +0300 +++ b/exporters/maxgoat/maxgoat.vcxproj.filters Mon Aug 26 05:30:40 2013 +0300 @@ -11,4 +11,9 @@ src + + + src + + \ No newline at end of file diff -r 04bb114fcf05 -r 1f94a2107c64 exporters/maxgoat/src/config.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/exporters/maxgoat/src/config.h Mon Aug 26 05:30:40 2013 +0300 @@ -0,0 +1,7 @@ +#ifndef CONFIG_H_ +#define CONFIG_H_ + +#define VER_MAJOR 0 +#define VER_MINOR 1 + +#endif /* CONFIG_H_ */ \ No newline at end of file diff -r 04bb114fcf05 -r 1f94a2107c64 exporters/maxgoat/src/maxgoat.cc --- a/exporters/maxgoat/src/maxgoat.cc Fri Aug 23 06:36:47 2013 +0300 +++ b/exporters/maxgoat/src/maxgoat.cc Mon Aug 26 05:30:40 2013 +0300 @@ -10,6 +10,7 @@ #include "IGame.h" #include "IGameExport.h" #include "IConversionmanager.h" +#include "config.h" #pragma comment (lib, "core.lib") @@ -24,6 +25,9 @@ #pragma comment (lib, "comctl32.lib") +#define VERSION(major, minor) \ + ((major) * 100 + ((minor) < 10 ? (minor) * 10 : (minor))) + static FILE *logfile; static HINSTANCE hinst; @@ -90,7 +94,7 @@ unsigned int GoatExporter::Version() { - return 10; + return VERSION(VER_MAJOR, VER_MINOR); } void GoatExporter::ShowAbout(HWND win) diff -r 04bb114fcf05 -r 1f94a2107c64 src/goat3d.cc --- a/src/goat3d.cc Fri Aug 23 06:36:47 2013 +0300 +++ b/src/goat3d.cc Mon Aug 26 05:30:40 2013 +0300 @@ -34,10 +34,10 @@ } cameras.clear(); - for(size_t i=0; i meshes; std::vector lights; std::vector cameras; - std::vector nodes; + std::vector objects; public: Scene();