*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@908 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2007-04-03 20:17:45 +00:00
parent 979bad576e
commit 5ad9d2a9ec
5 changed files with 47 additions and 43 deletions
-33
View File
@@ -245,36 +245,3 @@ void renderclients()
if(player1->state==CS_DEAD) renderplayer(player1);
}
void renderbounceents()
{
loopv(bounceents)
{
bounceent *p = bounceents[i];
if(!p) continue;
string model;
float z = p->o.z;
switch(p->bouncestate)
{
case NADE_THROWED:
s_strcpy(model, "weapons/grenade/static");
break;
case GIB:
default:
{
uint n = (((4*(uint)(size_t)p)+(uint)p->timetolife)%3)+1;
s_sprintf(model)("misc/gib0%u", n);
int t = lastmillis-p->millis;
if(t>p->timetolife-2000)
{
t -= p->timetolife-2000;
z -= t*t/4000000000.0f*t;
}
break;
}
}
path(model);
rendermodel(model, ANIM_MAPMODEL|ANIM_LOOP, 0, 1.1f, p->o.x, z, p->o.y, p->yaw, p->pitch, 10.0f);
}
}