*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1300 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2007-09-07 00:04:28 +00:00
parent d3390cbe25
commit e90c82eac2
+5 -2
View File
@@ -452,12 +452,15 @@ int main(int argc, char **argv)
serverslice(0);
frames++;
fps = (1000.0f/elapsed+fps*10)/11;
computeraytable(camera1->o.x, camera1->o.y);
if(frames>4) SDL_GL_SwapBuffers();
extern void updatevol(); updatevol();
if(frames>3) gl_drawframe(screen->w, screen->h, fps<lowfps ? fps/lowfps : (fps>highfps ? fps/highfps : 1.0f), fps);
if(frames>3)
{
fps = (1000.0f/elapsed+fps*10)/11;
gl_drawframe(screen->w, screen->h, fps<lowfps ? fps/lowfps : (fps>highfps ? fps/highfps : 1.0f), fps);
}
//SDL_Delay(100);
SDL_Event event;
int lasttype = 0, lastbut = 0;