comparison Mouse.cpp @ 1458:934074e7fcc1

ModalWindow __thiscall and __cdecl removed Some random renames & refactors
author Nomad
date Wed, 21 Aug 2013 14:26:36 +0200
parents c7489dd19f88
children 9f8b3e904e14
comparison
equal deleted inserted replaced
1457:9dc33590f93e 1458:934074e7fcc1
612 } 612 }
613 } 613 }
614 } 614 }
615 615
616 616
617
618 //----- (00417871) --------------------------------------------------------
619 void __thiscall sub_417871(int *pXY)
620 {
621 POINT v1; // [sp+0h] [bp-18h]@5
622 POINT a2; // [sp+8h] [bp-10h]@5
623 unsigned int pY; // [sp+10h] [bp-8h]@3
624 unsigned int pX; // [sp+14h] [bp-4h]@3
625
626 if ( !pRenderer->pRenderD3D )
627 {
628 if ( pXY )
629 {
630 pX = *pXY;
631 pY = pXY[1];
632 }
633 else
634 {
635 pMouse->GetClickPos(&pX, &pY);
636 }
637 pMouse->GetCursorPos(&a2);
638 pMouse->GetCursorPos(&v1);
639 }
640 }
641 //----- (0041CD4F) -------------------------------------------------------- 617 //----- (0041CD4F) --------------------------------------------------------
642 bool UI_OnKeyDown(unsigned int vkKey) 618 bool UI_OnKeyDown(unsigned int vkKey)
643 { 619 {
644 //unsigned int v1; // edi@1 620 //unsigned int v1; // edi@1
645 //unsigned int v2; // eax@2 621 //unsigned int v2; // eax@2