git-svn-id: https://svn.eduke32.com/eduke32@517 1a8010ca-5511-0410-912e-c29ae57300e0

This commit is contained in:
terminx 2007-03-08 00:30:48 +00:00
parent 9c819e7042
commit 69d0e38805
2 changed files with 7 additions and 5 deletions

View file

@ -3256,7 +3256,8 @@ static void move(void)
goalang = getangle(ps[g_p].oposx-g_sp->x,ps[g_p].oposy-g_sp->y);
else goalang = getangle(ps[g_p].posx-g_sp->x,ps[g_p].posy-g_sp->y);
angdif = getincangle(g_sp->ang,goalang)>>2;
if ((angdif > -8 && angdif < 0) || (angdif > 0 && angdif < 8)) angdif = 0;
if ((angdif > -8 && angdif < 0) || (angdif > 0 && angdif < 8))
angdif = 0;
g_sp->ang += angdif;
}
@ -3268,8 +3269,8 @@ static void move(void)
if (ps[g_p].newowner >= 0)
goalang = getangle(ps[g_p].oposx-g_sp->x,ps[g_p].oposy-g_sp->y);
else goalang = getangle(ps[g_p].posx-g_sp->x,ps[g_p].posy-g_sp->y);
angdif = ksgn(getincangle(g_sp->ang,goalang))<<5;
if ((angdif > -32 && angdif < 0) || (angdif > 0 && angdif < 32))
angdif = getincangle(g_sp->ang,goalang)>>3;
if ((angdif > -8 && angdif < 0) || (angdif > 0 && angdif < 8))
{
angdif = 0;
g_sp->ang = goalang;
@ -3290,7 +3291,8 @@ static void move(void)
goalang = getangle(newx-g_sp->x,newy-g_sp->y);
angdif = getincangle(g_sp->ang,goalang)>>2;
if ((angdif > -8 && angdif < 0) || (angdif > 0 && angdif < 8)) angdif = 0;
if ((angdif > -8 && angdif < 0) || (angdif > 0 && angdif < 8))
angdif = 0;
g_sp->ang += angdif;
}

View file

@ -474,7 +474,7 @@ void cacheit(void)
}
if (totalclock - tc > TICRATE/4)
{
sprintf(tempbuf,"Loading textures ... %ld%%\n",min(100,100*pc/precachecount));
sprintf(tempbuf,"Loading resources... %ld%%\n",min(100,100*pc/precachecount));
dofrontscreens(tempbuf);
tc = totalclock;
}