228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
|
if (!demoplayback)
serverslice((int)time(NULL), 0);
static float fps = 30.0f;
fps = (1000.0f / curtime + fps * 50) / 51;
computeraytable(player1.o.x, player1.o.y);
readdepth(_width, _height);
SDL_GL_SwapWindow(_window);
extern void updatevol();
updatevol();
// cheap hack to get rid of initial sparklies, even when
// triple buffering etc.
|
|
|
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
|
if (!demoplayback)
serverslice((int)time(NULL), 0);
static float fps = 30.0f;
fps = (1000.0f / curtime + fps * 50) / 51;
computeraytable(player1.origin.x, player1.origin.y);
readdepth(_width, _height);
SDL_GL_SwapWindow(_window);
extern void updatevol();
updatevol();
// cheap hack to get rid of initial sparklies, even when
// triple buffering etc.
|