Mercurial > mm7
comparison mm7_2.cpp @ 871:710cf848ad24
Particle engine made working.
author | Nomad |
---|---|
date | Mon, 01 Apr 2013 13:39:19 +0200 |
parents | d061180f2b42 |
children | 2db21a810d48 |
comparison
equal
deleted
inserted
replaced
838:d061180f2b42 | 871:710cf848ad24 |
---|---|
7146 pMouse->SetMouseClick((unsigned __int16)lParam, lParam >> 16); | 7146 pMouse->SetMouseClick((unsigned __int16)lParam, lParam >> 16); |
7147 if (pGame) | 7147 if (pGame) |
7148 { | 7148 { |
7149 if (pAsyncMouse) | 7149 if (pAsyncMouse) |
7150 goto _def_wnd_proc; | 7150 goto _def_wnd_proc; |
7151 v33 = GetPickDepth(); | 7151 v33 = pGame->pIndoorCameraD3D->GetPickDepth(); |
7152 pGame->PickMouse(v33, (unsigned __int16)lParam, lParam >> 16, v31, &vis_sprite_filter_2, &vis_door_filter); | 7152 pGame->PickMouse(v33, (unsigned __int16)lParam, lParam >> 16, v31, &vis_sprite_filter_2, &vis_door_filter); |
7153 } | 7153 } |
7154 if (!pAsyncMouse) | 7154 if (!pAsyncMouse) |
7155 { | 7155 { |
7156 sub_416D62_ShowPopupWindow_MonsterRecord_ItemInfo_etcsub_416D62(0); | 7156 sub_416D62_ShowPopupWindow_MonsterRecord_ItemInfo_etcsub_416D62(0); |
7165 case WM_MBUTTONDOWN: | 7165 case WM_MBUTTONDOWN: |
7166 if ( pRenderer->pRenderD3D ) | 7166 if ( pRenderer->pRenderD3D ) |
7167 { | 7167 { |
7168 if ( pGame && !pAsyncMouse ) | 7168 if ( pGame && !pAsyncMouse ) |
7169 { | 7169 { |
7170 v34 = GetPickDepth(); | 7170 v34 = pGame->pIndoorCameraD3D->GetPickDepth(); |
7171 pGame->PickMouse(v34, (unsigned __int16)lParam, lParam >> 16, 1, &vis_sprite_filter_3, &vis_face_filter); | 7171 pGame->PickMouse(v34, (unsigned __int16)lParam, lParam >> 16, 1, &vis_sprite_filter_3, &vis_face_filter); |
7172 return DefWindowProcA(hWnd, Msg, wParam, lParam); | 7172 return DefWindowProcA(hWnd, Msg, wParam, lParam); |
7173 } | 7173 } |
7174 goto _def_wnd_proc; | 7174 goto _def_wnd_proc; |
7175 } | 7175 } |