diff --git a/3rd_party/HavokLib b/3rd_party/HavokLib
index 1011abc..25f3db5 160000
--- a/3rd_party/HavokLib
+++ b/3rd_party/HavokLib
@@ -1 +1 @@
-Subproject commit 1011abcdf9e53b20baf0a7f2c5e13a71b7a9d0f0
+Subproject commit 25f3db5afde705def7dea1a49904d4bf6be42b25
diff --git a/HavokMax.sln b/HavokMax.sln
index a662441..b1531bb 100644
--- a/HavokMax.sln
+++ b/HavokMax.sln
@@ -34,6 +34,8 @@ Global
2019|x86 = 2019|x86
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
+ Release_Char|x64 = Release_Char|x64
+ Release_Char|x86 = Release_Char|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
@@ -82,21 +84,25 @@ Global
{6671F0BA-6FB8-4F35-8392-0676D05113A8}.Debug|x64.Build.0 = 2017|x64
{6671F0BA-6FB8-4F35-8392-0676D05113A8}.Debug|x86.ActiveCfg = 2017|x64
{6671F0BA-6FB8-4F35-8392-0676D05113A8}.Debug|x86.Build.0 = 2017|x64
+ {6671F0BA-6FB8-4F35-8392-0676D05113A8}.Release_Char|x64.ActiveCfg = Release_Char|x64
+ {6671F0BA-6FB8-4F35-8392-0676D05113A8}.Release_Char|x64.Build.0 = Release_Char|x64
+ {6671F0BA-6FB8-4F35-8392-0676D05113A8}.Release_Char|x86.ActiveCfg = Release_Char|Win32
+ {6671F0BA-6FB8-4F35-8392-0676D05113A8}.Release_Char|x86.Build.0 = Release_Char|Win32
{6671F0BA-6FB8-4F35-8392-0676D05113A8}.Release|x64.ActiveCfg = 2017|x64
{6671F0BA-6FB8-4F35-8392-0676D05113A8}.Release|x64.Build.0 = 2017|x64
{6671F0BA-6FB8-4F35-8392-0676D05113A8}.Release|x86.ActiveCfg = 2017|x64
- {FFCA4C01-B4D8-46B2-8224-8D210C11B3CD}.2010|x64.ActiveCfg = Release|x64
- {FFCA4C01-B4D8-46B2-8224-8D210C11B3CD}.2010|x64.Build.0 = Release|x64
- {FFCA4C01-B4D8-46B2-8224-8D210C11B3CD}.2010|x86.ActiveCfg = Release|Win32
- {FFCA4C01-B4D8-46B2-8224-8D210C11B3CD}.2010|x86.Build.0 = Release|Win32
- {FFCA4C01-B4D8-46B2-8224-8D210C11B3CD}.2011|x64.ActiveCfg = Release|x64
- {FFCA4C01-B4D8-46B2-8224-8D210C11B3CD}.2011|x64.Build.0 = Release|x64
- {FFCA4C01-B4D8-46B2-8224-8D210C11B3CD}.2011|x86.ActiveCfg = Release|Win32
- {FFCA4C01-B4D8-46B2-8224-8D210C11B3CD}.2011|x86.Build.0 = Release|Win32
- {FFCA4C01-B4D8-46B2-8224-8D210C11B3CD}.2012|x64.ActiveCfg = Release|x64
- {FFCA4C01-B4D8-46B2-8224-8D210C11B3CD}.2012|x64.Build.0 = Release|x64
- {FFCA4C01-B4D8-46B2-8224-8D210C11B3CD}.2012|x86.ActiveCfg = Release|Win32
- {FFCA4C01-B4D8-46B2-8224-8D210C11B3CD}.2012|x86.Build.0 = Release|Win32
+ {FFCA4C01-B4D8-46B2-8224-8D210C11B3CD}.2010|x64.ActiveCfg = Release_Char|x64
+ {FFCA4C01-B4D8-46B2-8224-8D210C11B3CD}.2010|x64.Build.0 = Release_Char|x64
+ {FFCA4C01-B4D8-46B2-8224-8D210C11B3CD}.2010|x86.ActiveCfg = Release_Char|Win32
+ {FFCA4C01-B4D8-46B2-8224-8D210C11B3CD}.2010|x86.Build.0 = Release_Char|Win32
+ {FFCA4C01-B4D8-46B2-8224-8D210C11B3CD}.2011|x64.ActiveCfg = Release_Char|x64
+ {FFCA4C01-B4D8-46B2-8224-8D210C11B3CD}.2011|x64.Build.0 = Release_Char|x64
+ {FFCA4C01-B4D8-46B2-8224-8D210C11B3CD}.2011|x86.ActiveCfg = Release_Char|Win32
+ {FFCA4C01-B4D8-46B2-8224-8D210C11B3CD}.2011|x86.Build.0 = Release_Char|Win32
+ {FFCA4C01-B4D8-46B2-8224-8D210C11B3CD}.2012|x64.ActiveCfg = Release_Char|x64
+ {FFCA4C01-B4D8-46B2-8224-8D210C11B3CD}.2012|x64.Build.0 = Release_Char|x64
+ {FFCA4C01-B4D8-46B2-8224-8D210C11B3CD}.2012|x86.ActiveCfg = Release_Char|Win32
+ {FFCA4C01-B4D8-46B2-8224-8D210C11B3CD}.2012|x86.Build.0 = Release_Char|Win32
{FFCA4C01-B4D8-46B2-8224-8D210C11B3CD}.2013|x64.ActiveCfg = Release|x64
{FFCA4C01-B4D8-46B2-8224-8D210C11B3CD}.2013|x64.Build.0 = Release|x64
{FFCA4C01-B4D8-46B2-8224-8D210C11B3CD}.2013|x86.ActiveCfg = Release|Win32
@@ -129,6 +135,10 @@ Global
{FFCA4C01-B4D8-46B2-8224-8D210C11B3CD}.Debug|x64.Build.0 = Release|x64
{FFCA4C01-B4D8-46B2-8224-8D210C11B3CD}.Debug|x86.ActiveCfg = Release|x64
{FFCA4C01-B4D8-46B2-8224-8D210C11B3CD}.Debug|x86.Build.0 = Release|x64
+ {FFCA4C01-B4D8-46B2-8224-8D210C11B3CD}.Release_Char|x64.ActiveCfg = Release_Char|x64
+ {FFCA4C01-B4D8-46B2-8224-8D210C11B3CD}.Release_Char|x64.Build.0 = Release_Char|x64
+ {FFCA4C01-B4D8-46B2-8224-8D210C11B3CD}.Release_Char|x86.ActiveCfg = Release_Char|Win32
+ {FFCA4C01-B4D8-46B2-8224-8D210C11B3CD}.Release_Char|x86.Build.0 = Release_Char|Win32
{FFCA4C01-B4D8-46B2-8224-8D210C11B3CD}.Release|x64.ActiveCfg = Release|x64
{FFCA4C01-B4D8-46B2-8224-8D210C11B3CD}.Release|x64.Build.0 = Release|x64
{FFCA4C01-B4D8-46B2-8224-8D210C11B3CD}.Release|x86.ActiveCfg = Release|x64
diff --git a/HavokMax.vcxproj b/HavokMax.vcxproj
index b89d552..973aaba 100644
--- a/HavokMax.vcxproj
+++ b/HavokMax.vcxproj
@@ -57,6 +57,14 @@
2018
x64
+
+ Release_Char
+ Win32
+
+
+ Release_Char
+ x64
+
@@ -110,7 +118,13 @@
Unicode
Bin\$(Platform)_$(Configuration)\
ObjDump\$(Platform)_$(Configuration)\
+
+
+ Release_Char
+
+ Release
+
@@ -133,7 +147,7 @@
Fast
- 3rd_party/HavokLib/lib/$(Platform)_Release;$(MaxSDKLibs);$(IntDir);%(AdditionalLibraryDirectories)
+ 3rd_party/HavokLib/lib/$(Platform)_$(MAXLibLinkNameSuffix);$(MaxSDKLibs);$(IntDir);%(AdditionalLibraryDirectories)
gdiplus.lib;HavokLib.lib;bmm.lib;core.lib;flt.lib;mesh.lib;maxutil.lib;maxscrpt.lib;paramblk2.lib;geom.lib;%(AdditionalDependencies)
true
true
diff --git a/src/HavokMax.cpp b/src/HavokMax.cpp
index 87615c7..6186922 100644
--- a/src/HavokMax.cpp
+++ b/src/HavokMax.cpp
@@ -538,7 +538,7 @@ INT_PTR CALLBACK DialogCallbacksMain(HWND hWnd, UINT message, WPARAM wParam, LPA
break;
default:
- return imp->DlgCommandCallBack(wParam, lParam);
+ return imp ? imp->DlgCommandCallBack(wParam, lParam) : FALSE;
}
case CC_SPINNER_CHANGE:
diff --git a/src/HavokMax.h b/src/HavokMax.h
index 218c6bc..0fc908b 100644
--- a/src/HavokMax.h
+++ b/src/HavokMax.h
@@ -33,8 +33,8 @@
#include
#include "HavokXMLApi.hpp"
-#define HAVOKMAX_VERSION 1.7
-#define HAVOKMAX_VERSIONINT 170
+#define HAVOKMAX_VERSION 1.8
+#define HAVOKMAX_VERSIONINT 180
extern TCHAR *GetString(int id);
extern HINSTANCE hInstance;