*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@49 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2005-10-20 19:10:45 +00:00
parent 13d257dd47
commit 340975c9f5
3 changed files with 4 additions and 5 deletions
+1 -3
View File
@@ -35,9 +35,7 @@ void renderclient(dynent *d, bool team, char *mdlname, bool hellpig, float scale
else if((!d->move && !d->strafe) || !d->moving) { n = 12; }
else if(!d->onfloor && d->timeinair>100) { n = 18; }
else { n = 14; speed = 1200/d->maxspeed*scale; if(hellpig) speed = 300/d->maxspeed; };
if(hellpig) { n++; scale *= 32; mz -= 1.9f; };
n = 14; //fixme
basetime = -((int)d&0xFFF);
if(hellpig) { n++; scale *= 32; mz -= 1.9f; };
rendermodel(mdlname, frame[n], range[n], 0, 1.5f, d->o.x, mz, d->o.y, d->yaw+90, d->pitch/2, team, scale, speed, 0, basetime);
};
+2 -1
View File
@@ -200,7 +200,8 @@ int main(int argc, char **argv)
fps = (1000.0f/curtime+fps*50)/51;
computeraytable(player1->o.x, player1->o.y);
readdepth(scr_w, scr_h);
SDL_GL_SwapBuffers();
SDL_GL_SwapBuffers();
extern void updatevol(); updatevol();
if(framesinmap++<5) // cheap hack to get rid of initial sparklies, even when triple buffering etc.
{
player1->yaw += 5;
+1 -1
View File
@@ -330,7 +330,7 @@ void moveprojectiles(float time)
void shootv(int gun, vec &from, vec &to, dynent *d, bool local) // create visual effect from a shot
{
playsound(guns[gun].sound, &d->o);
playsound(guns[gun].sound, d==player1 ? NULL : &d->o);
int pspeed = 25;
switch(gun)
{