Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 10460 | Rev 10463 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 10460 Rev 10461
Línea 1599... Línea 1599...
1599
						
1599
						
1600
			 		}else{
1600
			 		}else{
1601
			 			if(mouse.y>=(alto-10)){
1601
			 			if(mouse.y>=(alto-10)){
1602
			 				yf=alto-y;
1602
			 				yf=alto-y;
1603
				 			xf=(yf/recorte);
1603
				 			xf=(yf/recorte);
1604
				 			t4=false;	
1604
				 			//t4=false;	
1605
			 			}
1605
			 			}
1606
			 			if(x+xf>(ancho)){
1606
			 			if(x+xf>(ancho)){
1607
			 				xf=(ancho)-x;
1607
			 				xf=(ancho)-x;
1608
				 			yf=(xf*recorte);
1608
				 			yf=(xf*recorte);
1609
				 			t4=false;	
1609
				 			//t4=false;	
1610
			 			}
1610
			 			}
1611
			 		}
1611
			 		}
1612
			 	}
1612
			 	}
1613
			 	if(t3){
1613
			 	if(t3){
Línea 1623... Línea 1623...
1623
			 		}else{
1623
			 		}else{
1624
			 			if(mouse.y<=0) {
1624
			 			if(mouse.y<=0) {
1625
			 				yf=yf+(y-mouse.y);
1625
			 				yf=yf+(y-mouse.y);
1626
				 			xf=(yf/recorte);
1626
				 			xf=(yf/recorte);
1627
			 				y=0;
1627
			 				y=0;
1628
			 				t3=false;	
1628
			 				//t3=false;	
1629
			 			}
1629
			 			}
1630
			 			if(x+xf>(ancho)){
1630
			 			if(x+xf>(ancho)){
1631
			 				xf=(ancho)-x;
1631
			 				xf=(ancho)-x;
1632
				 			yf=xf*recorte;
1632
				 			yf=xf*recorte;
1633
				 			t3=false;	
1633
				 			//t3=false;	
1634
			 			}
1634
			 			}
1635
			 		}
1635
			 		}
1636
			 	}
1636
			 	}
1637
			 	if(t2){
1637
			 	if(t2){
1638
			 		if(mouse.y<(alto)&&x>=0){
1638
			 		if(mouse.y<(alto)&&x>=0){
Línea 1646... Línea 1646...
1646
				 		
1646
				 		
1647
			 		}else{
1647
			 		}else{
1648
			 			if(mouse.y>=(alto-10)) {
1648
			 			if(mouse.y>=(alto-10)) {
1649
			 				yf=alto-y;
1649
			 				yf=alto-y;
1650
				 			xf=(yf/recorte);
1650
				 			xf=(yf/recorte);
1651
				 			t2=false;
1651
				 			//t2=false;
1652
			 			}
1652
			 			}
1653
			 			if(0>x){
1653
			 			if(0>x){
1654
			 				x=0;
1654
			 				x=0;
1655
			 				xf=mouse.y-y;
1655
			 				xf=mouse.y-y;
1656
				 			yf=(xf*recorte);
1656
				 			yf=(xf*recorte);
1657
				 			t2=false;
1657
				 			//t2=false;
1658
			 			}
1658
			 			}
1659
			 		}
1659
			 		}
1660
			 	}
1660
			 	}
1661
			 	if(t1){
1661
			 	if(t1){
Línea 1671... Línea 1671...
1671
			 		}else{
1671
			 		}else{
1672
			 			if(mouse.y<=0) {
1672
			 			if(mouse.y<=0) {
1673
			 				yf=yf+(y-mouse.y);
1673
			 				yf=yf+(y-mouse.y);
1674
				 			xf=(yf/recorte);
1674
				 			xf=(yf/recorte);
1675
			 				y=0;
1675
			 				y=0;
1676
			 				t1=false;	
1676
			 				//t1=false;	
1677
			 			}
1677
			 			}
1678
			 			if(0>x){
1678
			 			if(0>x){
1679
			 				x=0;
1679
			 				x=0;
1680
			 				xf=yf+(y-mouse.y);
1680
			 				xf=yf+(y-mouse.y);
1681
				 			yf=(xf*recorte);
1681
				 			yf=(xf*recorte);
1682
				 			t1=false;	
1682
				 			//t1=false;	
1683
			 			}
1683
			 			}
1684
			 		}
1684
			 		}
1685
			 	}
1685
			 	}
1686
				}else{
1686
				}else{
1687
				 if(t4){
1687
				 if(t4){