sway
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@102 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
+6
-6
@@ -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.
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user