Subversion Repositories eduke32

Compare Revisions

Ignore whitespace Rev 8519 → Rev 8576

/source/kenbuild/src/game.cpp
3707,6 → 3707,8
char ch, *ptr, *ptr2, *ptr3, *ptr4;
tspriteptr_t tspr;
 
int32_t const viewingRange = viewingrange;
 
smoothratio = max(min(dasmoothratio,65536),0);
 
dointerpolations();
3803,6 → 3805,12
 
if (dimensionmode[snum] != 2)
{
if (r_usenewaspect)
{
newaspect_enable = 1;
videoSetCorrectedAspect();
}
 
if ((numplayers > 1) && (option[4] == 0))
{
//Do not draw other views constantly if they're staying still
4116,6 → 4124,12
if (health[screenpeek] <= 0)
rotatesprite(320<<15,200<<15,(-health[screenpeek])<<11,(-health[screenpeek])<<5,NO,0,0,2,windowxy1.x,windowxy1.y,windowxy2.x,windowxy2.y);
}
 
if (r_usenewaspect)
{
newaspect_enable = 0;
renderSetAspect(viewingRange, tabledivide32_noinline(65536 * ydim * 8, xdim * 5));
}
}
 
//Only animate lava if its picnum is on screen
5930,6 → 5944,10
walltype *wal, *wal2;
spritetype *spr;
 
int32_t tmpydim = (xdim*5)/8;
 
renderSetAspect(65536, divscale16(tmpydim*320, xdim*200));
 
xvect = sintable[(-cang)&2047] * czoom;
yvect = sintable[(1536-cang)&2047] * czoom;
xvect2 = mulscale16(xvect,yxaspect);
6161,6 → 6179,8
renderDrawLine(x1,y1,x2,y2,24);
}
}
 
videoSetCorrectedAspect();
}
 
//New movesprite using getzrange. Note that I made the getzrange