comparison mm7_1.cpp @ 692:066e2b29b30f

viewport.cpp added
author Gloval
date Sat, 16 Mar 2013 21:57:32 +0400
parents 26dfde53decd
children e0a1fccc89b1
comparison
equal deleted inserted replaced
691:c93f29773f84 692:066e2b29b30f
4061 if ( (signed int)pX > 467 || (signed int)pY > 351 ) 4061 if ( (signed int)pX > 467 || (signed int)pY > 351 )
4062 goto _click_on_game_ui; 4062 goto _click_on_game_ui;
4063 if ( pRenderer->pRenderD3D ) 4063 if ( pRenderer->pRenderD3D )
4064 { 4064 {
4065 v18 = pGame->pVisInstance->get_picked_object_zbuf_val(); 4065 v18 = pGame->pVisInstance->get_picked_object_zbuf_val();
4066 if ( (signed int)pX < (signed int)pViewport->uScreenX 4066 if ( (signed int)pX < (signed int)pViewport->uScreen_TL_X
4067 || (signed int)pX > (signed int)pViewport->uScreenZ 4067 || (signed int)pX > (signed int)pViewport->uScreen_BR_X
4068 || (signed int)pY < (signed int)pViewport->uScreenY 4068 || (signed int)pY < (signed int)pViewport->uScreen_TL_Y
4069 || (signed int)pY > (signed int)pViewport->uScreenW ) 4069 || (signed int)pY > (signed int)pViewport->uScreen_BR_Y )
4070 v18 = -1; 4070 v18 = -1;
4071 if ( v18 == -1 ) 4071 if ( v18 == -1 )
4072 //goto LABEL_61; 4072 //goto LABEL_61;
4073 { 4073 {
4074 pMouse->uPointingObjectID = 0; 4074 pMouse->uPointingObjectID = 0;