git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@102 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2006-01-08 13:38:30 +00:00
parent 679ba2ef64
commit a2346e9584
19 changed files with 1975 additions and 1917 deletions
+6 -6
View File
@@ -70,8 +70,8 @@ void screenshot()
COMMAND(screenshot, ARG_NONE);
COMMAND(quit, ARG_NONE);
int minfps, maxfps;
int minfps, maxfps;
void fpsrange(int low, int high)
{
@@ -180,9 +180,9 @@ int main(int argc, char **argv)
exec("config/sounds.cfg");
exec("config/servers.cfg");
exec("config/autoexec.cfg");
//exec("config/default_map_settings.cfg");
log("base models");
//exec("config/default_map_settings.cfg");
log("base models");
loadweapons();
log("localconnect");
@@ -203,7 +203,7 @@ 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.
{