comparison mm7_2.cpp @ 836:b66abf8b7d50

Слияние
author Ritor1
date Wed, 27 Mar 2013 23:20:27 +0600
parents 95d9727412c9 dfd683c4f538
children d061180f2b42
comparison
equal deleted inserted replaced
835:72f6df90df98 836:b66abf8b7d50
3 #include <assert.h> 3 #include <assert.h>
4 4
5 #include "MapInfo.h" 5 #include "MapInfo.h"
6 #include "Game.h" 6 #include "Game.h"
7 #include "GUIWindow.h" 7 #include "GUIWindow.h"
8 #include "GUIButton.h"
9 #include "GUIFont.h" 8 #include "GUIFont.h"
10 #include "Party.h" 9 #include "Party.h"
11 #include "AudioPlayer.h" 10 #include "AudioPlayer.h"
12 #include "Outdoor.h" 11 #include "Outdoor.h"
13 #include "IndoorCamera.h" 12 #include "IndoorCamera.h"
291 const char *result; // eax@19 290 const char *result; // eax@19
292 291
293 uDialogueType = 83; 292 uDialogueType = 83;
294 pDialogueWindow->Release(); 293 pDialogueWindow->Release();
295 pDialogueWindow = GUIWindow::Create(0, 0, 640, 350, WINDOW_MainMenu, 0, 0); 294 pDialogueWindow = GUIWindow::Create(0, 0, 640, 350, WINDOW_MainMenu, 0, 0);
296 pBtn_ExitCancel = pDialogueWindow->CreateButton(471u, 445u, 169u, 35u, 1, 0, 0x71u, 0, 0, pGlobalTXT_LocalizationStrings[34],// "Cancel" 295 pBtn_ExitCancel = pDialogueWindow->CreateButton(471u, 445u, 169u, 35u, 1, 0, UIMSG_Escape, 0, 0, pGlobalTXT_LocalizationStrings[34],// "Cancel"
297 (Texture *)(uExitCancelTextureId != -1 ? &pIcons_LOD->pTextures[uExitCancelTextureId] : 0), 0); 296 (Texture *)(uExitCancelTextureId != -1 ? &pIcons_LOD->pTextures[uExitCancelTextureId] : 0), 0);
298 pDialogueWindow->CreateButton(0, 0, 0, 0, 1, 0, 0x51u, 0, 0, "", 0); 297 pDialogueWindow->CreateButton(0, 0, 0, 0, 1, 0, UIMSG_BuyInShop_Identify_Repair, 0, 0, "", 0);
299 pDialogueWindow->CreateButton(480u, 160u, 140u, 30u, 1, 0, 0, 0x53u, 0, "", 0); 298 pDialogueWindow->CreateButton(480u, 160u, 140u, 30u, 1, 0, UIMSG_0, 0x53u, 0, "", 0);
300 pDialogueWindow->_41D08F(1, 1, 0, 2); 299 pDialogueWindow->_41D08F(1, 1, 0, 2);
301 dialog_menu_id = HOUSE_DIALOGUE_OTHER; 300 dialog_menu_id = HOUSE_DIALOGUE_OTHER;
302 v0 = (int)((char *)window_SpeakInHouse->ptr_1C - 102); 301 v0 = (int)((char *)window_SpeakInHouse->ptr_1C - 102);
303 if ( (signed __int64)__PAIR__(pParty->field_3C.field_0[2 * v0 + 1], pParty->field_3C.field_0[2 * v0]) < (signed __int64)pParty->uTimePlayed ) 302 if ( (signed __int64)__PAIR__(pParty->field_3C.field_0[2 * v0 + 1], pParty->field_3C.field_0[2 * v0]) < (signed __int64)pParty->uTimePlayed )
304 { 303 {
434 while ( v6 ); 433 while ( v6 );
435 } 434 }
436 pDialogueWindow->pControlsHead = 0; 435 pDialogueWindow->pControlsHead = 0;
437 pDialogueWindow->pControlsTail = 0; 436 pDialogueWindow->pControlsTail = 0;
438 pDialogueWindow->uNumControls = 0; 437 pDialogueWindow->uNumControls = 0;
439 pBtn_ExitCancel = pDialogueWindow->CreateButton(0x1D7u, 0x1BDu, 0xA9u, 0x23u, 1, 0, 0x71u, 0, 0, pGlobalTXT_LocalizationStrings[79], 438 pBtn_ExitCancel = pDialogueWindow->CreateButton(0x1D7u, 0x1BDu, 0xA9u, 0x23u, 1, 0, UIMSG_Escape, 0, 0, pGlobalTXT_LocalizationStrings[79],
440 (Texture *)(uExitCancelTextureId != -1 ? (int)&pIcons_LOD->pTextures[uExitCancelTextureId] : 0), 0); 439 (Texture *)(uExitCancelTextureId != -1 ? (int)&pIcons_LOD->pTextures[uExitCancelTextureId] : 0), 0);
441 pDialogueWindow->CreateButton(0x1E0u, 0xA0u, 0x8Cu, 0x1Eu, 1, 0, 0x88u, 0x55u, 0, "", 0); 440 pDialogueWindow->CreateButton(0x1E0u, 0xA0u, 0x8Cu, 0x1Eu, 1, 0, UIMSG_SelectNPCDialogueOption, 0x55u, 0, "", 0);
442 pDialogueWindow->CreateButton(0x1E0u, 0xBEu, 0x8Cu, 0x1Eu, 1, 0, 0x88u, 0x56u, 0, "", 0); 441 pDialogueWindow->CreateButton(0x1E0u, 0xBEu, 0x8Cu, 0x1Eu, 1, 0, UIMSG_SelectNPCDialogueOption, 0x56u, 0, "", 0);
443 pDialogueWindow->CreateButton(0x1E0u, 0xDCu, 0x8Cu, 0x1Eu, 1, 0, 0x88u, 0x57u, 0, "", 0); 442 pDialogueWindow->CreateButton(0x1E0u, 0xDCu, 0x8Cu, 0x1Eu, 1, 0, UIMSG_SelectNPCDialogueOption, 0x57u, 0, "", 0);
444 pDialogueWindow->CreateButton(0x1E0u, 0xFAu, 0x8Cu, 0x1Eu, 1, 0, 0x88u, 0x58u, 0, "", 0); 443 pDialogueWindow->CreateButton(0x1E0u, 0xFAu, 0x8Cu, 0x1Eu, 1, 0, UIMSG_SelectNPCDialogueOption, 0x58u, 0, "", 0);
445 pDialogueWindow->_41D08F(4, 1, 0, 1); 444 pDialogueWindow->_41D08F(4, 1, 0, 1);
446 } 445 }
447 } 446 }
448 // F8B1B4: using guessed type int dword_F8B1B4; 447 // F8B1B4: using guessed type int dword_F8B1B4;
449 448
806 //----- (004BCA33) -------------------------------------------------------- 805 //----- (004BCA33) --------------------------------------------------------
807 void UI_CreateEndConversationButton() 806 void UI_CreateEndConversationButton()
808 { 807 {
809 pDialogueWindow->Release(); 808 pDialogueWindow->Release();
810 pDialogueWindow = GUIWindow::Create(0, 0, 640, 345, WINDOW_MainMenu, 0, 0); 809 pDialogueWindow = GUIWindow::Create(0, 0, 640, 345, WINDOW_MainMenu, 0, 0);
811 pBtn_ExitCancel = pDialogueWindow->CreateButton( 471, 445, 169, 35, 1, 0, 0x71u, 0, 0, 810 pBtn_ExitCancel = pDialogueWindow->CreateButton( 471, 445, 169, 35, 1, 0, UIMSG_Escape, 0, 0,
812 pGlobalTXT_LocalizationStrings[74], //"End Conversation" 811 pGlobalTXT_LocalizationStrings[74], //"End Conversation"
813 pIcons_LOD->GetTexture(uExitCancelTextureId), 0); 812 pIcons_LOD->GetTexture(uExitCancelTextureId), 0);
814 pDialogueWindow->CreateButton(8, 8, 450, 320, 1, 0, 0x51u, 0, 0, "", 0); 813 pDialogueWindow->CreateButton(8, 8, 450, 320, 1, 0, UIMSG_BuyInShop_Identify_Repair, 0, 0, "", 0);
815 } 814 }
816 815
817 //----- (004BD8B5) -------------------------------------------------------- 816 //----- (004BD8B5) --------------------------------------------------------
818 signed int __cdecl sub_4BD8B5() 817 signed int __cdecl sub_4BD8B5()
819 { 818 {
896 { 895 {
897 //v3 = byte_591180; 896 //v3 = byte_591180;
898 do 897 do
899 { 898 {
900 HouseNPCData[v2 + 7] = (NPCData *)window_SpeakInHouse->CreateButton(pNPCPortraits_x[v1 - 1][v2], pNPCPortraits_y[v1 - 1][v2], 899 HouseNPCData[v2 + 7] = (NPCData *)window_SpeakInHouse->CreateButton(pNPCPortraits_x[v1 - 1][v2], pNPCPortraits_y[v1 - 1][v2],
901 0x3Fu, 0x49u, 1, 0, 0x19Au, v2, 0, byte_591180[v2], 0, 0, 0); 900 0x3Fu, 0x49u, 1, 0, UIMSG_19A, v2, 0, byte_591180[v2], 0, 0, 0);
902 v1 = uNumDialogueNPCPortraits; 901 v1 = uNumDialogueNPCPortraits;
903 ++v2; 902 ++v2;
904 //v3 += 100; 903 //v3 += 100;
905 } 904 }
906 while ( (signed int)v2 < uNumDialogueNPCPortraits ); 905 while ( (signed int)v2 < uNumDialogueNPCPortraits );
6938 { 6937 {
6939 if ( pt.x >= (signed int)pButton->uX && pt.x <= (signed int)pButton->uZ 6938 if ( pt.x >= (signed int)pButton->uX && pt.x <= (signed int)pButton->uZ
6940 && pt.y >= (signed int)pButton->uY && pt.y <= (signed int)pButton->uW 6939 && pt.y >= (signed int)pButton->uY && pt.y <= (signed int)pButton->uW
6941 && pWindow == pWindow_MainMenu ) 6940 && pWindow == pWindow_MainMenu )
6942 { 6941 {
6943 pControlParam = pButton->uControlParam; 6942 pControlParam = pButton->msg_param;
6944 switch (pControlParam) // 6943 switch (pControlParam) //
6945 { 6944 {
6946 case 0: 6945 case 0:
6947 pTexture = pNew; 6946 pTexture = pNew;
6948 pY = 172; 6947 pY = 172;
6985 } 6984 }
6986 6985
6987 //----- (004637EB) -------------------------------------------------------- 6986 //----- (004637EB) --------------------------------------------------------
6988 int __stdcall aWinProc(HWND hWnd, UINT Msg, WPARAM wParam, unsigned int lParam) 6987 int __stdcall aWinProc(HWND hWnd, UINT Msg, WPARAM wParam, unsigned int lParam)
6989 { 6988 {
6990 unsigned int v4; // esi@1 6989 //unsigned int v4; // esi@1
6991 Render *v5; // ecx@14 6990 Render *v5; // ecx@14
6992 HANDLE v6; // eax@32 6991 HANDLE v6; // eax@32
6993 Keyboard *v7; // eax@33 6992 Keyboard *v7; // eax@33
6994 //HDC v9; // edi@41 6993 //HDC v9; // edi@41
6995 HDC v10; // edi@50 6994 HDC v10; // edi@50
7026 int a2; // [sp+7Ch] [bp+10h]@50 7025 int a2; // [sp+7Ch] [bp+10h]@50
7027 7026
7028 switch (Msg) 7027 switch (Msg)
7029 { 7028 {
7030 case WM_SETTEXT: return DefWindowProcW(hWnd, Msg, wParam, lParam); 7029 case WM_SETTEXT: return DefWindowProcW(hWnd, Msg, wParam, lParam);
7030 case WM_CHAR:
7031 {
7032 if (!pKeyActionMap->_459F10(wParam) && !viewparams->field_4C)
7033 GUI_HandleHotkey(wParam);
7034 }
7035 return DefWindowProcA(hWnd, Msg, wParam, lParam);
7031 }; 7036 };
7032 7037
7033 7038
7034 v4 = lParam;
7035 if ( Msg > WM_SYSCOMMAND ) 7039 if ( Msg > WM_SYSCOMMAND )
7036 { 7040 {
7037 switch ( Msg ) 7041 switch ( Msg )
7038 { 7042 {
7039 default: 7043 default:
7087 { 7091 {
7088 LABEL_218: 7092 LABEL_218:
7089 if ( pAsyncMouse != v32 ) 7093 if ( pAsyncMouse != v32 )
7090 goto _def_wnd_proc; 7094 goto _def_wnd_proc;
7091 back_to_game(); 7095 back_to_game();
7092 return DefWindowProcA(hWnd, Msg, wParam, v4); 7096 return DefWindowProcA(hWnd, Msg, wParam, lParam);
7093 } 7097 }
7094 if (pAsyncMouse) 7098 if (pAsyncMouse)
7095 goto _def_wnd_proc; 7099 goto _def_wnd_proc;
7096 pArcomageGame->stru1.field_0 = 4; 7100 pArcomageGame->stru1.field_0 = 4;
7097 v29 = 0; 7101 v29 = 0;
7101 if ( pArcomageGame->bGameInProgress ) 7105 if ( pArcomageGame->bGameInProgress )
7102 { 7106 {
7103 if (pAsyncMouse) 7107 if (pAsyncMouse)
7104 goto _def_wnd_proc; 7108 goto _def_wnd_proc;
7105 pArcomageGame->stru1.field_0 = 7; 7109 pArcomageGame->stru1.field_0 = 7;
7106 return DefWindowProcA(hWnd, Msg, wParam, v4); 7110 return DefWindowProcA(hWnd, Msg, wParam, lParam);
7107 } 7111 }
7108 if ( pVideoPlayer->pVideoFrame.pPixels ) 7112 if ( pVideoPlayer->pVideoFrame.pPixels )
7109 pVideoPlayer->bStopBeforeSchedule = 1; 7113 pVideoPlayer->bStopBeforeSchedule = 1;
7110 if ( !pAsyncMouse ) 7114 if ( !pAsyncMouse )
7111 pMouse->SetMouseClick((unsigned __int16)lParam, lParam >> 16); 7115 pMouse->SetMouseClick((unsigned __int16)lParam, lParam >> 16);
7126 pGame->PickMouse(512.0, (unsigned __int16)lParam, lParam >> 16, v28, &vis_sprite_filter_3, &vis_door_filter); 7130 pGame->PickMouse(512.0, (unsigned __int16)lParam, lParam >> 16, v28, &vis_sprite_filter_3, &vis_door_filter);
7127 } 7131 }
7128 if ( pAsyncMouse == (void *)v28 ) 7132 if ( pAsyncMouse == (void *)v28 )
7129 { 7133 {
7130 UI_OnMouseLeftClick(0); 7134 UI_OnMouseLeftClick(0);
7131 return DefWindowProcA(hWnd, Msg, wParam, v4); 7135 return DefWindowProcA(hWnd, Msg, wParam, lParam);
7132 } 7136 }
7133 goto _def_wnd_proc; 7137 goto _def_wnd_proc;
7134 case WM_RBUTTONDBLCLK: 7138 case WM_RBUTTONDBLCLK:
7135 v31 = 0; 7139 v31 = 0;
7136 if ( !pArcomageGame->bGameInProgress ) 7140 if ( !pArcomageGame->bGameInProgress )
7148 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);
7149 } 7153 }
7150 if (!pAsyncMouse) 7154 if (!pAsyncMouse)
7151 { 7155 {
7152 sub_416D62_ShowPopupWindow_MonsterRecord_ItemInfo_etcsub_416D62(0); 7156 sub_416D62_ShowPopupWindow_MonsterRecord_ItemInfo_etcsub_416D62(0);
7153 return DefWindowProcA(hWnd, Msg, wParam, v4); 7157 return DefWindowProcA(hWnd, Msg, wParam, lParam);
7154 } 7158 }
7155 goto _def_wnd_proc; 7159 goto _def_wnd_proc;
7156 } 7160 }
7157 if (pAsyncMouse) 7161 if (pAsyncMouse)
7158 goto _def_wnd_proc; 7162 goto _def_wnd_proc;
7159 pArcomageGame->stru1.field_0 = 8; 7163 pArcomageGame->stru1.field_0 = 8;
7160 return DefWindowProcA(hWnd, Msg, wParam, v4); 7164 return DefWindowProcA(hWnd, Msg, wParam, lParam);
7161 case WM_MBUTTONDOWN: 7165 case WM_MBUTTONDOWN:
7162 if ( pRenderer->pRenderD3D ) 7166 if ( pRenderer->pRenderD3D )
7163 { 7167 {
7164 if ( pGame && !pAsyncMouse ) 7168 if ( pGame && !pAsyncMouse )
7165 { 7169 {
7166 v34 = GetPickDepth(); 7170 v34 = GetPickDepth();
7167 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);
7168 return DefWindowProcA(hWnd, Msg, wParam, v4); 7172 return DefWindowProcA(hWnd, Msg, wParam, lParam);
7169 } 7173 }
7170 goto _def_wnd_proc; 7174 goto _def_wnd_proc;
7171 } 7175 }
7172 if ( !pGame ) 7176 if ( !pGame )
7173 goto _def_wnd_proc; 7177 goto _def_wnd_proc;
7174 sub_417871(0); 7178 sub_417871(0);
7175 return DefWindowProcA(hWnd, Msg, wParam, v4); 7179 return DefWindowProcA(hWnd, Msg, wParam, lParam);
7176 case WM_MOUSEMOVE: 7180 case WM_MOUSEMOVE:
7177 if ( pArcomageGame->bGameInProgress ) 7181 if ( pArcomageGame->bGameInProgress )
7178 { 7182 {
7179 if (pAsyncMouse) 7183 if (pAsyncMouse)
7180 goto _def_wnd_proc; 7184 goto _def_wnd_proc;
7192 { 7196 {
7193 if (pAsyncMouse) 7197 if (pAsyncMouse)
7194 goto _def_wnd_proc; 7198 goto _def_wnd_proc;
7195 pMouse->SetMouseClick((unsigned __int16)lParam, lParam >> 16); 7199 pMouse->SetMouseClick((unsigned __int16)lParam, lParam >> 16);
7196 } 7200 }
7197 return DefWindowProcA(hWnd, Msg, wParam, v4); 7201 return DefWindowProcA(hWnd, Msg, wParam, lParam);
7198 } 7202 }
7199 } 7203 }
7200 if ( Msg == WM_SYSCOMMAND ) 7204 if ( Msg == WM_SYSCOMMAND )
7201 { 7205 {
7202 if ( wParam == SC_SCREENSAVE || wParam == SC_MONITORPOWER ) 7206 if ( wParam == SC_SCREENSAVE || wParam == SC_MONITORPOWER )
7210 if (pVideoPlayer) 7214 if (pVideoPlayer)
7211 { 7215 {
7212 if (pVideoPlayer->AnyMovieLoaded() && pVideoPlayer->pBinkBuffer) 7216 if (pVideoPlayer->AnyMovieLoaded() && pVideoPlayer->pBinkBuffer)
7213 { 7217 {
7214 BinkBufferSetOffset(pVideoPlayer->pBinkBuffer, 0, 0); 7218 BinkBufferSetOffset(pVideoPlayer->pBinkBuffer, 0, 0);
7215 return DefWindowProcA(hWnd, Msg, wParam, v4); 7219 return DefWindowProcA(hWnd, Msg, wParam, lParam);
7216 } 7220 }
7217 } 7221 }
7218 goto _def_wnd_proc; 7222 goto _def_wnd_proc;
7219 } 7223 }
7220 if ( Msg != WM_KEYFIRST ) 7224 if ( Msg != WM_KEYFIRST )
7222 if ( Msg == WM_KEYUP ) 7226 if ( Msg == WM_KEYUP )
7223 { 7227 {
7224 if ( wParam == VK_CONTROL ) 7228 if ( wParam == VK_CONTROL )
7225 { 7229 {
7226 dword_507B98_ctrl_pressed = 0; 7230 dword_507B98_ctrl_pressed = 0;
7227 return DefWindowProcA(hWnd, Msg, wParam, v4); 7231 return DefWindowProcA(hWnd, Msg, wParam, lParam);
7228 }
7229 goto _def_wnd_proc;
7230 }
7231 if ( Msg == WM_CHAR )
7232 {
7233 if ( !pKeyActionMap->_459F10(wParam) && !viewparams->field_4C )
7234 {
7235 GUI_HandleHotkey(wParam);
7236 return DefWindowProcA(hWnd, Msg, wParam, v4);
7237 } 7232 }
7238 goto _def_wnd_proc; 7233 goto _def_wnd_proc;
7239 } 7234 }
7240 if ( Msg != WM_COMMAND ) 7235 if ( Msg != WM_COMMAND )
7241 goto _def_wnd_proc; 7236 goto _def_wnd_proc;
7252 if ( pArcomageGame->bGameInProgress ) 7247 if ( pArcomageGame->bGameInProgress )
7253 pArcomageGame->field_F6 = 1; 7248 pArcomageGame->field_F6 = 1;
7254 return 0; 7249 return 0;
7255 } 7250 }
7256 if ( wParam != 40001 ) 7251 if ( wParam != 40001 )
7257 return DefWindowProcA(hWnd, Msg, wParam, v4); 7252 return DefWindowProcA(hWnd, Msg, wParam, lParam);
7258 } 7253 }
7259 v38 = 0; 7254 v38 = 0;
7260 v37 = 0; 7255 v37 = 0;
7261 v36 = 2; 7256 v36 = 2;
7262 v35 = ::hWnd; 7257 v35 = ::hWnd;
7265 return 0; 7260 return 0;
7266 } 7261 }
7267 if ( dword_506E68 != -1 ) 7262 if ( dword_506E68 != -1 )
7268 { 7263 {
7269 pKeyActionMap->_459F10(wParam); 7264 pKeyActionMap->_459F10(wParam);
7270 return DefWindowProcA(hWnd, Msg, wParam, v4); 7265 return DefWindowProcA(hWnd, Msg, wParam, lParam);
7271 } 7266 }
7272 if ( !pArcomageGame->bGameInProgress ) 7267 if ( !pArcomageGame->bGameInProgress )
7273 { 7268 {
7274 if ( pVideoPlayer->pVideoFrame.pPixels ) 7269 if ( pVideoPlayer->pVideoFrame.pPixels )
7275 pVideoPlayer->bStopBeforeSchedule = 1; 7270 pVideoPlayer->bStopBeforeSchedule = 1;
7595 SetWindowPos(::hWnd, (HWND)0xFFFFFFFE, 0, 0, 0, 0, 0x18u); 7590 SetWindowPos(::hWnd, (HWND)0xFFFFFFFE, 0, 0, 0, 0, 0x18u);
7596 ClipCursor(0); 7591 ClipCursor(0);
7597 if (pAsyncMouse) 7592 if (pAsyncMouse)
7598 { 7593 {
7599 pAsyncMouse->Suspend(); 7594 pAsyncMouse->Suspend();
7600 return DefWindowProcA(hWnd, Msg, wParam, v4); 7595 return DefWindowProcA(hWnd, Msg, wParam, lParam);
7601 } 7596 }
7602 } 7597 }
7603 _def_wnd_proc: 7598 _def_wnd_proc:
7604 v4 = lParam; 7599 return DefWindowProcA(hWnd, Msg, wParam, lParam);
7605 return DefWindowProcA(hWnd, Msg, wParam, v4);
7606 } 7600 }
7607 if ( Msg != WM_KILLFOCUS ) 7601 if ( Msg != WM_KILLFOCUS )
7608 { 7602 {
7609 if ( Msg == WM_PAINT ) 7603 if ( Msg == WM_PAINT )
7610 { 7604 {
7628 return 0; 7622 return 0;
7629 } 7623 }
7630 goto _def_wnd_proc; 7624 goto _def_wnd_proc;
7631 } 7625 }
7632 if ( ::hWnd != (HWND)wParam || (dword_4E98BC_bApplicationActive = 1, pRenderer->bWindowMode) || !pAsyncMouse ) 7626 if ( ::hWnd != (HWND)wParam || (dword_4E98BC_bApplicationActive = 1, pRenderer->bWindowMode) || !pAsyncMouse )
7633 return DefWindowProcA(hWnd, Msg, wParam, v4); 7627 return DefWindowProcA(hWnd, Msg, wParam, lParam);
7634 pAsyncMouse->Resume(); 7628 pAsyncMouse->Resume();
7635 if ( !pAsyncMouse ) 7629 if ( !pAsyncMouse )
7636 goto _def_wnd_proc; 7630 goto _def_wnd_proc;
7637 pAsyncMouse->Clip(); 7631 pAsyncMouse->Clip();
7638 return DefWindowProcA(hWnd, Msg, wParam, v4); 7632 return DefWindowProcA(hWnd, Msg, wParam, lParam);
7639 } 7633 }
7640 7634
7641 //----- (00464479) -------------------------------------------------------- 7635 //----- (00464479) --------------------------------------------------------
7642 void __cdecl ResetCursor_Palettes_LODs_Level_Audio_SFT_Windows() 7636 void __cdecl ResetCursor_Palettes_LODs_Level_Audio_SFT_Windows()
7643 { 7637 {