Skip to content
Snippets Groups Projects
Commit fc9f171a authored by Tazpn's avatar Tazpn
Browse files

Fixes for x64 compile.

parent e4a0cee1
No related branches found
No related tags found
No related merge requests found
......@@ -27,8 +27,8 @@ public:
void selectionChanged();
BOOL dlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
BOOL dlgAnimProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
INT_PTR dlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
INT_PTR dlgAnimProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
private:
......@@ -74,12 +74,12 @@ ClassDesc2* GetNifPropsDesc() { return &NifPropsDesc; }
static BOOL CALLBACK NifPropsDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
static INT_PTR CALLBACK NifPropsDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
{
return plugin.dlgProc(hWnd, msg, wParam, lParam);
}
static BOOL CALLBACK NifAnimPropsDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
static INT_PTR CALLBACK NifAnimPropsDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
{
return plugin.dlgAnimProc(hWnd, msg, wParam, lParam);
}
......@@ -303,7 +303,7 @@ void NifProps::Destroy(HWND hWnd)
}
BOOL NifProps::dlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
INT_PTR NifProps::dlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
{
Vector3 center;
......
......@@ -550,7 +550,7 @@ void bhkRigidBodyIfcHelper::SetQualityType(int value, TimeValue time)
}
int bhkRigidBodyIfcHelper::GetQualityType(TimeValue time, Interval& valid) const
{
float value = NP_DEFAULT_HVK_QUALITY_TYPE;
int value = NP_DEFAULT_HVK_QUALITY_TYPE;
rbpblock->GetValue(PB_RB_QUALITY_TYPE,time,value,valid);
return value;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment