- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
Vect2i nogi2head(int nX ,int nY,CSprite *sp,int Dest)
{
Vect2i tmp;
/*Dest=0;
switch (Dest)
{
case -1:
tmp.x=nX-sp->x;
break;
case 0:*/
tmp.x=nX-(sp->x)/2;
/*break;
case 1:
tmp.x=nX;
break;
}*/
tmp.y=nY-sp->y;
return tmp;
}